Skip to content

anqi666/Draw-K-line-based-on-CTP-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Draw-K-line-based-on-CTP-data


Instructions

If you want to acquire a K Line Diagram in 1minute or 1hour from the CTP format data. You can

CLONE NOW AND GET STARTED!

Project Structure


  • ag2012_jpg
    • ag2012_1min.jpg
    • ag2012_60min.jpg
  • coding
    • ChooseOCHL.sql
    • ChooseOCHL60.sql
    • draw_1min.py
    • draw_60min.py
    • csv
      • ag22.csv
      • ochl.csv
      • ochl60.csv

1 min K-Line Diagram Display


image

Dependencies


  • pandas
  • mpl_finance
  • matplotlib

If you don't have mpl_finance,

  $ pip install mpl_finance

Running API


python draw_1min.py 
python draw_60min.py 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages