Account
Updates account trading value display
Changed onTo 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 URLhttps://api.testnet.paradex.trade/v1
- URLhttps://api.testnet.paradex.trade/v1/account/settings/trading_value_display
- AuthAPI key in header Authorization
Request body
Response
OK
Example response
{
"is_username_private": true,
"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
- breaking
added required request body
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking