Fyers API bridge is not squaring off my position if SL is hit.

Fyers API bridge is not squaring off my position if SL is hit.

Fyers API bridge is not squaring off my position if SL is hit. 

I took following sample trade to check.

I placed a LE order with 0.10 SL from the Trading view extension. Api bridge executed a buy order. Immediately my 0.10 SL was hit but Fyers API bridge didnt close my buy order. It was still open.

why is this happenig ? how does API bridge check for SL and automatically closes the order ?

 

below is my log :

 

  

2021-11-03 13:12:53.2535,DEBUG,Signal Received from Trading View: ID: 15,Type: LE, Symbol: BANKBARODA,Exchange: ,InstrumentName:  ,OrderType: M,ProdType: ,Price: 100.7,Qty: 100,OptionType: ,Expiry: ,Strike: ,TrigPrice: 100.55, SquareOff: 0, TrailingTicks: 0, StopLossPrice: 0.1, STag: STG12021-11-03 13:12:53.3095,DEBUG,Order sent. Waiting for Broker response: ID: 15,Type: LE,Symbol: BANKBARODA,Exchange: NSE,InstrumentName: EQ,OrderType: 2,ProdType: INTRADAY,Price: 0,Qty: 1,OptionType: ,Expiry: ,Strike: ,TrigPrice: 0, STag: STG12021-11-03 13:12:53.6600,DEBUG,Order Placed: 1783442021-11-03 13:12:53.8583,DEBUG,Order Placed: ID: 15,Type: LE, Symbol: BANKBARODA,Exchange: NSE,InstrumentName: EQ,OrderType: 2,ProdType: INTRADAY,Price: 100.7,Qty: 1,OptionType: ,Expiry: ,Strike: ,TrigPrice: 0.0, SquareOff: 0, TrailingTicks: 0, StopLossPrice: 0.1, STag: STG12021-11-03 13:14:46.8461,DEBUG,Signal Received from Trading View: ID: 16,Type: LX, Symbol: BANKBARODA,Exchange: ,InstrumentName:  ,OrderType: M,ProdType: ,Price: 100.4,Qty: 100,OptionType: ,Expiry: ,Strike: ,TrigPrice: 0, SquareOff: 0, TrailingTicks: 0, StopLossPrice: 0, STag: STG12021-11-03 13:14:46.8947,DEBUG,Exit Qty not modified2021-11-03 13:14:46.8947,DEBUG,Order sent. Waiting for Broker response: ID: 16,Type: LX,Symbol: BANKBARODA,Exchange: NSE,InstrumentName: EQ,OrderType: 2,ProdType: INTRADAY,Price: 0,Qty: 1,OptionType: ,Expiry: ,Strike: ,TrigPrice: 0, STag: STG12021-11-03 13:14:47.1630,DEBUG,Order Placed: 1786742021-11-03 13:14:47.4089,DEBUG,Order Placed: ID: 16,Type: LX, Symbol: BANKBARODA,Exchange: NSE,InstrumentName: EQ,OrderType: 2,ProdType: INTRADAY,Price: 100.45,Qty: 1,OptionType: ,Expiry: ,Strike: ,TrigPrice: 0.0, SquareOff: 0, TrailingTicks: 0, StopLossPrice: 0, STag: STG1
1
1 reply