Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 16:52:25 +0000



Acsil- Difference between price format when iterating through TnS with CTS vs other feeds.

View Count: 581

[2018-05-16 19:18:45]
Zosimus - Posts: 345
When I iterate through the TimeAndSales array with Rithmic (and other feeds) TimeSales[TSIndex].Price returns price as 2721.750000 (ES example) but when I do this with CTS TimeSales[TSIndex].Price returns price as 272175.000000.
This difference messes up calculations in my studies. If this is the way it's supposed to be then I'll just create a specific rule for CTS feed.
Are there other feeds that use a different price format?
[2018-05-16 19:33:26]
Sierra Chart Engineering - Posts: 104368
When working with the time and sales data, you need to use code like this:

s_TimeAndSales TimeAndSalesRecord = TimeSales[TSIndex];
TimeAndSalesRecord *= sc.RealTimePriceMultiplier;

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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-05-16 19:34:04

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

Login

Login Page - Create Account