output_trades#
API documentation for tradeexecutor.strategy.output.output_trades Python function.
- output_trades(trades, portfolio, buf)[source]#
Write trades to the output logs.
- Parameters:
trades (List[TradeExecution]) –
portfolio (Portfolio) –
buf (StringIO) –