Login Page - Create Account

Support Board


Date/Time: Fri, 02 May 2025 13:31:10 +0000



Post From: How to log variables to the message log window?

[2025-02-18 18:09:59]
LTSys - Posts: 68
I was just handed an example of how to do it...

SCString LogMessage;

LogMessage.Format("Position: %f, AvgPrice: %f", PositionData.PositionQuantity, PositionData.AveragePrice);

sc.AddMessageToLog(LogMessage, 0);
Date Time Of Last Edit: 2025-02-18 18:10:41