Hello everyone.
I placed a buy order at market price and subsequently placed an OCO order to limit profit and loss.
The problem I encounter is that the stop loss order has been executed before reaching the stopLimitPrice.
I need your help to know if I am doing something wrong or if there is a reason why this is happening.
I attach the information of the respective orders and an image to exemplify the behavior, thank you very much.
Buy Order:
{
“symbol”: “BNBUSDT”,
“orderId”: 1596668,
“orderListId”: -1,
“clientOrderId”: “4HRuc7G8sy4y0LBZi0Il5L”,
“price”: “297.30000000”,
“origQty”: “0.29000000”,
“executedQty”: “0.29000000”,
“cummulativeQuoteQty”: “86.15900000”,
“status”: “FILLED”,
“timeInForce”: “IOC”,
“type”: “LIMIT”,
“side”: “BUY”,
“stopPrice”: “0.00000000”,
“icebergQty”: “0.00000000”,
“time”: 1668146408958,
“updateTime”: 1668146408958,
“isWorking”: true,
“origQuoteOrderQty”: “0.00000000”
},
Both orders from OCO:
{
“symbol”: “BNBUSDT”,
“orderId”: 1596724,
“orderListId”: 4572,
“clientOrderId”: “1FHWGqDa7HLIahCNxopoYB”,
“price”: “289.95000000”,
“origQty”: “0.28000000”,
“executedQty”: “0.28000000”,
“cummulativeQuoteQty”: “81.18600000”,
“status”: “FILLED”,
“timeInForce”: “GTC”,
“type”: “STOP_LOSS_LIMIT”,
“side”: “SELL”,
“stopPrice”: “289.90000000”,
“icebergQty”: “0.00000000”,
“time”: 1668146431330,
“updateTime”: 1668167212069,
“isWorking”: true,
“origQuoteOrderQty”: “0.00000000”
},
{
"symbol": "BNBUSDT",
"orderId": 1596725,
"orderListId": 4572,
"clientOrderId": "m3HF7CBW4Z0kon1hcqcOOk",
"price": "312.10000000",
"origQty": "0.28000000",
"executedQty": "0.00000000",
"cummulativeQuoteQty": "0.00000000",
"status": "EXPIRED",
"timeInForce": "GTC",
"type": "LIMIT_MAKER",
"side": "SELL",
"stopPrice": "0.00000000",
"icebergQty": "0.00000000",
"time": 1668146431330,
"updateTime": 1668167211105,
"isWorking": true,
"origQuoteOrderQty": "0.00000000"
}