user

Get current user preferences

Changed on
get/v1/users/me/preferences

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/users/me/preferences
  • Auth
    HTTP bearer

Query parameters

expectedUserIdstring

Response

Successful response

feedMinNotionalnumber required
tickerView'watchlist' | 'traders' required
tickerPeriod'7d' | '30d' | 'all' | '24h' required
tickerFavoriteOrderstring[] required
favoriteTimeframesstring[] required
chartType'bars' | 'candles' | 'hollow-candles' | 'line' | 'area' | 'baseline' | 'heikin-ashi' required
chartInterval'1' | '3' | '5' | '15' | '30' | '60' | '120' | '240' | '480' | '720' | '1S' | '1D' | '3D' | '1W' required
netWorthChartRange'1d' | '1w' | '1m' | 'all' required

Changes

    • info

      the response's property default value changed from {"position":true,"liquidation":true,"orders":true,"fills":false} to {"position":true,"liquidation":true,"orders":true,"fills":true} for the status

    • breaking

      the response's property type changed from string to no type for status

    • info

      added subschema #1 subschema #2 to the response property anyOf list for the response status

    • info

      removed the en enum value from the response property for the response status

    • info

      removed the fr enum value from the response property for the response status

    • info

      removed the ja enum value from the response property for the response status

    • info

      removed the ko enum value from the response property for the response status

    • info

      removed the th enum value from the response property for the response status

    • info

      removed the zh-CN enum value from the response property for the response status