Assume the price of LTC/USDT is currently 265. Using the Binance.us web platform,
I can successfully place a Stop-Limit BUY order for LTCUSDT with the following parameters:
stop: 250
limit: 250
amount: 0.04
(total: 10 USDT)
Upon placing it, the order displays correctly in Open Orders as Type “Stop-Limit” with the correct price and trigger conditions. So I can confirm this works as expected.
However, when I attempt to place the same order (using the same parameters) via the API, it returns error code -2010: “Order would trigger immediately.”
Params:
symbol: LTCUSDT
side: BUY
type: STOP_LOSS_LIMIT
quantity: 0.04
price: 250
stopPrice: 250
What is the discrepancy here?