format_position# API documentation for tradeexecutor.strategy.output.format_position Python function. format_position(position, total_equity, up_symbol='🌲', down_symbol='🔻')[source]# Write a position status line to logs. Position can be open/closed. Returns: List of log lines Parameters: position (TradingPosition) – total_equity (float) – Return type: List[str]