Issues with placing BO orders

sauravkedia
I tried placing bo order using following command:

order_place("NFO", "NIFTY17MAYFUT", "BUY",
75, 9485, "MIS", "LIMIT", "DAY",
None, None,9520,9480,None, 'bo',"AA")

The order was rejected with message:

RMS:Margin Exceeds,Required:853200.00,


What I am doing wrong? seems it is picking 75 lots and not 1 lot.
  • sauravkedia
    Please ingore this, realized that I had to pass the points difference in trail and porfit target parameters
  • sujith
    Hi @skk,
    Quantity is not the number of lots. It is the number of units.

    You need to specify stop-loss and square off in points, not price. In above scenario, stop-loss should be sent as 5. Target should be 35.

    If you send price as value for stop-loss and square off then the system will change stop-loss to lower execution range value. It is same for square off value also. Target will be set to upper execution range value.

    Typically execution range for futures is 5%. In bracket order as stop-loss increases margin required also increases.
Sign In or Register to comment.