Skip to content

Candle chart generator optimized for machine learning

Notifications You must be signed in to change notification settings

meltingOcean/candlechart4ML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

candlechart4ML

Candle chart generator optimized for machine learning

Description

Provide functions for generating candlechart images.

It is optimized for Machine Learning projects.


Environment

This project is investigated on 'Windows'


Usage

Please copy and paste directory named 'candlechart4ML'

And type below code line for import function.

from candlechart4ML import candlechart_generator

candlechart_generator

Fundametal function to generate candlechart image.

There are parameters.

data_csv_path : the path of csv file

seq_len : the length of targrt sequence you labeled

tre_len : the length of trend sequence you labeled

dimension : number of pixels on sides of each candlechart image. Three times the sequence length is recommended(for square shaped image)

use_volume : not implemented yet, please set to 'False'

candlechart_dir = candlechart_generator(data_csv_path, seq_len=20, tre_len=20, dimension=60, use_volume=False)

candlechart_sample

About

Candle chart generator optimized for machine learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages