trdb2py
这是 tradingdb2 的python库,初衷是希望有一个更方便的研究工具,能在 jupyter 里使用。
大量的运算,都是通过 tradingdb2 发送给 tradingnode2 节点进行分布式运算,而 tradingdb2 负责负载均衡 和 结果缓存,这样就算 jupyter 有什么问题,也不至于要重新运算。
图形化选择的是 plotly 。
注意:
jupyter运行效率有些低,如果不在研究阶段,建议直接python运行脚本更合适。- 如果进行非常大数据量的运算,在
jupyter里很容易内核挂掉,这种脚本需要自己处理好内存管理,直接python运行脚本更合适。 - 提供了vscode可用的
devcontainer,建议用这个配置开发,避免污染本地环境。
安装
直接用 pip 安装即可。
pip install trdb2py
更新日志
v0.3
- 需要搭配
TradingDB2v0.6 以上版本使用。
v0.2
- 加入更多本地分析功能,不会把所有计算都放云端。
v0.1
- 实现了基本功能。
Metadata
Release files for trdb2py 0.3.27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trdb2py-0.3.27.tar.gz | 37.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trdb2py-0.3.27-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 81.6 kB
Release files / trdb2py-0.3.27.tar.gz
| Download URL | trdb2py-0.3.27.tar.gz |
|---|---|
| Size | 37.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0c3767646a76c13e78201fe9321a2a43831fa76985ecaf23597c4165b665209
|
|
BLAKE2b-256 checksum How to use checksums |
2262bd1a7236a9de6083feac29078ae347733dff0b734741eda46318b3a58bd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / trdb2py-0.3.27-py3-none-any.whl
| Download URL | trdb2py-0.3.27-py3-none-any.whl |
|---|---|
| Size | 44.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24d19a9a4bdb045c26c4c5fdaf8eecf6188cb1e025d9d96b59b64fa5f6603c08
|
|
BLAKE2b-256 checksum How to use checksums |
ddf3bee71c508218e6a8f08ee6153e61c1ded4817ae6d686ce6d957911ed90f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|