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.20.tar.gz
(100.6 kB
view hashes)
Built Distribution
flyshare-0.0.20-py2.py3-none-any.whl
(126.0 kB
view hashes)
Close
Hashes for flyshare-0.0.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02db41749dde77adef33b514f3160fdd42e472ee4466427a9eb5130b951fbd44 |
|
MD5 | cbdf7e1b2962e94125489322b4cc0cb1 |
|
BLAKE2b-256 | dcd51e2adde7f0c36e0790d43fe0fc1302388c5e52a0af94c40bb359d26a5d98 |