Open AlexCatarino opened 2 years ago
We should add support to all types that Lean and Binance have in common.
Can I ask if there is an update on this? Agree with what Alex said in the issue description: Binance Futures API does support the following order types (see here):
LIMIT MARKET STOP STOP_MARKET TAKE_PROFIT TAKE_PROFIT_MARKET TRAILING_STOP_MARKET
I believe all of which are supported in Lean. Thanks.
Expected Behavior
Supports
StopMarketOrder
.Actual Behavior
In Lean we have the following message explaining why this implementation doesn't support
StopMarketOrder
: Despite Binance API allows you to post STOP_LOSS and TAKE_PROFIT order types, they always fail with the content{"code":-1013,"msg":"Take profit orders are not supported for this symbol."}
Potential Solution
N/A. Investigate whether this is still the case and why.
Checklist
master
branch