Support Board
Date/Time: Sun, 24 Nov 2024 21:28:34 +0000
[User Discussion] - Idea for Pseudo Millisecond support
View Count: 1484
[2013-11-30 17:44:46] |
Hendrixon - Posts: 130 |
1. New ACSIL SCDateTime member that will store the latest trade's data feed time stamp down to the millisecond. With this single bit of info, any programmer can store an array in their code (for example for any new bar open or the latest 10 trades) for the things they need to do. * Obviously this member will be populated only in real time when connected to the data feed. * Programmers can choose to store this data themselves in a file if they want it for future back testing. 2. Add millisecond section to sc.CurrentSystemDateTime. Any simple script (even a CMD prompt) can retrieve current system time with millisecond granularity. Adding it here will simply make it accessible inside the ACSIL studies code. Both those things will have zero performance impact on Sierra and with some creative programming would answer many of our needs. Please consider them. |
[2013-12-01 01:11:47] |
Sierra Chart Engineering - Posts: 104368 |
1. This is a significant task to accomplish and reduces efficiency. 2. This already has milliseconds on it. Copy it to a SCDateTimeMS to get the milliseconds. 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 |
[2013-12-01 20:02:06] |
Hendrixon - Posts: 130 |
1. Ok Understood. 2. Tried it and it works, thanks. I'll try to work with what is available so last two clarifications please: 3. In the description for "sc.LatestDateTimeForLastBar" you say that: "variable is set to ... the very latest trade from the data feed... Or, it will be set to the starting Date-Time of the very latest chart data file record which has been read into the chart, whichever is greater."
Does the "Or" refer only to replay mode, or can this happen in live mode?4. Looked thru the GSP/DTC documentation and found this: "TRADE_INCREMENTAL_UPDATE [s_TradeIncrementalUpdate structure] Server >> Client"
Does its variable "TradeDateTimeUnix" report the time stamp with millisecond part that comes from the feed, or a local system arrival time stamp into the GSP/DTC server? |
To post a message in this thread, you need to log in with your Sierra Chart account: