Skip to main content
# [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


Release files for mooquant_tushare 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mooquant_tushare 0.2.2
File Size Uploaded
mooquant_tushare-0.2.2.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mooquant_tushare 0.2.2
File Interpreter ABI Platform
mooquant_tushare-0.2.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 19.0 kB

Release files / mooquant_tushare-0.2.2.tar.gz

Download URL mooquant_tushare-0.2.2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3422e544c27411c8ffafe2a0d2317a5b36bc0cbaacfd2b4094b4955aa92208a5
BLAKE2b-256 checksum
How to use checksums
cef4539c06419a9dca4f2afe97bda96ab5f0e9ada8749dfc7f8e4844bbd721ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / mooquant_tushare-0.2.2-py2.py3-none-any.whl

Download URL mooquant_tushare-0.2.2-py2.py3-none-any.whl
Size 11.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8731ffdfdcc0913ec9103e95dc91fb45fd1de612c4fd21b8ec043ae5827f457d
BLAKE2b-256 checksum
How to use checksums
445b526c13648d49402e5eb4f2e3f428a02f1d0945dd3cbfa744320463b25060
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page