Metadata-Version: 2.1
Name: qmtbt
Version: 0.2.3
Summary: 
Author: pluto
Author-email: mayuanchi1029@gmail.com
Requires-Python: >=3.9,<3.13
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: backtrader (>=1.9.78.123,<2.0.0.0)
Requires-Dist: matplotlib (>=3.9.0,<4.0.0)
Requires-Dist: schedule (>=1.2.0,<2.0.0)
Requires-Dist: xtquant (>=240613.1.1,<240614.0.0)
Description-Content-Type: text/markdown

# bt-qmt-store
Backtrader QMT Store

## 1. 安装
```shell
pip install qmtbt
```
## 2. 使用

```python
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)
```

