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


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.2.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mooquant_tushare-0.2.2-py2.py3-none-any.whl (11.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mooquant_tushare-0.2.2.tar.gz.

File metadata

  • Download URL: mooquant_tushare-0.2.2.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for mooquant_tushare-0.2.2.tar.gz
Algorithm Hash digest
SHA256 3422e544c27411c8ffafe2a0d2317a5b36bc0cbaacfd2b4094b4955aa92208a5
MD5 252f9d575b630282f557a7b6ef9deed0
BLAKE2b-256 cef4539c06419a9dca4f2afe97bda96ab5f0e9ada8749dfc7f8e4844bbd721ee

See more details on using hashes here.

File details

Details for the file mooquant_tushare-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mooquant_tushare-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8731ffdfdcc0913ec9103e95dc91fb45fd1de612c4fd21b8ec043ae5827f457d
MD5 c98c966af0104ba0b5720417e167adb5
BLAKE2b-256 445b526c13648d49402e5eb4f2e3f428a02f1d0945dd3cbfa744320463b25060

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

1 file

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page