This project was bootstrapped with Create React App.
- Maximum Drawdown was calculated using
Adj. Open
andAdj. Close
(I don't know if that is correct, but I assume that because we don't know ifhigh
andlow
happen in a valid time interval, which comes first) - Simple Return was calculated based on
start date
Adj. Open
andend date
Adj. Close
- Missing optmization in the autocomplete search field
- Missing optmization in graphs to display long date range
yarn install
- Create a
.env.local
in the project root folder with the following code, exchanding<YOUR_KEY>
by your quandl api key
REACT_APP_API_BASE_URL="https://www.quandl.com/api/v3/datasets/WIKI/{{ticker}}.json?api_key=<YOUR_KEY>&order=asc"
yarn start
- Open http://localhost:3000 to view it in the browser
yarn test
Tests created to validate the logic used to calculate Maximum Drawdown.