sell order got executed first instead of buy

shivdas_b
Yesterday i have punched two orders in finnifty as follows :
-> i am using python SDK
1. 2023-10-10 12:06:29,525 INFO -> BUY FINNIFTY23O1019900CE, NRML, MARKET, quantity=1800, price=0, trigger_price=0
2. 2023-10-10 12:06:30,634 INFO -> SELL FINNIFTY23O1019950CE, NRML, MARKET, quantity=1800, price=0, trigger_price=0

but it executed in following orders which was completely unexpected:
1. 2023-10-10 12:06:30,993 INFO -> SELL FINNIFTY23O1019950CE, NRML, MARKET, quantity=1800, price=0, trigger_price=0, iceberg_legs=None, iceberg_quantity=None , id#231010001608454
2.  2023-10-10 12:06:30,993 INFO -> BUY FINNIFTY23O1019900CE, NRML, MARKET, quantity=1800, price=0, trigger_price=0, iceberg_legs=None, iceberg_quantity=None , id#231010001608465
@sujith @rakeshr can u please help me to understand this
Tagged:
Sign In or Register to comment.