Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume De Saint Martin committed Mar 18, 2019
1 parent 4f6af5f commit b8b0b51
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,3 @@ config\.json
*.ods
temp_config\.json
log

config/trading_state_history\.json
1 change: 0 additions & 1 deletion config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@
CONFIG_DEFAULT_TRADING_FILE = f"{CONFIG_FOLDER}/default_trading_config.json"
DEFAULT_CONFIG_FILE = f"{CONFIG_FOLDER}/default_config.json"
LOGGING_CONFIG_FILE = f"{CONFIG_FOLDER}/logging_config.ini"
SIMULATOR_STATE_SAVE_FILE = f"{CONFIG_FOLDER}/trading_state_history.json"

# Tentacle Config
STRATEGIES_REQUIRED_TIME_FRAME = "required_time_frames"
Expand Down
3 changes: 1 addition & 2 deletions octobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ async def create_services(self):
async def create_exchange_traders(self, ignore_config=False):
self.async_loop = asyncio.get_running_loop()
available_exchanges = ccxt.exchanges
target_exchanges = self.config[CONFIG_EXCHANGES]
for exchange_class_string in target_exchanges:
for exchange_class_string in self.config[CONFIG_EXCHANGES]:
if exchange_class_string in available_exchanges:
exchange_type = getattr(ccxt, exchange_class_string)

Expand Down

0 comments on commit b8b0b51

Please sign in to comment.