Skip to content

基于Tushare和Echarts的股票数据视觉化应用

License

Notifications You must be signed in to change notification settings

yutiansut/TuChart

 
 

Repository files navigation

TuChart

TuChart is a visualization tool for the Chinese stock market, based on Tushare and Echarts.

中文文档

Usage Examples

Candlestick Charts

notebook-0

Tick Charts

notebook-0

Major Shareholders

notebook-0

Drag and Zoom

notebook-0

How to Use

First, install dependencies

pip install tushare, pyecharts==0.2.0

To install Tuchart, enter pip install tuchart in your terminal

Notice:For best plotting experience,please download the latest version = 0.1.2.5

then, under your tuchart directory, e.g:

/user/anaconda/lib/python2.7/site-packages/tuchart

runpython main.py

The exact path of tuchart in your directory can be located bypip show tuchartwhich will return its location: notebook-0 add/tuchartto pinpoint the tuchart directory.

Right click to choose the name of stock and type of data you would like to plot. Then, press the green arrow button to plot. Due to the constraints of size, it is recommended to plot fewer than 5 graphs at the same time.

Manual

Supported Datatypes

  • Raw Stock Data
    • Daily average
    • Weekly average
    • Monthly average
    • 15 minute average
    • 30 minute average
  • Restoration Data
    • Daily average
    • Weekly average
    • Monthly average
    • 15 minute average
    • 30 minute average
  • Tick data of individual stocks
  • High frequency data within one day

High frequency data is calculated from tick data of your chosen day. Algorithm: 如何用TICK数据生成分钟线数据

  • Distribution of Top Shareholders

Tuchart will return data for top shareholders within your chosen year. Manual

Updates

0.1.2.5

  • Supports plotting for High frequency data
    • 1 minute average
    • 5 minute average
    • 15 minute average
    • 30 minute average
  • Supports plotting of top shareholders within a year.

0.1.2.4

  • Fixed dependency issues when user has PYQT4 Layer

0.1.2.3

  • Added script to save stock list every 12 hours
  • Increased stability
  • Auto-resize image according to size of the app
  • Added market indexes

Contact:

Email: rzli2@illinois.edu

About

基于Tushare和Echarts的股票数据视觉化应用

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%