Introduction
This API call is used to retrieve the Slow Stochastics for the specified stock symbol up to the specified maximum date. Slow Stochastics is a technical analysis tool that compares a stock’s closing price to its price range over a given time period. It consists of the Fast %K line, Slow %K line, and Slow %D line.
Endpoint
/slow-stochastics/:symbol/:maxDate/:period/:fastk_period/:slowk_period/:slowd_periodParameters
- symbol (string, required) – The stock symbol for which to retrieve the Slow Stochastics.
- maxDate (date, required) – The maximum date to include in the calculation (in the format ‘yyyy-mm-dd’).
- period (integer, required) – The period to calculate Slow Stochastics over. Should be 14.
- fastk_period (integer, required) – The period used for the Fast %K line. Should be 3.
- slowk_period (integer, required) – The period used for the Slow %K line. Should be 3.
- slowd_period (integer, required) – The period used for the Slow %D line. Should be 3.
Authentication
API key authentication is required to access this endpoint.
Example Call
Retrieve the Slow Stochastics for Apple Inc. up to April 23, 2023:
Error Handling
If no data comes back, please check for valid input parameters. This automatically returns one year of data from the maxDate and backwards
Example Response
{
"symbol":"AAPL",
"quotedate":"2022-04-04T00:00:00.000Z",
"period":14,
"smoothing":3,
"kline":21.8481,
"dline":27.3415
}