You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Guofu Li
621b38dce3
|
2 years ago | |
---|---|---|
ProtoBuffEntitys | 2 years ago | |
dolphindb | 2 years ago | |
.gitignore | 2 years ago | |
DDBDailyFactor.py | 2 years ago | |
DDBLoader.py | 2 years ago | |
ReadTickFromDB.py | 2 years ago | |
Readme.txt | 2 years ago | |
ddb.ipynb | 2 years ago | |
dos.ipynb | 2 years ago | |
make_hft.py | 2 years ago | |
mssql.ipynb | 2 years ago | |
script.py | 2 years ago | |
stockMarketReplay.dos | 2 years ago |
Readme.txt
Python语言从数据库中读取字节流程序并解码还原示例程序在ReadTickFromDB.py中。
该函数需要pymssql、gzip、google.protobuf(可用pip install protobuf安装)三个外部依赖库需要在运行程序。
成功读取后,每个标的会读出并解析成一个结构体数组的数据结构,可以对于该数据进行进一步操作。