Performance

This endpoint can be called using:

https://api.adiinvestments.net/v1/stock/performance/<symbol>/<period>

Returns the performance of the stock against the S&P500 (also known as "the market"):

  • Market Performance %

  • Period

  • Symbol

  • Symbol Performance %

Callable periods are 1m, 1y, 2y, 5y, and 10y.

Responses

200 Successful
{"marketPerformance":24.01,
"period":"1y",
"symbol":"AAPL",
"symbolPerformance":35.56}
401 Unauthorized
{"error_code":403,
"error_message":"Invalid API key."}
429 Too Many Requests
{"error_code":429,
"error_message":"Rate limit exceeded. Please try again later."}

Last updated