datafeed

by yinhm

yinhm / datafeed

A Datafeed System for Financial Data.

129 Stars 49 Forks Last release: Not found Apache License 2.0 25 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

A Datafeed System for Financial Data.

Datafeed is an fast, extensible quotes data storage build on Python/HDF5. IMIGU (http://imigu.com) has been using Datafeed on production more than a year.

Datafeed is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

Components

  • Quotes store server.
  • Client to interactive with quote server(get/put).
  • Datafeeds providers client, including Yahoo, Google, etc.

Python version support

Officially 2.7. Python 3 may works but not tested.

Dependencies

  • NumPy: 1.5.0 or higher
  • h5py: 2.0 or higher
  • tornado: 2.0 or higher

Install dependent packages with pip:

pip install -r pip.txt

Optional packages

  • pandas: dividend/split and more
  • python-dateutil: <2.0, RSS parsing
  • pycurl: url fetch
  • pywin32: only needed if you want to run TongShi client

INSTALLATION

git clone git://github.com/yinhm/datafeed.git

Run

cd datafeed
cp config_example.py config.py
python server.py

Client

from datafeed.client import Client
c = Client()
c.get_report("SH000001")

TODO

  • Documentation

License

Apache Public License (APL) 2.0

Thanks

  • Big thanks to my company ( http://jeebo.cn ) allow me to open source Datafeed.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.