Commit Graph

71 Commits

Author SHA1 Message Date
Bartłomiej Głownia
d0ec016adc
Feature/151 orderbook ()
* [] Add orderbook

* [] Add orderbook components

* [] Add market-depth data provider

* [] Add orderbook manager

* [] handle market depth updates in orderbook manager

* [] Fix PageQueryContainer usage of AsyncRenderer

* [] Move data handling logig out from orderbook manager

* [] Use mocked data, fix data issues

* [] Add compact order book data unit tests

* [] Add updateData unit tests

* [] Add updateCompactedData unit tests

* [] update cummulative vol on update, move data ref handling from effect to manager

* [] Update cummulative vol on update, fixes

* [] Optimieze orderbook ag-grid render

* [] Replace ag-grid with orderbook component

* [] Use react memo to optimize orderbook rendering

* [] Fix cummulative vol computation on compacted data update

* [] Add resolution controls

* [] Fix cumulative spelling mistake

* [] Use number instead of string for cumulative values

* [] Expose restart callback in useDataProvider hook

* [] Update empty cumulative values

* [] Add horizontal line under header in orderbook

* [] reuse orderbook data in market-depth chart

* [] restart market depth provider on sequenceNumber gap

* [] use throttle in orderbook and depth-chart

* [] Add comments, refactor data functions

* [] Add comments, refactor data functions

* [] move orderbook and depth-chart libs to market-depth
2022-04-26 17:26:28 +02:00
Joe Tsang
cd343cc1fe
UI test for positions table ()
* Positions test passing with mocks

* Update position mocks with changes

* Use Cypress env for public key in mock
2022-04-26 14:20:31 +01:00
Bartłomiej Głownia
2cdf349641
Limit number of warnings in tests () 2022-04-25 17:33:49 +01:00
Dexter Edwards
ce5d7bc15b
run nx format () 2022-04-25 15:03:58 +01:00
Matthew Russell
dbd0514515
Fix/177 add check for gridref.current.api before using methods () 2022-04-07 15:27:34 -07:00
Bartłomiej Głownia
c573349f68
[] Add accounts table ()
* [] Add accounts table

* [] Add summary row to accounts table
2022-04-06 10:48:05 -07:00
Dexter
ea89acf44e fix lint errors 2022-04-04 09:22:49 +01:00
Bartłomiej Głownia
8424dc718d
[] Use native ag-grid sort instead on useMemo ()
* [] Use native ag-grid sort instead on useMemo

* [] Add secondary sort on positions table - order by instrument name, market id
2022-03-31 09:14:16 -07:00
sam-keen
b6df83ede8 Resolved merge conflicts with master, reduced warnings 2022-03-31 14:20:36 +01:00
Matthew Russell
4899d1bce8
Task/Mark translations ()
* add dummy i18n translate function to market text that will need translation in future

* add i18n function to aria-labels
2022-03-30 18:08:25 -07:00
Bartłomiej Głownia
7af0efa8d8 Enable @typescript-eslint/consistent-type-imports eslint rule 2022-03-30 13:05:41 +02:00
Matthew Russell
858bd372d2 prevent positions table if not party id provided, handle no data in async renderer 2022-03-29 17:01:34 -07:00
Matthew Russell
edce1c7869 rename graphql dir to types 2022-03-29 16:03:27 -07:00
Matthew Russell
3f62c79f8d colocate querys with libs 2022-03-29 15:52:51 -07:00
Bartłomiej Głownia
9c42f54331 [] Fix type issues 2022-03-29 19:31:00 +02:00
Bartłomiej Głownia
444f1b6584 [] Capitalize types in position queries 2022-03-29 19:13:01 +02:00
Bartłomiej Głownia
fe29e86c74 [] Add market data details to positions query 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
043c733185 [] Add more positions-table unit tests 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
a68bce9ed1 [] replace assign-deep with loadash/merge 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
7f1632d44d [] add <PositionsTable/> component 2022-03-29 18:57:13 +02:00
Bartłomiej Głownia
30c990bb3e Add positions library 2022-03-29 18:55:41 +02:00