Skip to content

Jahans3/crypto-order-book

Repository files navigation

OrderBook

This project visualises order flow of XBT/USD and ETH/USD in real time.

Getting Started

  1. Install dependencies: $ yarn
  2. Install eslint and use the local config: .eslintrc.json
  3. Install prettier and use the local config: .prettierrc.json
  4. Run the project locally: $ yarn start

Core Tools

App Overview

order flow socket ----> order flow worker ----> order flow service

This app uses a worker as a proxy to connect to the websocket API. This is done to offload some heavy array processing and fast incoming websocket messages away from the UI thread.

Contributing

Before contributing please ensure you have ESLint and Prettier set up and pointing to the configs in the root of this project.

Unit Tests

Unit tests are run with Jest and React Testing Library.

To run tests: $ yarn test

Git

Working branch: develop

Production branch: master

Branches should follow the below format:

<type>/<brief-description> E.g. feat/add-new-coin-pair or fix/bar-chart-bug

Commits should follow Angular commit format:

<type>(<scope>): <subject> E.g. feat(Index): add new context provider or docs(readme): specify angular commit format

Deploying

Deployments are handled via Netlify. A new build is deployed when updates are pushed to master.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published