口袋量化策略编写辅助工具。https://quant.gkoudai.com/
Project description
pquant
PocketQuant 策略编写辅助库。
该项目仅提供对象和方法的定义,用于在本地开发环境中获得类型提示和自动补全,
需要使用numpy、pandas、ta-lib库提示需自行安装,终端中已经集成了这些库。
文件夹strategy_demo中提供一些示例策略文件,和indicator_my源码,供参考。
具体的交易逻辑由口袋量化平台在终端实现。
安装
pip install pquant
快速开始
在当前目录生成一个模板策略文件:
pquant new my_strategy
在生成的文件中可以直接导入库内对象和方法:
from pquant import *
编写完成后,将策略代码复制到口袋量化平台即可运行。
免责声明
本仓库中的代码只用于本地开发时的提示和静态检查,不包含实际交易实现。
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
pquant-0.1.2.tar.gz
(14.2 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
pquant-0.1.2-py3-none-any.whl
(19.8 kB
view details)
File details
Details for the file pquant-0.1.2.tar.gz.
File metadata
- Download URL: pquant-0.1.2.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e41cd9951ea30d21859fc02429c8bee2728a13752a446a28de41b66f3076d5a0
|
|
| MD5 |
23048b3945a6559a7b2acda526e232b0
|
|
| BLAKE2b-256 |
7359b38dc30ce50ce91d0e9fae9657b41e6e9818a6b76005bf3e2d35802ef933
|
File details
Details for the file pquant-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pquant-0.1.2-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecd644796c6bfd934fe494c959aef4546846f8dacf7693a02d44790cc5e964f6
|
|
| MD5 |
85046428eb47b6b7f4ea62de9f54f66f
|
|
| BLAKE2b-256 |
a498e5dffaecf544b5aa16c73ff47f8a92ed8addd58b3e3b5f9280d5a4e908ca
|