Account

Updates account trading value display

Changed on

To set user preferences for the trading value display on the UI, Spot Notional will use spot price, and Market Value will use the market price.

post/account/settings/trading_value_display

Request

  • Base URL
    https://api.prod.paradex.trade/v1
  • URL
    https://api.prod.paradex.trade/v1/account/settings/trading_value_display
  • Auth
    API key in header Authorization

Request body

trading_value_displaystring required

Response

OK

ai_agent_urlstring
is_username_privateboolean
last_seen_notificationinteger
market_max_slippageobject
marketed_bystring
referral_codestring
referred_bystring
size_currency_displaystring
tap_statusstring

TAP affiliate status: "NONE", "ACTIVE", or "INACTIVE"

twitter_followingobject
usernamestring

Example response

{
  "ai_agent_url": "wss://agent.example.com:18789",
  "is_username_private": true,
  "last_seen_notification": 1713400000000,
  "marketed_by": "maxDegen",
  "notifications": {
    "fill_sound": true,
    "fills": true,
    "orders": true,
    "transfers": true
  },
  "referral": {
    "commission_rate": "0.1",
    "commission_volume_cap": "1000000000",
    "discount_rate": "0.1",
    "discount_volume_cap": "30000000",
    "minimum_volume": "0.123",
    "name": "Referral",
    "points_bonus_rate": "0.1",
    "points_bonus_volume_cap": "1000000000",
    "referral_type": "Referral"
  },
  "referral_code": "cryptofox8",
  "referred_by": "maxDegen",
  "size_currency_display": "BASE",
  "tap_share_rate": {
    "last_updated_at": 1715592690488,
    "share_rate": "0.2"
  },
  "username": "username",
  "xp_share_rate": {
    "last_updated_at": 1715592690488,
    "share_rate": "0.2"
  }
}

Changes

    • warning

      added the new ADDRESS_BOOK_NOT_PARADEX_ACCOUNT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_NOT_PARADEX_ACCOUNT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_REPEATED_IN_IMPORT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_REPEATED_IN_IMPORT enum value to the //// response property for the response status

    • warning

      added the new STARKNET_PARENT_ONBOARDING_DISABLED enum value to the //// response property for the response status

    • warning

      added the new STARKNET_PARENT_ONBOARDING_DISABLED enum value to the //// response property for the response status

    • warning

      added the new SESSION_EXPIRED enum value to the //// response property for the response status

    • warning

      added the new SESSION_EXPIRED enum value to the //// response property for the response status

    • warning

      added the new SESSION_REVOKED enum value to the //// response property for the response status

    • warning

      added the new SESSION_REVOKED enum value to the //// response property for the response status