https://github.com/sudheerj/angular-orderbook-app
An OrderBook App
https://github.com/sudheerj/angular-orderbook-app
angular primeng typescript
Last synced: 3 months ago
JSON representation
An OrderBook App
- Host: GitHub
- URL: https://github.com/sudheerj/angular-orderbook-app
- Owner: sudheerj
- Created: 2018-10-26T02:31:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-26T13:15:42.000Z (over 6 years ago)
- Last Synced: 2025-02-27T10:38:35.365Z (3 months ago)
- Topics: angular, primeng, typescript
- Language: TypeScript
- Size: 779 KB
- Stars: 23
- Watchers: 4
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular OrderBook App
An order book is the list of orders that a trading venue uses to record the interest of buyers and sellers in a particular financial instrument. An
order will be one of either a buy or sell order and contain a price and a volume.## Usecases:
**Step1:** Format the orderbook into a table showing the list of bids and list of offers.
**Step2:** Add new order which updates the orderbook
**Step3:** Display order details when you select particular order
## Assumptions:
1. Let's reformat the data structure as per dataGrid
2. Mock the data in order-book.json file instead endpoint **/market/orderbook** Since the backend is not available## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.