Skip to content

Commit

Permalink
fix(AutoTrader): add initial check fro active bots directory before e…
Browse files Browse the repository at this point in the history
…ntering trade loop
  • Loading branch information
kieran-mackle committed Mar 23, 2024
1 parent c42635a commit 2eab028
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autotrader/autotrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,9 @@ def run(self) -> Union[None, Broker, VirtualBroker, CCXTBroker]:
)
sys.exit()

# Check bots directory exists
self._get_instance_id()

# Preliminary checks complete, continue initialisation
if self._optimise_mode:
# Run optimisation
Expand Down

0 comments on commit 2eab028

Please sign in to comment.