File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -199,8 +199,6 @@ def __init__(
199199 self .loop = self ._init_async_loop ()
200200 self ._config : Config = {}
201201
202- self ._config .update (config )
203-
204202 # Leverage properties
205203 self .trading_mode : TradingMode = TradingMode (
206204 config .get ("trading_mode" , self ._supported_trading_mode_margin_pairs [0 ][0 ])
@@ -213,6 +211,7 @@ def __init__(
213211 config ["trading_mode" ] = self .trading_mode
214212 config ["margin_mode" ] = self .margin_mode
215213 config ["candle_type_def" ] = CandleType .get_default (self .trading_mode )
214+ self ._config .update (config )
216215 self .liquidation_buffer = config .get ("liquidation_buffer" , 0.05 )
217216
218217 exchange_conf : ExchangeConfig = exchange_config if exchange_config else config ["exchange" ]
You can’t perform that action at this time.
0 commit comments