format_trade# API documentation for tradeexecutor.strategy.output.format_trade Python function. format_trade(portfolio, trade)[source]# Write a trade status line to logs. Returns: List of log lines Parameters: portfolio (Portfolio) – trade (TradeExecution) – Return type: List[str]