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:
Return type:

List[str]