All Projects → willowj → Python_dataee

willowj / Python_dataee

Licence: mit
python data ; k线蜡烛图

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Python dataee

Geeksforgeeks Dsa 2
This repository contains all the assignments and practice questions solved during the Data Structures and Algorithms course in C++ taught by the Geeks For Geeks team.
Stars: ✭ 53 (-15.87%)
Mutual labels:  data
Openrefine
OpenRefine is a free, open source power tool for working with messy data and improving it
Stars: ✭ 8,531 (+13441.27%)
Mutual labels:  data
Legislator
Interface to the Comparative Legislators Database
Stars: ✭ 62 (-1.59%)
Mutual labels:  data
Tablam
The practical relational programing language for data-oriented applications
Stars: ✭ 55 (-12.7%)
Mutual labels:  data
Pldp
Public Life Data Protocol
Stars: ✭ 56 (-11.11%)
Mutual labels:  data
Muster
A universal data layer for components and services
Stars: ✭ 59 (-6.35%)
Mutual labels:  data
Mobx Jsonapi Store
JSON API Store for MobX
Stars: ✭ 52 (-17.46%)
Mutual labels:  data
Tfjs Data
Simple APIs to load and prepare data for use in machine learning models
Stars: ✭ 63 (+0%)
Mutual labels:  data
Name Db
🚀 A multilingual collection of names from around the world
Stars: ✭ 57 (-9.52%)
Mutual labels:  data
Gdalcubes
Earth observation data cubes from GDAL image collections
Stars: ✭ 61 (-3.17%)
Mutual labels:  data
Pycm
Multi-class confusion matrix library in Python
Stars: ✭ 1,076 (+1607.94%)
Mutual labels:  data
Rtimes
R wrapper for NYTimes API for government data - ABANDONED
Stars: ✭ 55 (-12.7%)
Mutual labels:  data
Data Structures C
A collection of algorithms for data structure manipulation in C
Stars: ✭ 59 (-6.35%)
Mutual labels:  data
Top Pypi Packages
A regular dump of the most-downloaded packages from PyPI
Stars: ✭ 53 (-15.87%)
Mutual labels:  data
Fredr
An R client for the Federal Reserve Economic Data (FRED) API
Stars: ✭ 61 (-3.17%)
Mutual labels:  data
Activity Tracker
Plugin for IntelliJ IDEs to track and record user activity
Stars: ✭ 52 (-17.46%)
Mutual labels:  data
Datacomparer
dataCompareR is an R package that allows users to compare two datasets and view a report on the similarities and differences.
Stars: ✭ 58 (-7.94%)
Mutual labels:  data
Facebook Archive
Just some fun you can have with facebook's archive data
Stars: ✭ 63 (+0%)
Mutual labels:  data
Korea Startups
🌟 국내 스타트업 목록 및 설명 🌟
Stars: ✭ 63 (+0%)
Mutual labels:  data
Apple Family
A simple framework that brings Apple devices together - like a family
Stars: ✭ 59 (-6.35%)
Mutual labels:  data

#画k线蜡烛图

python_dataEE/plot/kline_candle.py

python: jupyter-notbook #建议使用jupyter-notbook

from kline_candle import Kline_js
import tushare as ts
df = ts.get_hist_data('hs300', ktype='5')
Kline_js('hs300_k-line-5min',
         df,
         ma=('ma10', 'ma20'),
         width=800, height=400,
         )

image

params:

name, df, prices_cols=None, ma=('ma10',), width=1600, height=750, kline_xaxis_pos='top', render_path=None

  • name: str #图例名称
  • df: pandas.DataFrame #columns包含 prices_cols、‘volume’
  • prices_cols : list #默认 [u'open', u'close', u'low', u'high']
  • ma=('ma10',): list or tuple #移动平均周期
  • width=1600, height=750 # 默认图片大小
  • kline_xaxis_pos='top' #k-line图例默认在上方
  • render_path: str #html file path to save

https://github.com/willowj/python_dataEE/blob/master/plot/kline_candle.py

required modules :

pyecharts

pandas

tushare (for test)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].