API Documentation | Intrinio

API Documentation

We have released a new API version! Select v1 to see the old version.

Moving Average Convergence Divergence

Moving Average Convergence Divergence

Returns the Moving Average Convergence Divergence values of Stock Prices for the Security with the given `identifier`

Endpoint:
https://api-v2.intrinio.com/securities/{identifier}/prices/technicals/macd
Available in Sandbox
Experimental - Not recommended for Production

Parameters

Name Description Example
identifier
* required
A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) AAPL
fast_period
The number of observations, per period, to calculate the fast moving Exponential Moving Average for Moving Average Convergence Divergence 12
slow_period
The number of observations, per period, to calculate the slow moving Exponential Moving Average for Moving Average Convergence Divergence 26
signal_period
The number of observations, per period, to calculate the signal line for Moving Average Convergence Divergence 9
price_key
The Stock Price field to use when calculating Moving Average Convergence Divergence
Options:
open
high
low
close
volume
show more show less
close
start_date
Return technical indicator values on or after the date 2018-01-01
end_date
Return technical indicator values on or before the date 2019-01-01
page_size
The number of results to return 100
next_page
Gets the next page of data from a previous API call -
identifier
* required
A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
fast_period
* required
The number of observations, per period, to calculate the fast moving Exponential Moving Average for Moving Average Convergence Divergence
slow_period
* required
The number of observations, per period, to calculate the slow moving Exponential Moving Average for Moving Average Convergence Divergence
signal_period
* required
The number of observations, per period, to calculate the signal line for Moving Average Convergence Divergence
price_key
* required
The Stock Price field to use when calculating Moving Average Convergence Divergence
start_date
* required
Return technical indicator values on or after the date
end_date
* required
Return technical indicator values on or before the date
page_size
* required
The number of results to return
next_page
* required
Gets the next page of data from a previous API call

Output Fields

Name Description Type
technicals
array
date_time
The date_time of the observation string
macd_histogram
The histogram value of the Moving Average Convergence Divergence calculation number
macd_line
The line value of the Moving Average Convergence Divergence calculation number
signal_line
The signal line value of the Moving Average Convergence Divergence calculation number
indicator
The name and symbol of the technical indicator object
name
The name of the Technical Indicator string
symbol
The symbol of the Technical Indicator string
security
The Security of the Stock Price object
id
The Intrinio ID for Security string
company_id
The Intrinio ID for the Company for which the Security is issued string
name
The name of the Security string
code
A 2-3 digit code classifying the Security (reference) string
currency
The currency in which the Security is traded on the exchange string
ticker
The common/local ticker of the Security string
composite_ticker
The country-composite ticker of the Security string
figi
The OpenFIGI identifier string
composite_figi
The country-composite OpenFIGI identifier string
share_class_figi
The global-composite OpenFIGI identifier string
next_page The token required to request the next page of the data. If null, no further results are available. string
technicals
indicator
The name and symbol of the technical indicator
security
The Security of the Stock Price
next_page
The token required to request the next page of the data. If null, no further results are available.