#本项目做了几个更改:
1 基于开源rqalpha4.0版本,支持分钟和tick级别的回测
增加了两个mod,:rqalpha_mod_minute_trade(\rqalpha4_min_tick_trade_mod\minute_trade\rqalpha_mod_minute_trade)和rqalpha_mod_tick_trade(\rqalpha4_min_tick_trade_mod\tick_trade\rqalpha_mod_tick_trade)。当你按照rqalpha的h5格式存放你的分钟和tick数据时,就可以支持分钟和tick级别的回测
2 基于开源rqalpha3.4版本支持模拟交易的功能
2.1需要用rqalpha3.4_patch下面的文件覆盖原有的rqalpha3.4的文件
cp -rd ./rqalpha3.4_patch/disk_persist_provider.py /rqalpha_home/rqalpha/utils/ cp -rd ./rqalpha3.4_patch/asset_position.py /rqalpha_home/rqalpha/mod/rqalpha_mod_sys_accounts/position_model/
2.2 改写rqalpha_mod_stock_realtime,并且需要你有本地的历史指数和股票数据。因为rqalpha做模拟的时候有些条件下会需要历史history_bar,你可以不使用dataapi,但是你需要找到rqalpha相应的函数。
Metadata
Release files for rqalpha-minsec-trade-realtime 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rqalpha_minsec_trade_realtime-1.2.1.tar.gz | 8.9 kB | Without provenance | Details for rqalpha_minsec_trade_realtime-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rqalpha_minsec_trade_realtime-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for rqalpha_minsec_trade_realtime-1.2.1-py3-none-any.whl |
Total release size: 21.6 kB
Release files / rqalpha_minsec_trade_realtime-1.2.1.tar.gz
| Download URL | rqalpha_minsec_trade_realtime-1.2.1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
406778a3578bee3cedd47b97b3fd5a5d4d65679b548552afd816ad1b86db6769
|
|
BLAKE2b-256 checksum How to use checksums |
801e1225ce50f624108d8d1e17b20a754cd7c76325a8c9626eedec42852beafd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|
Release files / rqalpha_minsec_trade_realtime-1.2.1-py3-none-any.whl
| Download URL | rqalpha_minsec_trade_realtime-1.2.1-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b1af6058d6ac64e1eaa49581850fa77292229b13a6c6e363c86ad604eaf150d
|
|
BLAKE2b-256 checksum How to use checksums |
3126dc9cc20b8cd1d923ac0abb0e0dd64daa91372d2d5c5f96c9399b2d75f4bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|
Security for rqalpha-minsec-trade-realtime 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.