Skip to content

A Datafeed System for Financial Data.

License

Notifications You must be signed in to change notification settings

quinter8292/datafeed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Datafeed System for Financial Data.

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

Datafeed is licensed under the Apache Licence, Version 2.0 (https://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:https://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 ( https://jeebo.cn ) allow me to open source Datafeed.

About

A Datafeed System for Financial Data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.8%
  • Shell 1.5%
  • Makefile 0.7%