Support Board
Date/Time: Tue, 26 Nov 2024 19:48:48 +0000
Post From: SerraChart as a DTC Protocol Client
[2023-08-09 22:14:27] |
d9e5c763 - Posts: 108 |
I have referred to the link https://www.sierrachart.com/index.php?page=doc/DTC_TestClient.php, and I'm have a few unresolved issues. Currently, I have only implemented the download and viewing of historical data, and I'm seeking assistance with the following: 1. Unable to display real-time prices including trading dom, time and sales window, qouteboard and chartbooks. (I have solved it myself) 2. Whether I turn the "Enable JSON Message Logging" option on or off in the DTC Service, I still see the output of "JSON data:" in the Message Log. I must save and then restart the program for this option to take effect. 3. Does the transmission of Sierra Chart data files (*.scid) through the DTC protocol require strict adherence to chronological order? If missing data is found earlier in the sequence, is the only option to delete and redownload it in Sierra Chart? 4. a question regarding HISTORICAL_PRICE_DATA_REQUEST: When I use an external script to write historical trading data into the SCID file, what I can ascertain is that the last trade time in the SCID file is UNIX 1693583988553, which corresponds to UTC 2023-09-01 15:59:48.553. Then, when I open Sierra Chart and connect to my DTC server, the software requests data starting from UNIX 1693583988000, which is UTC 2023-09-01 15:59:48. If I simply return data based on this timestamp, I encounter the issue of writing duplicate trading data into the SCID file. Or is it that Sierra Chart merely requests extra data for the software to compare? Even so, I often face situations where multiple trades with the same buy/sell direction are generated at the same millisecond. How should this be resolved, or how does Sierra Chart handle such situations? Date Time Of Last Edit: 2023-09-01 20:52:14
|
Attachment Deleted. Attachment Deleted. Attachment Deleted. Attachment Deleted. Attachment Deleted. |