tradingdb2 for python
Project description
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
- 实现了基本功能。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
trdb2py-0.3.27.tar.gz
(37.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
trdb2py-0.3.27-py3-none-any.whl
(44.3 kB
view details)
File details
Details for the file trdb2py-0.3.27.tar.gz.
File metadata
- Download URL: trdb2py-0.3.27.tar.gz
- Upload date:
- Size: 37.3 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0c3767646a76c13e78201fe9321a2a43831fa76985ecaf23597c4165b665209
|
|
| MD5 |
521bc0d2bcb2f8ef8573ada68c04cc53
|
|
| BLAKE2b-256 |
2262bd1a7236a9de6083feac29078ae347733dff0b734741eda46318b3a58bd1
|
File details
Details for the file trdb2py-0.3.27-py3-none-any.whl.
File metadata
- Download URL: trdb2py-0.3.27-py3-none-any.whl
- Upload date:
- Size: 44.3 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24d19a9a4bdb045c26c4c5fdaf8eecf6188cb1e025d9d96b59b64fa5f6603c08
|
|
| MD5 |
f775bf740d93e1ba1798da99f5029594
|
|
| BLAKE2b-256 |
ddf3bee71c508218e6a8f08ee6153e61c1ded4817ae6d686ce6d957911ed90f5
|