diff --git a/thetagang/trades.py b/thetagang/trades.py index 88fbe9574..c58433445 100644 --- a/thetagang/trades.py +++ b/thetagang/trades.py @@ -25,7 +25,7 @@ def submit_order( else: self.__add_trade(trade) except RuntimeError: - log.error(f"Failed to submit contract: {contract}, order: {order}") + log.error(f"{contract.symbol}: Failed to submit contract, order={order}") def records(self) -> List[Trade]: return self.__records