No project description provided
Project description
bt-qmt-store
Backtrader QMT Store
1. 安装
pip install qmtbt
2. 使用
import backtrader as bt
from qmtbt import QMTStore
cerebro = bt.Cerebro()
store = QmtStore()
data = store.getdata(dataname='600115.SH', timeframe=bt.TimeFrame.Days, fromdate=datetime(2022, 1, 1), todate=datetime(2023, 9, 6), dividend_type='front')
cerebro.adddata(data)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qmtbt-0.2.2.tar.gz
(5.2 kB
view hashes)
Built Distribution
qmtbt-0.2.2-py3-none-any.whl
(6.2 kB
view hashes)