TradePanel

This area offers a general suite of trading tools for users.

The TradePanel component is an interface that allows users to configure and execute trades. It combines various sub-components and allows users to from selecting the position and order type to setting stop losses and reviewing trade details.

Overview:

  • Component Purpose: Serves as the central hub for users to input trade parameters, review potential trades, and confirm trade execution.

  • Key Components:

    • OrderTypeTab and PositionTypeTab for selecting the trade's order and position types.

    • AmountsPanel for inputting trade amounts and prices.

    • MinPositionInfo displays minimum position information relevant to the selected market.

    • StopLoss for configuring stop loss parameters (optional based on configuration).

    • TradeActionButtons for submitting or cancelling the trade.

    • TradeOverview for a summary of the trade before execution.

    • OpenPositionModal modal for reviewing and confirming the trade details.

  • Configuration Options: Configurable to show or hide certain features like stop loss configuration based on the WEB_SETTING.showStopLoss flag.

Last updated