vega-frontend-monorepo/specs/7004-POSI-positions.md
2023-08-07 08:41:25 +01:00

1.9 KiB

View my Position(s)

  • Must be able to view my positions from the trading and portfolio page (7004-POSI-001)

  • Must be able to view the following columns (7004-POSI-002):

    • market
    • notional
    • open volume
    • mark price
    • settlement asset
    • entry price
    • leverage
    • margin allocated
    • realised PNL
    • unrealised PNL
    • Updated
  • Must be able to sort each column by asc and dsc (7004-POSI-003)

  • Must be able to scroll horizontally to see all columns if screen resolution isn't wide enough (7004-POSI-004)

  • Must be able to drag and drop column names to re order (7004-POSI-005)

  • Must be able to resize the width of the columns (7004-POSI-006)

  • Must The columns 'Open volume', 'realised PNL' and 'Unrealised PNL' must change color and have a + or - suffix depending on being positive/negative (7004-POSI-007)

  • Must be able to select settlement asset to view asset details (7004-POSI-008)

  • Must be able to select the 3 dots to view asset details (7004-POSI-009)

  • Must be able to select the close button to close my position (7004-POSI-010)

  • Must be able to see warnings for a market with a tooltip explanation (7004-POSI-011)

  • Must retain previous column sizing on refresh (7004-POSI-012)

  • Must notional column has a tooltip on hover (7004-POSI-013)