Login Page - Create Account

Support Board


Date/Time: Fri, 14 Mar 2025 22:20:04 +0000



Passing a tick's time to an .SCID file tick - issue

View Count: 433

[2022-07-04 16:51:50]
User419467 - Posts: 13
When passing a tick's time to an .SCID file tick, the chart malfunctions. The header works well, as do the current date, prices and volumes. Everything feeds well into the live intraday .SCID file. The time, however, does not. The documentation provided refers to conflicting formats. These include the epoch start date (31-12-1899 in Windows, 30-12-1899 in documentation, and 1970 in Unix). Further, 2 methods for time appear in the documentation: milliseconds from the previous midnight in some, and milliseconds from one of the above epoch start dates in other documentation. Additionally, microseconds instead of milliseconds appear to succeed or precede SC versions (using version 2400 currently). The integer part of the binary bits allocated to date and time works well, and gives the date correctly from the second epoch start. The decimal part, for time, gives the problem. Currently working on the hypothesis that the decimal bit provides a start time and timezone shift, with SC then adding the actual timestamps. Programming in C#.NET and other .NET languages. Can't directly use the C++ classes as wrappers for memory leaks and other issues will need to be constructed. Any advice on this matter will be highly appreciated. Thank you,
[2022-07-04 17:03:37]
User431178 - Posts: 614
This was already answered in your previous post - Passing a tick's time to an .SCID file tick - issue
[2022-07-04 17:12:05]
User419467 - Posts: 13
Thank you,

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

Login

Login Page - Create Account