mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
chore: Be more precise with binance account limitation
This commit is contained in:
@@ -91,7 +91,10 @@ class Binance(Exchange):
|
|||||||
"\nHedge Mode is not supported by freqtrade. "
|
"\nHedge Mode is not supported by freqtrade. "
|
||||||
"Please change 'Position Mode' on your binance futures account."
|
"Please change 'Position Mode' on your binance futures account."
|
||||||
)
|
)
|
||||||
if assets_margin.get("multiAssetsMargin") is True:
|
if (
|
||||||
|
assets_margin.get("multiAssetsMargin") is True
|
||||||
|
and self.margin_mode != MarginMode.CROSS
|
||||||
|
):
|
||||||
msg += (
|
msg += (
|
||||||
"\nMulti-Asset Mode is not supported by freqtrade. "
|
"\nMulti-Asset Mode is not supported by freqtrade. "
|
||||||
"Please change 'Asset Mode' on your binance futures account."
|
"Please change 'Asset Mode' on your binance futures account."
|
||||||
|
|||||||
Reference in New Issue
Block a user