Skip to main content

A utility for providing historical and Real-time Quotes data of China stocks

Project description


Flyshare
===============

* easy to use as most of the data returned are pandas DataFrame objects
* can be easily saved as csv, excel or json files
* can be inserted into MySQL or Mongodb

Target Users
--------------

* financial market analyst
* learners of financial data analysis with pandas/NumPy
* people who are interested in financial data of China, HongKong, US, etc.

Installation
--------------

pip install flyshare

Upgrade
---------------

pip install flyshare --upgrade

Quick Start
--------------

::

import flyshare as fs

fs.get_hist_data('600848')

return::

open high close low volume price_change p_change date
2017-10-27 31.45 33.20 33.11 31.45 333824.31 0.70 2.16
2017-10-26 29.30 32.70 32.41 28.92 501915.41 2.68 9.01
2017-10-25 27.86 30.45 29.73 27.54 328947.31 1.68 5.99
2017-10-24 28.20 28.75 28.05 27.22 313290.41 -1.74 -5.84
2017-10-23 29.00 31.16 29.79 28.90 466494.47 1.46 5.15
2017-10-20 29.20 29.83 28.33 27.85 411570.12 1.17 4.31
2017-10-19 25.61 27.20 27.16 25.61 180490.47 1.47 5.72
2017-10-18 25.63 26.41 25.69 25.50 109353.35 0.26 1.02
2017-10-17 25.30 25.88 25.43 25.23 67649.41 0.24 0.95
2017-10-16 26.40 26.48 25.19 25.03 113208.69 -1.16 -4.40
2017-10-13 26.26 26.54 26.35 26.14 54308.65 0.09 0.34
2017-10-12 26.28 26.51 26.26 25.92 85889.09 -0.05 -0.19
2017-10-11 27.26 27.37 26.31 26.02 128767.41 -0.81 -2.99



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

flyshare-0.0.21.tar.gz (109.9 kB view details)

Uploaded Source

Built Distribution

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

flyshare-0.0.21-py2.py3-none-any.whl (178.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flyshare-0.0.21.tar.gz.

File metadata

  • Download URL: flyshare-0.0.21.tar.gz
  • Upload date:
  • Size: 109.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flyshare-0.0.21.tar.gz
Algorithm Hash digest
SHA256 7889fa457337e2da5250028e7fa06eff45cb0f8798b88cbbc0882c927fe21bf7
MD5 b6d50fcafcab68ce42107910750acfbd
BLAKE2b-256 67e45c62a6d5ac718b17514ddaf13ba159e896ab4ab617c07642f9d7fee791cb

See more details on using hashes here.

File details

Details for the file flyshare-0.0.21-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flyshare-0.0.21-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b1f709fb4f51c006cdb032f1b23bb457edf056438a6317d35e0ba7eeb0304766
MD5 1b99a5f0bd3a4e423874cda95af1294b
BLAKE2b-256 6cab068a39a92b9e95c7c24988dc72c9450a552de614a568813561278697af26

See more details on using hashes here.

Supported by

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