Login Page - Create Account

Support Board


Date/Time: Sun, 25 May 2025 22:57:00 +0000



Post From: sc.GetSymbolDataValue() incorrect Decimal Point when connected to Teton

[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