Crypto Risk Management with Buying and Selling

Javascript (React, Recharts) implementation of analysis described by Benjamin Cowen:

Ethereum: Risk management with buying and selling Bitcoin: Risk management with buying and selling

Downloading data

Download historical data:

Convert CSV to JS:

curl -L https://query1.finance.yahoo.com/v7/finance/download/BTC-USD?period1=1410912000&period2=1622678400&interval=1d&events=history&includeAdjustedClose=true > btc-usd.csv
./csv2js.py btc-usd.csv src/bitcoin-data.js

How to run the code

npm install
npm start

Open http://localhost:3000/ in your browser.

screenshot

Other indicators