和胜龙数据结构一样,但信息量少于胜龙,没有总金额。
另:其数据可能不准:最低价应为 21.25
00000000h: EB 09 31 01 40 56 00 00 1C 57 00 00 16 53 00 00 ?1.@V...W...S..
^ ^ ^ ^ ^ ^ ^ ^
| | | | | | | |
+---------+ +---------+ +---------+ +---------+
013109EB 5640 571C 5316
19991019 22080 22300 21270
Date Open High Low
00000010h: 20 53 00 00 00 00 00 00 64 29 01 00 00 00 00 00 S......d)......
^ ^ ^ ^ ^ ^ ^ ^
| | | | | | | |
+---------+ +---------+ +---------+ +---------+
5320 0 00012964 0
21280 76133
Close Amount
00000020h: 00 00 00 00 00 00 00 00 ED 09 31 01 6C 52 00 00 ........?1.lR..
^ ^
| |
+---------------------+
Dummy
00000030h: 34 53 00 00 00 50 00 00 7C 51 00 00 00 00 00 00 4S...P..|Q......
00000040h: 73 C9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 s?.............
以下仅供参考:
1. 读取数据最好用TFileStream:
var DW: DWORD;
FileStream.Read(DW, 4); // 4=SizeOf(DWORD)
2. 对胜龙的(开高低收)价格要取负数,即
OpenPrice := - DW;