TA APIs Documentation

Welcome to the documentation for the technical analysis (TA) APIs provided by this application.

Simple Moving Average

Endpoint: /simple-moving-average/:symbol/:maxDate/:length
Description: Retrieves the simple moving average for the specified stock symbol over a specified period.
Parameters:

  • :symbol (required) - The stock symbol.
  • :maxDate (required) - The maximum date to include in the calculation (in the format 'yyyy-mm-dd').
  • :length (required) - The number of days to calculate the moving average over.
Authentication: API key authentication required.
Example call: https://api.deltaneutral.net/simple-moving-average/AAPL/TODAY/20?apikey=DEMOAPIKEY

Exponential Moving Average

Endpoint: /exponential-moving-average/:symbol/:maxDate/:length
Description: Retrieves the exponential moving average for the specified stock symbol over a specified period.
Parameters:

  • :symbol (required) - The stock symbol.
  • :maxDate (required) - The maximum date to include in the calculation (in the format 'yyyy-mm-dd').
  • :length (required) - The number of days to calculate the moving average over. Must be 20, 50, 100, or 200.
Authentication: API key authentication required.
Example call: https://api.deltaneutral.net/exponential-moving-average/AAPL/TODAY/20?apikey=DEMOAPIKEY

Relative Strength Index

Endpoint: /rsi/:symbol/:maxDate
Description: Retrieves the relative strength index for the specified stock symbol up to the specified maximum date.
Parameters:

  • :symbol (required) - The stock symbol.
  • :maxDate (required) - The maximum date to include in the calculation (in the format 'yyyy-mm-dd').
Authentication: API key authentication required.
Example call: https://api.deltaneutral.net/rsi/AAPL/TODAY?apikey=DEMOAPIKEY

Moving Average Convergence Divergence

Endpoint: /macd/:symbol/:maxDate
Description: Retrieves the MACD index (fast line, slow line, signal line) for the specified stock symbol up to the specified maximum date.
Parameters:

  • :symbol (required) - The stock symbol.
  • :maxDate (required) - The maximum date to include in the calculation (in the format 'yyyy-mm-dd').
Authentication: API key authentication required.
Example call: https://api.deltaneutral.net/macd/AAPL/TODAY?apikey=DEMOAPIKEY

Bollinger Bands

Endpoint: /bollinger-bands/:symbol/:maxDate/:period/:stddev
Description: Retrieves the Bollinger Bands for the specified stock symbol up to the specified maximum date.
Parameters:

  • :symbol (required) - The stock symbol.
  • :maxDate (required) - The maximum date to include in the calculation (in the format 'yyyy-mm-dd').
  • :period (required) - The period to calculate Bollinger Bands over. Should be 20.
  • :stddev (required) - The standard deviation to use when calculating Bollinger Bands. Should be 2.
Authentication: API key authentication required.
Example call: https://api.deltaneutral.net/bollinger-bands/AAPL/TODAY/2?apikey=DEMOAPIKEY