Login Page - Create Account

Support Board


Date/Time: Sat, 04 Jul 2026 23:04:41 +0000



Post From: FlatToFlatClosedProfitLoss

[2019-11-14 23:23:00]
T44 - Posts: 363
If someone has time: How would I convert this to get the flat to flat P&L rather than the final contract which was closed in a multi lot position?

s_SCPositionData FillData;
RetVal = sc.GetTradePosition(FillData);
LastTradeProfitLoss = FillData.LastTradeProfitLoss;

Thanks.