Login Page - Create Account

Support Board


Date/Time: Sun, 25 May 2025 22:37:19 +0000



[User Discussion] - sc.GetSymbolDataValue() incorrect Decimal Point when connected to Teton

View Count: 329

[2023-05-21 05:20:23]
ramonniedi90 - Posts: 2
Dear Sierrachart Engineers

My code to get the Settlement Price is as follow

float SettlementPrice = static_cast<float>(sc.GetSymbolDataValue(SYMBOL_DATA_SETTLEMENT_PRICE, 0, 0, 0));

It works perfectly when i am connected to the Evaluator Trading Account which i use for Forward Testing, but when i am connected to Teton the Decimal Point seems to be incorrect, i use the latest release of sierrachart

I have attached 2 Screenshots where you hopefully can see my Problem, had to Upload it via Add/Edit Attached Files because my Systems running on an External Server.
imageScreenshot (37).png / V - Attached On 2023-05-21 05:13:44 UTC - Size: 95.42 KB - 102 views
imageScreenshot (38).png / V - Attached On 2023-05-21 05:13:48 UTC - Size: 95.49 KB - 100 views
[2023-05-21 09:47:59]
User431178 - Posts: 687
The trading services have different real time price multipliers - Chart Settings: Real-Time Price Multiplier (Chart >> Chart Settings >> Symbol >> Symbol Settings menu)

Apply the multiplier to the result of sc.GetSymbolDataValue

ACSIL Interface Members - Variables and Arrays: sc.RealTimePriceMultiplier

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account