Roberts
-Interested User-
Posts: 53
Joined: Mar 26, 2008
|
Posted: Aug 15, 2020 05:26 AM
Msg. 1 of 5
Please help me with the field order for ..dev/api/docs/Level1FundamentalMessage.cfm Here's the fundamental message for TSLA received today:
"F,TSLA,5,775.0,13022000,1794.9900,211.0000,1794.9900,350.5100,0.0000,,,,,,,,,,2.13,,,12,,TESLA INC.,,38.,1.42,,12103.0,10667.0,06/30/2020,11634.0,186362,336211, , ,,0,14,4,3711,80.92,1,21,07/13/2020,08/23/2019,07/13/2020,03/18/2020,418.33,,,,,336211,,"
Assuming F is field number 0, the data correspond well to the Level1FundamentalMessage field order up to index 9. However, the next value available is at index 19, which is "2.13. The table, however, indicates "Root Option symbol (there may be more than one)" for index 19.
The Company Name, TESLA INC. appears at index 24, but the table suggests that Company Name should be at index 18.
I've attached a tab-delimited txt document that aligns the data in this message with the descriptions for Level1FundamentalMessage.cfm. What's going on here?
File Attached: FundamentalMessage.txt (downloaded 932 times)
|
DTN_Gary_Stephen
-DTN Guru-
Posts: 396
Joined: Jul 3, 2019
|
Posted: Aug 17, 2020 08:07 AM
Msg. 5 of 5
Roberts,
I'm sorry I didn't read this message before I responded to your other one. But yes, the protocol command explains the difference. Each socket, and each connection if you have multiple connections going, is unique. The S,SET PROTOCOL command must be set each time you connect. It won't be shared across different ports, or multiple connections to the same port.
Let me know if you have any other questions about this!
Sincerely, Gary Stephen DTN IQFeed Implementation Support Specialist
|