tickers
Replace the tracked tickers (all-or-nothing)
Replaces the whole tracked set with the symbols in the body, all or nothing: every symbol must be a ticker TradingPal knows and the list must fit the cap, otherwise nothing changes and the error names the offending symbols. Read GET /tickers first and include the tickers to keep. Symbols are upper-cased and duplicates dropped. This also rewrites the user's My watchlist on the site.
put/tickers
Request
- Base URL: https://api.tradingpal.io/api/v1
- URL: https://api.tradingpal.io/api/v1/tickers
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.tradingpal.io/oauth/authorize, token URL https://api.tradingpal.io/oauth/token, scopes: patterns)
Headers
X-TradingPal-Clientstring
Optional name of the agent or script making the call. It is recorded in the account's usage log so the user can see which client made which calls; the User-Agent is recorded when it is absent.
Request body
Example request
{
"symbols": [
"NVDA",
"AAPL"
]
}Response
The new tracked set
Example response
{
"api_version": "v1",
"tickers": [
{
"symbol": "NVDA",
"covered": true
}
],
"count": 1,
"cap": 200,
"account": {
"email": "you@example.com"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.