lingmicha / okex_historical_data

Sort out okex historical data for backtest purpose
MIT License
0 stars 0 forks source link

怎么利用数据回测的? #1

Open deadash opened 5 months ago

deadash commented 5 months ago

很感谢你的开源,你有使用该数据进行回测或者训练么?

lingmicha commented 5 months ago

目前没有。只是每日搜集了一下分钟K线。

@.> 时间: 2024年4月28日 (周日) 18:32 主题: [lingmicha/okex_historical_data] 怎么利用数据回测的? (Issue #1) @.> @.> 很感谢你的开源,你有使用该数据进行回测或者训练么? — Reply to this email directly, view it on GitHubhttps://github.com/lingmicha/okex_historical_data/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWUC25KZSCQILY3NZCBXLX3Y7TF3JAVCNFSM6AAAAABG44BPC2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DONBXHA2DGOA. You are receiving this because you are subscribed to this thread.[image: https://github.com/notifications/beacon/AWUC25KQIKMTKKKGEAH4MITY7TF3JA5CNFSM6AAAAABG44BPC2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIOJXZUY.gif]Message ID: @.>

deadash commented 5 months ago

我发现python掉了很多文件,所以用rust重写了,下载速度会快一些,也会有缺失,但是可以反复运行

https://github.com/deadash/okex_historical_pull_data

通过历史行情数据和通过API获取的行情数据有什么区别

lingmicha commented 5 months ago

下线的币用api是拉不出来的。我把23年下线的币也都列出来了,你把那几个币的aggtrades下载下来合成个K线就行了。 23年以前的数据基本上没法用。ok自己也搞不定。

@.> 时间: 2024年4月29日 (周一) 18:32 主题: Re: [lingmicha/okex_historical_data] 怎么利用数据回测的? (Issue #1) @.> @.>, @.> 我发现python掉了很多文件,所以用rust重写了,下载速度会快一些,也会有缺失,但是可以反复运行 https://github.com/deadash/okex_historical_pull_data 通过历史行情数据和通过API获取的行情数据有什么区别 — Reply to this email directly, view it on GitHubhttps://github.com/lingmicha/okex_historical_data/issues/1#issuecomment-2082380671, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWUC25OR6TS7HY7KE5WT5TTY7YOSBAVCNFSM6AAAAABG44BPC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSGM4DANRXGE. You are receiving this because you commented.[image: https://github.com/notifications/beacon/AWUC25KRT6EQF74ARXRKULTY7YOSBA5CNFSM6AAAAABG44BPC2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT4D2NX6.gif]Message ID: @.***>

deadash commented 5 months ago

我拉取了trades,只包含USDT+SWAP, 就这个下载了50万个文件,大概180GB,把我梯子搞爆了 等梯子恢复正常我拉取aggtrades看看,你对数据有没有兴趣,我看看能不能上传到一个盘分享出来