fix: use "toint" for show-trades
This commit is contained in:
@@ -393,7 +393,7 @@ def start_show_trades(args: dict[str, Any]) -> None:
|
|||||||
tfilter = []
|
tfilter = []
|
||||||
|
|
||||||
if config.get("trade_ids"):
|
if config.get("trade_ids"):
|
||||||
tfilter.append(Trade.id.in_(config["trade_ids"]))
|
tfilter.append(Trade.id.in_(int(tid) for tid in config["trade_ids"]))
|
||||||
|
|
||||||
trades = Trade.get_trades(tfilter).all()
|
trades = Trade.get_trades(tfilter).all()
|
||||||
logger.info(f"Printing {len(trades)} Trades: ")
|
logger.info(f"Printing {len(trades)} Trades: ")
|
||||||
|
|||||||
Reference in New Issue
Block a user