test(trading): add funding spec (#5028)

This commit is contained in:
daro-maj 2023-10-12 12:58:32 +02:00 committed by GitHub
parent 5d7e4d273a
commit 695a059dde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 5 deletions

View File

@ -9,3 +9,4 @@ When I enter on ledger entries tab in portfolio page
- in the form **Must** see inputs for select time period, in which reports will be downloaded (<a name="7007-LEEN-003" href="#7007-LEEN-003">7007-LEEN-003</a>)
- default preselected period **Must** be the last 7 days (<a name="7007-LEEN-004" href="#7007-LEEN-004">7007-LEEN-004</a>)
- during download a loader component **Must** be visible and all interactive elements in the form **Must** be disabled (<a name="7007-LEEN-005" href="#7007-LEEN-005">7007-LEEN-005</a>)
- **Must** see a note about time in file are in UTC and timezone of the user relative to UTC (<a name="7007-LEEN-006" href="#7007-LEEN-006">7007-LEEN-006</a>)

View File

@ -0,0 +1,22 @@
# View my funding payment(s)
- **Must** be able to view my funding payment from the trading page (<a name="7008-FUND-001" href="#7008-FUND-001">7008-FUND-001</a>)
- **Must** be able to view my funding payment from the portfolio page (<a name="7008-FUND-002" href="#7008-FUND-002">7008-FUND-002</a>)
- **Must** be able to view the following columns (<a name="7008-FUND-003" href="#7008-FUND-003">7008-FUND-003</a>):
- Market
- Amount
- Date
- **Must** The columns 'Amount' must change color and have a + or - suffix depending on being positive/negative (<a name="7008-FUND-004" href="#7008-FUND-004">7008-FUND-004</a>)
- **Must** be able to sort each column by asc and dsc (<a name="7008-FUND-005" href="#7008-FUND-005">7008-FUND-005</a>)
- **Must** be able to drag and drop column names to re order (<a name="7008-FUND-006" href="#7008-FUND-006">7008-FUND-006</a>)
- **Must** be able to remove columns by dragging headers out of the table (<a name="7008-FUND-007" href="#7008-FUND-007">7008-FUND-007</a>)
- **Must** be able to resize the width of the columns (<a name="7008-FUND-008" href="#7008-FUND-008">7008-FUND-008</a>)
- **Must** retain previous column sizing on refresh (<a name="7008-FUND-009" href="#7008-FUND-009">7008-FUND-009</a>)
# Chart
- **Must** see Funding tab on trading page for perp market only (<a name="7008-FUND-010" href="#7008-FUND-010">7008-FUND-010</a>)
- **Must** see funding rate on hover (<a name="7008-FUND-011" href="#7008-FUND-011">7008-FUND-011</a>)

View File

@ -69,21 +69,23 @@ The specs no longer exist in this repo and can be found [here](https://github.co
## `6000` Markets and analysis
- `6001-MARK` [Find markets](6001-MARK-find_markets.md)
- `6002-MARD` [View market specification](6002-MDET-market-details.md) `TODO`
- `6003-ORDB` [Analyze Order book](6003-ORDB-order_book.md) `TODO`
- `6002-MARD` [View market specification](6002-MDET-market-details.md)
- `6003-ORDB` [Analyze Order book](6003-ORDB-order_book.md)
- `6004-PHIS` [Analyze price history](6004-PHIS-price_history.md) `TODO`
- `6005-THIS` [Analyze trade history](6005-THIS-trade_history.md) `TODO`
- `6005-THIS` [Analyze trade history](6005-THIS-trade_history.md)
- `6006-DEPC` [View depth chart](6006-DEPC-chart.md)
- `6007-CHAR` [View chart](6007-CHAR-chart.md)
## `7000` Collateral, Orders, Positions and Fills
## `7000` Collateral, Orders, Positions, Fills and Funding
- `7001-COLL` [View my collateral / accounts](7001-COLL-collateral.md)
- `7002-SORD` [Submit an order](7002-SORD-submit_orders.md)
- `7003-MORD` [Manage my orders](7003-MORD-manage_orders.md)
- `7004-POSI` [View my positions](7004-POSI-positions.md) `TODO`
- `7004-POSI` [View my positions](7004-POSI-positions.md)
- `7005-FILL` [View my trades/fills](7005-FILL-fills.md)
- `7006-FEES` [View my trading fees](7006-FEES-fees.md) `TODO`
- `7007-LEEN` [View ledger entries](7006-FEES-fees.md)
- `7008-FUND` [View my funding payment](7006-FEES-fees.md)
## `8000` Understand transactions and blocks