Login Page - Create Account

Support Board


Date/Time: Mon, 03 Feb 2025 15:46:02 +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.