Login Page - Create Account

Support Board


Date/Time: Sat, 15 Mar 2025 07:35:12 +0000



Post From: s_SCPositionData Variable .OpenProfitLoss Does Not Return Correct Value On Sim Mode

[2022-07-12 19:55:56]
Sierra_Chart Engineering - Posts: 18789
For what symbol does this occur with and is this with simulated or live trading?

We cannot reproduce the issue. We get a currency value for the Open Profit/Loss. We are using the trading evaluator service and using this test code:

  s_SCPositionData PositionData;

  sc.GetTradePositionForSymbolAndAccount
    ( PositionData
    , "NQU22"
    , sc.SelectedTradeAccount
    );

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2022-07-12 19:56:21