Skip to content

Commit

Permalink
[IndexTrading] fix config edit when using other trading modes
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Apr 17, 2024
1 parent 99f57ad commit 6e9ce36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Trading/Mode/index_trading_mode/index_trading.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def _update_coins_distribution(self):
distribution = index_distribution.get_uniform_distribution([
symbol.base
for symbol in self.exchange_manager.exchange_config.traded_symbols
])
]) if self.exchange_manager else []
self.ratio_per_asset = {
asset[index_distribution.DISTRIBUTION_NAME]: asset
for asset in distribution
Expand Down

0 comments on commit 6e9ce36

Please sign in to comment.