vega-frontend-monorepo/specs/6002-MDET-market-details.md
m.ray 290b7ae856
feat(trading): browse perpetuals [stagnet1] (#4590)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: Joe Tsang <30622993+jtsang586@users.noreply.github.com>
Co-authored-by: Joe <joe@vega.xyz>
2023-09-20 10:11:03 +01:00

5.4 KiB

Market

As a trading platform user I want to see all possible information about market. IMPORTANT: Available entries may vary depending on market specifics (e.g. oracle related). Separate ACs may be created for more detailed information.

Market details

When I am on trading platform I Must see following market details summary on the top of trading page: Depending on the market data, tooltips may be available for some records when hovered on.

Market data

When I look into market info I Must see following data:

  • Current fees: (6002-MDET-101)
    • Maker Fee
    • Infrastracture Fee
    • Liquidity Fee
    • Total Fees
  • Market price: (6002-MDET-102)
    • Mark Price
    • Best Bid Price
    • Best Offer Price
    • Quote Unit
  • Market volume: (6002-MDET-103)
    • 24 Hour Volume
    • Open Interest
    • Best Bid Volume
    • Best Offer Volume
    • Best Static Bid Volume
    • Best Static Offer Volume
  • Insurance pool: (6002-MDET-104)
    • Balance

Market specification

When I look into market info I Must see following specification:

  • Key details: (6002-MDET-201)
    • Name
    • Market ID
    • Trading Mode
    • Market Decimal Places
    • Position Decimal Places
    • Settlement Asset Decimal Places
  • Instrument: (6002-MDET-202)
    • Market Name
    • Code
    • Product Type
    • Quote Name
  • Oracle: (6002-MDET-203)
    • content may vary
  • Settlement oracle: (6002-MDET-204)
    • content may vary
  • Termination oracle: (6002-MDET-205)
    • optional. only for futures. content may vary
  • Settlement schedule oracle: (6002-MDET-206)
    • optional. only for perpetuals. content may vary
  • Settlement asset: (6002-MDET-207)
    • ID
    • Type
    • Name
    • Symbol
    • Decimals
    • Quantum
    • Status
    • Contract address (link)
    • Withdrawal threshold
    • Lifetime limit
    • Infrastracture fee account balance
    • Global reward pool account balance
  • Metadata: (6002-MDET-208)
    • Expiry Date
    • Base
    • Quote
    • Class
    • Sector
    • Enactment
    • Settlement
  • Risk model: (6002-MDET-209)
    • Tau
    • Risk Aversion Parameter
  • Risk parameters: (6002-MDET-210)
    • Sigma
  • Risk factors: (6002-MDET-211)
    • Short
    • Long
  • price monitoring bounds (multiple bounds possible): (6002-MDET-212)
    • Highest Price
    • Lowest Price
  • Liquidity monitoring parameters: (6002-MDET-213)
    • Triggering Ratio
    • Time Window
    • Scaling Factor
  • Liquidity: (6002-MDET-214)
    • Target Stake
    • Supplied Stake
    • Market Value Proxy
    • link to liquidity provision table
  • Liquidity price range: (6002-MDET-215)
    • Liquidity Price Range
    • Lowest Price
    • Highest Price

Market governance

When I look into market info I Must see following governance information:

  • Proposal: (6002-MDET-301)

    • link to governance proposal
    • link to propose a change to market
  • Succession line: (6002-MDET-302): a list consisting of an origin market and all of its successors one-by-one. The list Should contain:

    • Market Code which links to the corresponding governance proposal
    • Market Name
    • Market ID

    When I look at the succession line list I Should easily distinguish which market is the currently viewed market so I can see the ancestor-descendant relations between the current and other markets on the list.

Market successor

When I'm tranding on the market, I Must see there are:

  • Market successor: (6002-MDET-401)
    • link to the successor market
    • 24 h volume of the successor market
    • Remaining time until parent market expires
  • Proposal for the market successor : (6002-MDET-402)
    • link to governance proposal
    • name of the proposed market