Skip to content
QIFI协议下的Account实现
Jupyter Notebook Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode #update qifi Oct 7, 2019
QIFIAccount
usage #update Oct 8, 2019
.gitignore Initial commit Oct 7, 2019
README.md #update for README Oct 8, 2019
setup.py 1.9.1 Nov 10, 2019

README.md

QIFIAccount

QIFI协议下的Account实现

QIFIAccount兼容 QIFI协议标准DIFF协议标准

pip install qifiaccount

用法:

参见 /usage 文件夹下的ipython notebook

from QIFIAccount import QIFI_Account, ORDER_DIRECTION
acc = QIFI_Account("x1", "x1")
acc.initial()


print(acc.message)


acc.send_order


acc.cancel_order


acc.get_position

QIFI_Account的最优实践是 QIFI_Strategy, 因为QIFI_Account已经将账户层完全实现, 并且支持多市场, 所以 QIFI_Strategy可以直接进行 订阅行情/ 重写on_bar/on_tick 的策略逻辑/ 以及进行仓位/风险管理

You can’t perform that action at this time.