Skip to content

alvin-milton/plotly-candlesticks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plotly Candlestick Charts

Node script that takes currency pairs and returns a chart using Plotly charts and AlphaVantage data

Example output

Example output Plotly Candlestick chart

HOW TO RUN

  • go to: AlphaVantage and sign up for an api key
  • go to: Plotly and sign up for an api key
  • create a .env file in the root and add the keys there
  • run npm i
  • run npm start which indirectly calls handyCharts.getPic('GBP', 'USD');

Goals

  • Using free data...
  • Create a candlestick chart for FOREX assets
  • Then save an image of that chart for later usage ie BOT

TODO

  • commonJS all the thing(s)
  • Parameterize the currency Pairs
  • return other types of assets

DEPENDENCIES

  • axios
  • dotenv
  • fs
  • plotly

About

Creates a plotly candlestick chart and saves the image on your server

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published