required margin calculations
-
i am not able to get the required margin for limit order, In the nodejs library for marginapi price key is present but i am not able to figure out how exactly it is working .
[
{
exchange: 'NFO',
productType: 'CARRYFORWARD',
price: 10,
qty: 100,
token: '65474',
tradeType: 'BUY'
},
{
exchange: 'NFO',
productType: 'CARRYFORWARD',
price: 20,
qty: 100,
token: '48290',
tradeType: 'SELL'
}
] this is the reqest data but the response is not changing.