This project was bootstrapped with Create React App.
You have to install npm modules by run "npm install" . after install, run "npm run start".
You can select currency from select list, and can see Order Book.
For convenient, display only 20 data from api data
-
first, using coinbase api, get all available currencies to make currency list. The list is sorted alphabetically. and set up websocket connection.
-
when user select currency, message data is made to send websocket server, and make askOrders and bidOrders data.
-
Displays price, cumulative, quantity. using maxCumulative value, set Background color.