format_trade# 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]