Stradr.com API
  • Welcome!
    • Obtaining an API Key
    • Making your first request
  • Order endpoints
    • [POST] Buy Orders
    • [POST] Sell Orders
  • Account endpoints
    • [POST] Change Settings
    • [GET] Query Positions
    • [GET] Query Account Value
    • [GET] Query Daily Change
    • [GET] Query Buying Power
    • [GET] Query Statistic
    • [GET] Query Settings
    • [GET] Query Ranking
    • [GET] Query API Requests
    • [GET] Generate statistical report
Powered by GitBook
On this page
  1. Account endpoints

[POST] Change Settings

Modify any visually exposed account setting

Note that this endpoint cannot be used to generate new API keys, modify API plans, or preform destructive actions. These actions can only occur in the visual interface.

Parameter
Description
Accepted arguments

Setting

Name of setting being modified

"bio", "educationMode", "darkMode", "profileVisibility", "leaderboardVisibility", "currency"

Value

New value of setting

See below chart

Arguments for value query
Description
Accepted arguments

bio

User description

Any string of characters equal to or below 410 characters

educationMode

Whether the account is in education mode or not

"on", "off"

darkMode

Dark or light mode setting of the visual interface

"true", "false"

profileVisibility

Public visibility of profile

"public", "private", "invisible"

leaderboardVisibility

Visibility of leaderboards

"auto", "nonames", "off"

currency

Currency displayed in the visual interface. Note that this does not modify the currency returned by the API or the currency of orders

"gbp", "usd", "eur"

Example request:

GET https://stradr.com/api/changeSettings?setting=profileVisibility&value=invisible
Previous[POST] Sell OrdersNext[GET] Query Positions

Last updated 1 year ago