This project uses vue.js 2.0 and bootstrap + vue.
The website displays three kinds of visualization of market data.
npm install
npm i bootstrape
npm i bootstrap-vue
npm install d3
.
├── public
├── src
│ ├── assets
│ ├── bid.json # sample data in the table from sellers
├── ask.json # sample data in the table from buyers
├── trade.json # via binance.com api (values are in text)
├── trade_mock.json # randomly generated trade data
│ ├── components # vue components
├── DepthChart.vue # depth chart based on sample data
├── MarketChart.vue # candlestick chart based on generated data
│ ├── Sellers.vue # left table
│ ├── Buyers.vue # right table
│ ├── App.vue
│ ├── trade_history.py # obtain historical trade data from binance.com
│ └── main.js
├── .gitignore
├── babel.config.js
├── package-lock.json
├── package.json
└── README.md
In terminal,
npm run serve
Then navigate to the localhost shown in the terminal, usually http://localhost:8080/.
npm run build
npm run lint