mooquant tushare module
Project description
# [tushare](https://www.tushare.org/) [MooQuant](http://bopo.github.io/mooquant/) Module
This is a very early version of the module. **Live trading is not yet implemented.** Right now, I have only implemented LiveFeed (extends ```barfeed.BaseBarFeed```). Live data is fetched from the trades and order book API endpoint of tushare. Hopefully in the near future, a live broker class will be implemented.
The LiveFeed class can be plugged just as any other bar feed in MooQuant. To subscribe for bid and ask prices, just call ```getOrderBookUpdateEvent().subscribe(<your_callback_function>)``` from the LiveFeed instance. Kindly see example at sample.py.
Liked my work? **Leave me a tip @ 32dzQMkn4RgChSFzemwdYyKJ85PcsVmP6e**
Sample dump:
```
```
This is based on Bitstamp and Xignite module of MooQuant.
# mooquant_tushare
This is a very early version of the module. **Live trading is not yet implemented.** Right now, I have only implemented LiveFeed (extends ```barfeed.BaseBarFeed```). Live data is fetched from the trades and order book API endpoint of tushare. Hopefully in the near future, a live broker class will be implemented.
The LiveFeed class can be plugged just as any other bar feed in MooQuant. To subscribe for bid and ask prices, just call ```getOrderBookUpdateEvent().subscribe(<your_callback_function>)``` from the LiveFeed instance. Kindly see example at sample.py.
Liked my work? **Leave me a tip @ 32dzQMkn4RgChSFzemwdYyKJ85PcsVmP6e**
Sample dump:
```
```
This is based on Bitstamp and Xignite module of MooQuant.
# mooquant_tushare
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
mooquant_tushare-0.2.0.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for mooquant_tushare-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c01cfb8a13fae1c60ca2aa137d7e10c3ab6ad50b72415b186679c63d1414e9b0 |
|
MD5 | 6ede9af432334a3e8d1a236a498d96d4 |
|
BLAKE2b-256 | 25385acffd0bd215d15f2dc4ff12424eb9b3f00abcf08d527721658a38996158 |