Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 23:59:59 +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