Skip to content

Commit

Permalink
fix(utilities.py): ccxt global config indexing case
Browse files Browse the repository at this point in the history
  • Loading branch information
kieran-mackle committed Mar 10, 2024
1 parent a430f34 commit c86e2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autotrader/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def get_broker_config(
}

elif broker.lower() == "ccxt":
if global_config is not None and broker_key in global_config:
if global_config is not None and broker_key.upper() in global_config:
# Use configuration provided in config
config_data = global_config[broker_key.upper()]

Expand Down

0 comments on commit c86e2d3

Please sign in to comment.