vega-frontend-monorepo/specs/6003-ORDB-order_book.md

18 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2023-08-07 07:41:25 +00:00
# Order book
As a market user I want to see information about orders existing in the market.
- I **Must** see Orders tab (<a name="6003-ORDB-001" href="#6003-ORDB-001">6003-ORDB-001</a>)
- I **Must** see table filled with existing orders data (<a name="6003-ORDB-002" href="#6003-ORDB-002">6003-ORDB-002</a>)
- I **Must** see prices of orders (<a name="6003-ORDB-003" href="#6003-ORDB-003">6003-ORDB-003</a>)
- I **Must** see bid/ask volume for each price (<a name="6003-ORDB-004" href="#6003-ORDB-004">6003-ORDB-004</a>)
- I **Must** see cumulative volume for each price (<a name="6003-ORDB-005" href="#6003-ORDB-005">6003-ORDB-005</a>)
- I **Must** see mid price in the middle of the table (<a name="6003-ORDB-006" href="#6003-ORDB-006">6003-ORDB-006</a>)
- I **Must** see prices sorted descending (<a name="6003-ORDB-007" href="#6003-ORDB-007">6003-ORDB-007</a>)
- I **Must** be able to set a resolution of data (<a name="6003-ORDB-008" href="#6003-ORDB-008">6003-ORDB-008</a>)
- When I click specific price, it **Must** be copied to deal ticket form (<a name="6003-ORDB-009" href="#6003-ORDB-009">6003-ORDB-009</a>)
- Order is removed from orderbook if traded away (<a name="6003-ORDB-010" href="#6003-ORDB-010">6003-ORDB-010</a>)
- Spread (bestAsk - bestOffer) is show in the mid secion (<a name="6003-ORDB-011" href="#6003-ORDB-011">6003-ORDB-011</a>)
- Cumulative volume is displayed visually (volume bars) as a proportion of the entire book volume (<a name="6003-ORDB-012" href="#6003-ORDB-012">6003-ORDB-012</a>)
- Mid section shows the last traded price movement using an arrow (<a name="6003-ORDB-013" href="#6003-ORDB-013">6003-ORDB-013</a>)