Skip to content

Commit

Permalink
Fix old enum value
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Aug 23, 2022
1 parent 9deb5a8 commit fd20095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tradeexecutor/cli/loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def run(self) -> dict:
self.init_execution_model()

live_trading = self.backtest_start is None
mode = ExecutionMode.live_trading if live_trading else ExecutionMode.backtesting
mode = ExecutionMode.real_trading if live_trading else ExecutionMode.backtesting

execution_context = ExecutionContext(
mode=mode,
Expand Down

0 comments on commit fd20095

Please sign in to comment.