Retrieve user preferences

A user should be able to retrieve his preferences, so he can see what are the markets and strategies types he will receive.

Note

The user should be logged in.

GET https://api.tradingpartners.ai/api/v1/users/preferences

Get users/preferences response object

Attributes


longTermStrategy - boolean
User wants to receive long term strategy.


shortTermStrategy - boolean
User wants to receive long term strategy.


cryptocurrencies - boolean
User wants to receive opportunities on cryptocurrencies market.


forex - boolean
User wants to receive opportunities on forex market.


indices - boolean
User wants to receive opportunities on indices market.


commodities - boolean
User wants to receive opportunities on commodities market.


futures - boolean
User wants to receive opportunities on futures market.


stocks - boolean
User wants to receive opportunities on stocks market.


etfs - boolean
User wants to receive opportunities on etfs market.

Authorization header

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidG9rZW4iLCJmb3IiOiJ1c2VyIiwid2l0aCI6ImdyYWRlIiwiZnVsbCI6dHJ1ZX0.sWNz-Z0oGGWoSwaVlOGyzCQdYCWJQmKSSFvZIJzchZw

Get users/preferences response object

{
  "longTermStrategy": false,
  "shortTermStrategy": true,
  "cryptocurrencies": true,
  "forex": false,
  "indices": false,
  "commodities": false,
  "futures": true,
  "stocks": false,
  "etfs": false
}