Add or remove tracked tickers
Adds the symbols in add to the tracked set and removes the ones in remove, leaving the rest alone; removals apply first. Every added symbol must be a ticker TradingPal knows and the result must fit the cap, otherwise nothing changes and the error names the offending symbols; names in remove that are not tracked are ignored. Send either list or both. Symbols are upper-cased and duplicates dropped. This also changes the user's My watchlist on the site. The agent tools add_tickers and remove_tickers call this.
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
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
{
"add": [
"NVDA"
],
"remove": [
"AAPL"
]
}Response
The tracked set as it stands
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.