Skip to content

Commit

Permalink
Print balances here
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Jan 4, 2024
1 parent 4935816 commit 70d4e17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thetagang/portfolio_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,8 @@ def make_order() -> tuple[Optional[Ticker], Optional[LimitOrder]]:
self.enqueue_order(ticker.contract, order)
else:
to_print.append(
"[green]All good, nothing to do here.",
"[green]All good, nothing to do here. "
f"cash_balance={dfmt(cash_balance)} pending_balance={dfmt(pending_balance)}"
)

except RuntimeError:
Expand Down

0 comments on commit 70d4e17

Please sign in to comment.