Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Oct 3, 2024
1 parent 940cd4a commit 970598a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tradeexecutor/strategy/pandas_trader/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ def on_clock(
parameters=self.parameters,
execution_context=self.execution_context,
)

logger.info(
"Running decide_trades(), timestamp %s, cash in hand %s",
pd_timestamp,
input.get_position_manager().get_current_cash()
)
return self.decide_trades(
input
)
Expand Down

0 comments on commit 970598a

Please sign in to comment.