The letter on-line access to.Day file parsing, turnover field error, O master Zh

According to the data format data following the letter on-line access, other fields are consistent with reality, but the turnover field and actually have much difference, O master Zhijiao
(the letter on-line access to the *.day file
File name stock code
Each of the 32 bytes of data for a day
Every 4 bytes for a field, each field before the low byte
00 ~ 03 bytes: date, integer
04 ~ 07 bytes: opening price *1000, integer
08 ~ 11 bytes: the highest *1000, integer
12 ~ 15: the lowest byte *1000, int
16 ~ 19 bytes: close *1000, integer
20 ~ 23 bytes: turnover (yuan), float
24 ~ 27 bytes: Volume (hand), integer
28 ~ 31 bytes: close *1000, integer)

Started by Hugh at February 06, 2016 - 7:21 AM

The turnover will be in the hundreds or tens of thousands of dollars.

Posted by Julie at February 20, 2016 - 7:51 AM

Yes, certainly not only 20-23 bytes, analytical method

Posted by Hugh at January 05, 2017 - 6:10 AM

TTDXDayInfo = packed record
nDate : integer; //To date, format: yyyymmdd integer such as 2008010120081229
nStartPrice : integer; //The opening price, opening price format: *100, rounding
nMaxPrice : integer; //The most expensive, format: ~~
nMinPrice : integer; //The lowest price, format: ~~
nEndPrice : integer; //Closing price, format: ~~
nAmount : Single; //Total turnover, element
nCount : integer; //In total, hand
M : integer; //Reserved temporarily for the analysis of them, that is the average price

This is my analysis of many years ago, now has not this, because this is not right, have their own analysis of GBBQ for rehabilitation, will be very troublesome

Posted by Harrison at January 05, 2017 - 6:46 AM

Remind: the price is *100 or *1000 integer rounding, depending on one parameter, so here to consider the portability, it is recommended not to direct the analysis file.

Posted by Harrison at January 06, 2017 - 5:33 AM