Skip to content

saadixl/CandleSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this project?

This is a project to predict price movement of a stock based on it's candle stick chart. I have some example candle stick charts which denotes if the price should go up or down. The idea is to find the closest match for the sample candle stick chart images to predict what will happen. The image embeddings are generated by openai api, closest match is calculated using sklearn's cosine similarity and numpy.

How to use the project

  • Assuming you have Python 3+ installed
  • Create a .env file in the root
  • Add your openai api key under OPENAI_API_KEY
  • Run pip3 install -r src/requirements.txt to install the python packages
  • Run python3 src/main.py Upon running the command, follow the terminal instructions.
ss

Note that the candle charts can be only seen on MacOS iTerm2.

About

Ai based program to classify a given candle stick chart to predict the stocks price movement

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages