Skip to content

Latest commit

 

History

History
5702 lines (3492 loc) · 167 KB

SecurityApi.md

File metadata and controls

5702 lines (3492 loc) · 167 KB

IntrinioSDK::SecurityApi

All URIs are relative to https://api-v2.intrinio.com

Method HTTP request Description
get_all_securities GET /securities All Securities
get_security_by_id GET /securities/{identifier} Lookup Security
get_security_data_point_number GET /securities/{identifier}/data_point/{tag}/number Data Point (Number) for Security
get_security_data_point_text GET /securities/{identifier}/data_point/{tag}/text Data Point (Text) for Security
get_security_historical_data GET /securities/{identifier}/historical_data/{tag} Historical Data for Security
get_security_history_by_identifier GET /securities/history-by-identifier/{identifier} Security History By Identifier
get_security_history_by_ticker GET /securities/history-by-ticker/{ticker} Security History By Ticker
get_security_insider_ownership GET /securities/{identifier}/institutional_ownership Institutional Ownership by Security
get_security_interval_movers GET /securities/market_movers Security Intervals Movers
get_security_interval_movers_change GET /securities/market_movers/change Security Intervals Movers By Change
get_security_interval_movers_volume GET /securities/market_movers/volume Security Intervals Movers By Volume
get_security_interval_prices GET /securities/{identifier}/prices/intervals Interval Stock Prices for Security
get_security_intraday_prices GET /securities/{identifier}/prices/intraday Intraday Stock Prices for Security
get_security_latest_dividend_record GET /securities/{identifier}/dividends/latest Latest Dividend Record for Security
get_security_latest_earnings_record GET /securities/{identifier}/earnings/latest Latest Earnings Record for Security
get_security_price_technicals_adi GET /securities/{identifier}/prices/technicals/adi Accumulation/Distribution Index
get_security_price_technicals_adtv GET /securities/{identifier}/prices/technicals/adtv Average Daily Trading Volume
get_security_price_technicals_adx GET /securities/{identifier}/prices/technicals/adx Average Directional Index
get_security_price_technicals_ao GET /securities/{identifier}/prices/technicals/ao Awesome Oscillator
get_security_price_technicals_atr GET /securities/{identifier}/prices/technicals/atr Average True Range
get_security_price_technicals_bb GET /securities/{identifier}/prices/technicals/bb Bollinger Bands
get_security_price_technicals_cci GET /securities/{identifier}/prices/technicals/cci Commodity Channel Index
get_security_price_technicals_cmf GET /securities/{identifier}/prices/technicals/cmf Chaikin Money Flow
get_security_price_technicals_dc GET /securities/{identifier}/prices/technicals/dc Donchian Channel
get_security_price_technicals_dpo GET /securities/{identifier}/prices/technicals/dpo Detrended Price Oscillator
get_security_price_technicals_eom GET /securities/{identifier}/prices/technicals/eom Ease of Movement
get_security_price_technicals_fi GET /securities/{identifier}/prices/technicals/fi Force Index
get_security_price_technicals_ichimoku GET /securities/{identifier}/prices/technicals/ichimoku Ichimoku Kinko Hyo
get_security_price_technicals_kc GET /securities/{identifier}/prices/technicals/kc Keltner Channel
get_security_price_technicals_kst GET /securities/{identifier}/prices/technicals/kst Know Sure Thing
get_security_price_technicals_macd GET /securities/{identifier}/prices/technicals/macd Moving Average Convergence Divergence
get_security_price_technicals_mfi GET /securities/{identifier}/prices/technicals/mfi Money Flow Index
get_security_price_technicals_mi GET /securities/{identifier}/prices/technicals/mi Mass Index
get_security_price_technicals_nvi GET /securities/{identifier}/prices/technicals/nvi Negative Volume Index
get_security_price_technicals_obv GET /securities/{identifier}/prices/technicals/obv On-balance Volume
get_security_price_technicals_obv_mean GET /securities/{identifier}/prices/technicals/obv_mean On-balance Volume Mean
get_security_price_technicals_rsi GET /securities/{identifier}/prices/technicals/rsi Relative Strength Index
get_security_price_technicals_sma GET /securities/{identifier}/prices/technicals/sma Simple Moving Average
get_security_price_technicals_sr GET /securities/{identifier}/prices/technicals/sr Stochastic Oscillator
get_security_price_technicals_trix GET /securities/{identifier}/prices/technicals/trix Triple Exponential Average
get_security_price_technicals_tsi GET /securities/{identifier}/prices/technicals/tsi True Strength Index
get_security_price_technicals_uo GET /securities/{identifier}/prices/technicals/uo Ultimate Oscillator
get_security_price_technicals_vi GET /securities/{identifier}/prices/technicals/vi Vortex Indicator
get_security_price_technicals_vpt GET /securities/{identifier}/prices/technicals/vpt Volume-price Trend
get_security_price_technicals_vwap GET /securities/{identifier}/prices/technicals/vwap Volume Weighted Average Price
get_security_price_technicals_wr GET /securities/{identifier}/prices/technicals/wr Williams %R
get_security_quote GET /securities/{identifier}/quote Quote for a Security
get_security_realtime_price GET /securities/{identifier}/prices/realtime Realtime Stock Price for Security
get_security_replay_file GET /securities/replay Security Replay File
get_security_snapshots GET /securities/snapshots Realtime Stock Prices Snapshot
get_security_stock_price_adjustments GET /securities/{identifier}/prices/adjustments Stock Price Adjustments by Security
get_security_stock_prices GET /securities/{identifier}/prices Stock Prices by Security
get_security_trades GET /securities/trades Security Trades
get_security_trades_by_symbol GET /securities/{identifier}/trades Security Trades By Symbol
get_security_zacks_analyst_ratings GET /securities/{identifier}/zacks/analyst_ratings Zacks Analyst Ratings for Security
get_security_zacks_analyst_ratings_snapshot GET /securities/{identifier}/zacks/analyst_ratings/snapshot Zacks Analyst Ratings Snapshot
get_security_zacks_eps_surprises GET /securities/{identifier}/zacks/eps_surprises Zacks EPS Surprises for Security
get_security_zacks_sales_surprises GET /securities/{identifier}/zacks/sales_surprises Zacks Sales Surprises for Security
screen_securities POST /securities/screen Screen Securities
search_securities GET /securities/search Search Securities

get_all_securities

View Intrinio API Documentation

ApiResponseSecurities get_all_securities(opts)

All Securities

Returns a list of all securities available. Delisted securities included.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Optional params
opts <- list(
  active = TRUE,
  delisted = FALSE,
  code = NULL,
  currency = NULL,
  ticker = NULL,
  name = NULL,
  composite_mic = NULL,
  exchange_mic = NULL,
  stock_prices_after = NULL,
  stock_prices_before = NULL,
  cik = NULL,
  figi = NULL,
  composite_figi = NULL,
  share_class_figi = NULL,
  figi_unique_id = NULL,
  include_non_figi = FALSE,
  page_size = 100,
  primary_listing = NULL,
  next_page = NULL
)

response <- SecurityApi$get_all_securities(opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
active Logical When TRUE, return securities that are active. When FALSE, return securities that are not active. A security is considered active if it has traded or has had a corporate action in the past 30 days, and has not been merged into another security (such as due to ticker changes or corporate restructurings). [optional]  
delisted Logical When TRUE, return securities that have been delisted from their exchange. Note that there may be a newer security for the same company that has been relisted on a differente exchange. When FALSE, return securities that have not been delisted. [optional]  
code Character Return securities classified with the given code (<a href=&quot;https://docs.intrinio.com/documentation/security_codes\" target=&quot;_blank&quot;>reference</a>). [optional]  
currency Character Return securities traded in the given 3-digit ISO 4217 currency code (<a href=&quot;https://en.wikipedia.org/wiki/ISO_4217\" target=&quot;_blank&quot;>reference</a>). [optional]  
ticker Character Return securities traded with the given ticker. Note that securities across the world (and through time) may trade with the same ticker but represent different companies. Use this in conjuction with other parameters for more specificity. [optional]  
name Character Return securities with the given text in their name (not case sensitive). [optional]  
composite_mic Character Return securities classified under the composite exchange with the given Market Identification Code (MIC). A composite exchange may or may not be a real exchange. For example, the USCOMP exchange (our only composite exchange to date) is a combination of exchanges with the following MICs: ARCX, XASE, XPOR, FINR, XCIS, XNAS, XNYS, BATS. This composite grouping is done for user convenience. At this time, all US securities are classified under the composite exchange with MIC USCOMP. To query for specific US exchanges, use the exchange_mic parameter below. [optional]  
exchange_mic Character The MIC code of the exchange where the security is actually traded. [optional]  
stock_prices_after Date Return securities with end-of-day stock prices on or after this date. [optional]  
stock_prices_before Date Return securities with end-of-day stock prices on or before this date. [optional]  
cik Character Return securities belonging to the company with the given Central Index Key (CIK). [optional]  
figi Character Return securities with the given Exchange Level FIGI (<a href=&quot;https://www.openfigi.com/about\" target=&quot;_blank&quot;>reference</a>). [optional]  
composite_figi Character Return securities with the given Country Composite FIGI (<a href=&quot;https://www.openfigi.com/about\" target=&quot;_blank&quot;>reference</a>). [optional]  
share_class_figi Character Return securities with the given Global Share Class FIGI (<a href=&quot;https://www.openfigi.com/about\" target=&quot;_blank&quot;>reference</a>). [optional]  
figi_unique_id Character Return securities with the given FIGI Unique ID (<a href=&quot;https://www.openfigi.com/about\" target=&quot;_blank&quot;>reference</a>). [optional]  
include_non_figi Logical When TRUE, include securities that do not have a FIGI. By default, this is FALSE. If this parameter is not specified, only securities with a FIGI are returned. [optional] [default to FALSE]  
page_size Integer The number of results to return [optional] [default to 100]  
primary_listing Logical If TRUE, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange. Returns both if omitted. [optional]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurities

get_security_by_id

View Intrinio API Documentation

Security get_security_by_id(identifier)

Lookup Security

Returns security reference data such as ticker, FIGI, primary exchange, CIK, and a unique security identifier.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

response <- SecurityApi$get_security_by_id(identifier)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  

Return type

Security

get_security_data_point_number

View Intrinio API Documentation

Numeric get_security_data_point_number(identifier, tag)

Data Point (Number) for Security

Returns a numeric value for the given tag for the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"
tag <- "close_price"

response <- SecurityApi$get_security_data_point_number(identifier, tag)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
tag Character An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags&#39;&gt;reference&lt;/a>)  

Return type

Numeric

get_security_data_point_text

View Intrinio API Documentation

Character get_security_data_point_text(identifier, tag)

Data Point (Text) for Security

Returns a text value for the given tag for the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"
tag <- "figi"

response <- SecurityApi$get_security_data_point_text(identifier, tag)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
tag Character An Intrinio data tag ID or code-name  

Return type

Character

get_security_historical_data

View Intrinio API Documentation

ApiResponseSecurityHistoricalData get_security_historical_data(identifier, tag, opts)

Historical Data for Security

Returns historical values for the given tag and the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"
tag <- "adj_close_price"

# Optional params
opts <- list(
  frequency = "daily",
  type = NULL,
  start_date = as.Date("2018-01-01"),
  end_date = NULL,
  sort_order = "desc",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_historical_data(identifier, tag, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
tag Character An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags&#39;&gt;reference&lt;/a>)  
frequency Character Return historical data in the given frequency [optional] [default to daily]  
type Character Filter by type, when applicable [optional]  
start_date Date Get historical data on or after this date [optional]  
end_date Date Get historical date on or before this date [optional]  
sort_order Character Sort by date `asc` or `desc` [optional] [default to desc]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityHistoricalData

get_security_history_by_identifier

View Intrinio API Documentation

SecurityHistoryListResult get_security_history_by_identifier(identifier)

Security History By Identifier

Lists the tickers a company has used over time.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "037833100"

response <- SecurityApi$get_security_history_by_identifier(identifier)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (FIGI, COMPOSITE FIGI, SHARE CLASS FIGI, ISIN, CUSIP, Intrinio ID)  

Return type

SecurityHistoryListResult

get_security_history_by_ticker

View Intrinio API Documentation

SecurityHistoryListResult get_security_history_by_ticker(ticker)

Security History By Ticker

Lists the tickers a company has used over time.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
ticker <- "AAPL"

response <- SecurityApi$get_security_history_by_ticker(ticker)

print(response)
print(response$content)

Parameters

Name Type Description Notes
ticker Character A Security ticker symbol  

Return type

SecurityHistoryListResult

get_security_insider_ownership

View Intrinio API Documentation

ApiResponseSecurityInstitutionalOwnership get_security_insider_ownership(identifier, opts)

Institutional Ownership by Security

Returns a list of all institutional owners of a given security.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  next_page = NULL
)

response <- SecurityApi$get_security_insider_ownership(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityInstitutionalOwnership

get_security_interval_movers

View Intrinio API Documentation

SecurityIntervalsMoversResult get_security_interval_movers(opts)

Security Intervals Movers

Returns a list of intervals for the biggest movers over the last hour interval.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Optional params
opts <- list(
  source = NULL,
  open_time = as.POSIXlt(NULL, tz="UTC")
)

response <- SecurityApi$get_security_interval_movers(opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
source Character Realtime or 15-minute delayed contracts. [optional]  
open_time POSIXlt The inclusive UTC date and time the interval opens at. [optional]  

Return type

SecurityIntervalsMoversResult

get_security_interval_movers_change

View Intrinio API Documentation

SecurityIntervalsMoversResult get_security_interval_movers_change(opts)

Security Intervals Movers By Change

Returns a list of intervals for the biggest movers by change over the last hour interval.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Optional params
opts <- list(
  source = NULL,
  open_time = as.POSIXlt(NULL, tz="UTC")
)

response <- SecurityApi$get_security_interval_movers_change(opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
source Character Realtime or 15-minute delayed contracts. [optional]  
open_time POSIXlt The inclusive UTC date and time the interval opens at. [optional]  

Return type

SecurityIntervalsMoversResult

get_security_interval_movers_volume

View Intrinio API Documentation

SecurityIntervalsMoversResult get_security_interval_movers_volume(opts)

Security Intervals Movers By Volume

Returns a list of intervals for the biggest movers by volume over the last hour interval.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Optional params
opts <- list(
  source = NULL,
  open_time = as.POSIXlt(NULL, tz="UTC")
)

response <- SecurityApi$get_security_interval_movers_volume(opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
source Character Realtime or 15-minute delayed contracts. [optional]  
open_time POSIXlt The inclusive UTC date and time the interval opens at. [optional]  

Return type

SecurityIntervalsMoversResult

get_security_interval_prices

View Intrinio API Documentation

ApiResponseSecurityIntervalPrices get_security_interval_prices(identifier, interval_size, opts)

Interval Stock Prices for Security

Return open, close, high, low, volume, average price, and change ratio for a particular interval for the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"
interval_size <- "15m"

# Optional params
opts <- list(
  source = NULL,
  start_date = as.Date("2023-01-01"),
  start_time = 33300,
  end_date = as.Date("2023-02-01"),
  end_time = 33300,
  timezone = "UTC",
  page_size = 100,
  split_adjusted = FALSE,
  include_quote_only_bars = FALSE,
  next_page = NULL
)

response <- SecurityApi$get_security_interval_prices(identifier, interval_size, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
interval_size Character The interval for which to return stock prices [default to 15m]  
source Character Return intervals from the specified data source [optional]  
start_date Date Return intervals starting at the specified date [optional]  
start_time Character Return intervals starting at the specified time on the `start_date` (24-hour in 'hh:mm:ss' format) [optional]  
end_date Date Return intervals stopping at the specified date [optional]  
end_time Character Return intervals stopping at the specified time on the `end_date` (24-hour in 'hh:mm:ss' format) [optional]  
timezone Character Interprets the input times in this time zone, as well as returns times in this timezone. [optional] [default to UTC]  
page_size Integer The number of results to return [optional] [default to 100]  
split_adjusted Logical Whether to return the values adjusted for splits or not. Default is FALSE. [optional] [default to FALSE]  
include_quote_only_bars Logical If TRUE, also include bars where no trades occurred but quotes did. [optional] [default to FALSE]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityIntervalPrices

get_security_intraday_prices

View Intrinio API Documentation

ApiResponseSecurityIntradayPrices get_security_intraday_prices(identifier, opts)

Intraday Stock Prices for Security

Deprecated. Return intraday stock prices for the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  source = NULL,
  start_date = as.Date("2018-01-01"),
  start_time = NULL,
  end_date = as.Date("2019-01-01"),
  end_time = NULL,
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_intraday_prices(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
source Character Return intraday prices from the specified data source [optional]  
start_date Date Return intraday prices starting at the specified date [optional]  
start_time Character Return intraday prices starting at the specified time on the `start_date` (24-hour in 'hh:mm' format, UTC timezone) [optional]  
end_date Date Return intraday prices stopping at the specified date [optional]  
end_time Character Return intraday prices stopping at the specified time on the `end_date` (24-hour in 'hh:mm' format, UTC timezone) [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityIntradayPrices

get_security_latest_dividend_record

View Intrinio API Documentation

DividendRecord get_security_latest_dividend_record(identifier)

Latest Dividend Record for Security

Returns the latest available dividend information for the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

response <- SecurityApi$get_security_latest_dividend_record(identifier)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  

Return type

DividendRecord

get_security_latest_earnings_record

View Intrinio API Documentation

EarningsRecord get_security_latest_earnings_record(identifier)

Latest Earnings Record for Security

Returns latest available earnings information for the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

response <- SecurityApi$get_security_latest_earnings_record(identifier)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  

Return type

EarningsRecord

get_security_price_technicals_adi

View Intrinio API Documentation

ApiResponseSecurityAccumulationDistributionIndex get_security_price_technicals_adi(identifier, opts)

Accumulation/Distribution Index

The Accumulation / Distribution Indicator is a volume-based technical indicator which uses the relationship between the stock`s price and volume flow to determine the underlying trend of a stock, up, down, or sideways trend of a stock.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_adi(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityAccumulationDistributionIndex

get_security_price_technicals_adtv

View Intrinio API Documentation

ApiResponseSecurityAverageDailyTradingVolume get_security_price_technicals_adtv(identifier, opts)

Average Daily Trading Volume

Average Daily Trading Volume is the average number of shares traded over a given period, usually between 20 to 30 trading days.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 22,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_adtv(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Average Daily Trading Volume [optional] [default to 22]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityAverageDailyTradingVolume

get_security_price_technicals_adx

View Intrinio API Documentation

ApiResponseSecurityAverageDirectionalIndex get_security_price_technicals_adx(identifier, opts)

Average Directional Index

The Average Directional Index indicator is often used to identify decreasing or increasing price momentum for an underlying security, it is composed of a total of three indicators, the current trendline (adx), a positive directional indicator (di_pos), and a negative directional indicator (di_neg).

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 14,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_adx(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Average Directional Index [optional] [default to 14]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityAverageDirectionalIndex

get_security_price_technicals_ao

View Intrinio API Documentation

ApiResponseSecurityAwesomeOscillator get_security_price_technicals_ao(identifier, opts)

Awesome Oscillator

The Awesome Oscillator (ao) is a momentum indicator and is calculated by taking the difference between the latest 5 period simple moving average and the 34 period simple moving average. Rather than using the closing price like other indicators, the Awesome Oscillator uses the latest period`s midpoint value (period_high - period_low / 2). The Awesome Oscillator is useful in identifying and trading, zero-line crossovers, twin-peaks trading, and bullish/bearish saucers - Awesome Oscillator is often aggregated with additional technical indicators.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  short_period = 5,
  long_period = 34,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_ao(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
short_period Integer The number of observations, per period, to calculate short period Simple Moving Average of the Awesome Oscillator [optional] [default to 5]  
long_period Integer The number of observations, per period, to calculate long period Simple Moving Average of the Awesome Oscillator [optional] [default to 34]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityAwesomeOscillator

get_security_price_technicals_atr

View Intrinio API Documentation

ApiResponseSecurityAverageTrueRange get_security_price_technicals_atr(identifier, opts)

Average True Range

The Average True Range (ATR) is a non-directional market volatility indicator often used to generate stop-out or entry indications. An increasing or expanding ATR typically indicates higher volatility, and a decreasing ATR indicates sideways price action and lower volatility.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 14,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_atr(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Average True Range [optional] [default to 14]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityAverageTrueRange

get_security_price_technicals_bb

View Intrinio API Documentation

ApiResponseSecurityBollingerBands get_security_price_technicals_bb(identifier, opts)

Bollinger Bands

Bollinger Bands can be a useful technical analysis tool for generating oversold or overbought indicators. Bollinger Bands are composed of three lines, a simple moving average (middle band) and an upper and lower band – the upper and lower bands are typically 2 standard deviations +/- from a 20-day simple moving average, but can be modified. Traders typically consider an underlying security to be overbought as the underlying`s price moves towards the upper band and oversold as the underlying price moves towards the lower band.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 20,
  standard_deviations = 2.0,
  price_key = "close",
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_bb(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Bollinger Bands [optional] [default to 20]  
standard_deviations Numeric The number of standard deviations to calculate the upper and lower bands of the Bollinger Bands [optional] [default to 2.0]  
price_key Character The Stock Price field to use when calculating Bollinger Bands [optional] [default to close]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityBollingerBands

get_security_price_technicals_cci

View Intrinio API Documentation

ApiResponseSecurityCommodityChannelIndex get_security_price_technicals_cci(identifier, opts)

Commodity Channel Index

The Commodity Channel Index (CCI) is a technical indicator used to generate buy and sell signals by indicating periods of strength and weakness in the market. CCI signals that fall below -100 are often perceived as weakness in the underlying price movement and CCI signals that rise above 100 indicate strength behind the underlying price movement.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 20,
  constant = 0.015,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_cci(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Commodity Channel Index [optional] [default to 20]  
constant Numeric The number of observations, per period, to calculate Commodity Channel Index [optional] [default to 0.015]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityCommodityChannelIndex

get_security_price_technicals_cmf

View Intrinio API Documentation

ApiResponseSecurityChaikinMoneyFlow get_security_price_technicals_cmf(identifier, opts)

Chaikin Money Flow

The Chaikin Money Flow (CMF) utilizes exponential moving averages as an indicator to monitor the flow of money and momentum. The CMF indicator oscillates around a midrange 0-line and ranges between 100 and -100.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 20,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_cmf(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Chaikin Money Flow [optional] [default to 20]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityChaikinMoneyFlow

get_security_price_technicals_dc

View Intrinio API Documentation

ApiResponseSecurityDonchianChannel get_security_price_technicals_dc(identifier, opts)

Donchian Channel

The Donchian Channel consists of an Upper Bound (upper_bound) and Lower Bound (lower_bound) that track the recent highs and lows and is often used to signal entry and exit points for a position. As the price of the underlying symbol increases the Upper Bound raises, if the price becomes range bound the Upper Bound will remain flat and if the price begins to decrease, the Upper Bound will fall (and vice-versa for the Lower Bound).

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 20,
  price_key = "close",
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_dc(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Donchian Channel [optional] [default to 20]  
price_key Character The Stock Price field to use when calculating Donchian Channel [optional] [default to close]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityDonchianChannel

get_security_price_technicals_dpo

View Intrinio API Documentation

ApiResponseSecurityDetrendedPriceOscillator get_security_price_technicals_dpo(identifier, opts)

Detrended Price Oscillator

The Detrended Price Oscillator (DPO) signals the peaks and troughs of the underlying symbol’s price for a set period of time and is often used by traders to estimate future peaks and troughs using this as guidance to enter or exit a position.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 20,
  price_key = "close",
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_dpo(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Detrended Price Oscillator [optional] [default to 20]  
price_key Character The Stock Price field to use when calculating Detrended Price Oscillator [optional] [default to close]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityDetrendedPriceOscillator

get_security_price_technicals_eom

View Intrinio API Documentation

ApiResponseSecurityEaseOfMovement get_security_price_technicals_eom(identifier, opts)

Ease of Movement

The Ease of Movement (EOM) is a volume based oscillator that fluctuates around a midrange 0-line into positive and negative values. Positive values indicate that the underlying symbols price is rising with relative ease and negative value indicates the underlying symbols price is failing with relative ease.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 20,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_eom(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Ease of Movement [optional] [default to 20]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityEaseOfMovement

get_security_price_technicals_fi

View Intrinio API Documentation

ApiResponseSecurityForceIndex get_security_price_technicals_fi(identifier, opts)

Force Index

The Force Index (FI) is an oscillator that takes into account the intensity of an underlying symbol`s price movement and its corresponding volume. It is used to confirm price breakouts and signal underlying trends.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_fi(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityForceIndex

get_security_price_technicals_ichimoku

View Intrinio API Documentation

ApiResponseSecurityIchimokuKinkoHyo get_security_price_technicals_ichimoku(identifier, opts)

Ichimoku Kinko Hyo

The Ichimoku Kinko Hyo was designed to be an all-in-one trading indicator that could help traders determine momentum, support, and resistance.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  low_period = 9,
  medium_period = 26,
  high_period = 52,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_ichimoku(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
low_period Integer The number of observations, per period, to calculate Tenkan Sen (Conversion Line) of Ichimoku Kinko Hyo [optional] [default to 9]  
medium_period Integer The number of observations, per period, to calculate Kijun Sen (Base Line), Senkou Span A (Leading Span A), and Chikou Span (Lagging Span) of Ichimoku Kinko Hyo [optional] [default to 26]  
high_period Integer The number of observations, per period, to calculate Senkou Span B (Leading Span B) of Ichimoku Kinko Hyo [optional] [default to 52]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityIchimokuKinkoHyo

get_security_price_technicals_kc

View Intrinio API Documentation

ApiResponseSecurityKeltnerChannel get_security_price_technicals_kc(identifier, opts)

Keltner Channel

The Keltner Channel is a volatility based signal, with upper, middle, and lower bands. It is often used at market open, when the largest moves tend to occur. In general, traders tend to buy if the price breaks up above the upper band or sell short if the price drops below the lower band.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 10,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_kc(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Kelter Channel [optional] [default to 10]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityKeltnerChannel

get_security_price_technicals_kst

View Intrinio API Documentation

ApiResponseSecurityKnowSureThing get_security_price_technicals_kst(identifier, opts)

Know Sure Thing

The Know Sure Thing indicator (KST) is a momentum based oscillator that is calculated by measuring the momentum of four separate price cycles. KST fluctuates above and below a zero line and is used to identify overbought and oversold conditions, and is often used with additional indicators to boost signal strength.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  roc1 = 10,
  roc2 = 15,
  roc3 = 20,
  roc4 = 30,
  sma1 = 10,
  sma2 = 10,
  sma3 = 10,
  sma4 = 15,
  price_key = "close",
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_kst(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
roc1 Integer The number of observations, per period, to calculate the rate-of-change for RCMA1 [optional] [default to 10]  
roc2 Integer The number of observations, per period, to calculate the rate-of-change for RCMA2 [optional] [default to 15]  
roc3 Integer The number of observations, per period, to calculate the rate-of-change for RCMA3 [optional] [default to 20]  
roc4 Integer The number of observations, per period, to calculate the rate-of-change for RCMA4 [optional] [default to 30]  
sma1 Integer The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA1 [optional] [default to 10]  
sma2 Integer The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA2 [optional] [default to 10]  
sma3 Integer The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA3 [optional] [default to 10]  
sma4 Integer The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA4 [optional] [default to 15]  
price_key Character The Stock Price field to use when calculating Know Sure Thing [optional] [default to close]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityKnowSureThing

get_security_price_technicals_macd

View Intrinio API Documentation

ApiResponseSecurityMovingAverageConvergenceDivergence get_security_price_technicals_macd(identifier, opts)

Moving Average Convergence Divergence

Moving average convergence divergence (MACD) is a trend-following momentum oscillator that consists of three indicators: (1) a 12 period short-term exponential moving average (EMA) a 26 period long-term EMA and a 9 period EMA signal line. Traders using MACD often look for signal line crossovers, centerline crossovers, and EMA divergences to indicate the momentum and underlying trend of a security`s price.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  fast_period = 12,
  slow_period = 26,
  signal_period = 9,
  price_key = "close",
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_macd(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
fast_period Integer The number of observations, per period, to calculate the fast moving Exponential Moving Average for Moving Average Convergence Divergence [optional] [default to 12]  
slow_period Integer The number of observations, per period, to calculate the slow moving Exponential Moving Average for Moving Average Convergence Divergence [optional] [default to 26]  
signal_period Integer The number of observations, per period, to calculate the signal line for Moving Average Convergence Divergence [optional] [default to 9]  
price_key Character The Stock Price field to use when calculating Moving Average Convergence Divergence [optional] [default to close]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityMovingAverageConvergenceDivergence

get_security_price_technicals_mfi

View Intrinio API Documentation

ApiResponseSecurityMoneyFlowIndex get_security_price_technicals_mfi(identifier, opts)

Money Flow Index

The Money Flow Index (MFI) is a technical oscillator that incorporates both price and volume, moving between 0 and 100. Traders often consider a MFI above 80 as overbought conditions and below 20 as oversold conditions.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 14,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_mfi(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Money Flow Index [optional] [default to 14]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityMoneyFlowIndex

get_security_price_technicals_mi

View Intrinio API Documentation

ApiResponseSecurityMassIndex get_security_price_technicals_mi(identifier, opts)

Mass Index

The mass index (MI) is a technical indicator used by traders to predict trend reversals. A trend reversal signal is said to occur when the 25-day MI reaches 27.0 and then falls below 26.0.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  ema_period = 9,
  sum_period = 25,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_mi(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
ema_period Integer The number of observations, per period, to calculate the single Exponential Moving Average and the Double Exponential Moving Average for Mass Index [optional] [default to 9]  
sum_period Integer The number of observations, per period, to calculate the sum of the Exponetinal Moving Average Ratios for Mass Index [optional] [default to 25]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityMassIndex

get_security_price_technicals_nvi

View Intrinio API Documentation

ApiResponseSecurityNegativeVolumeIndex get_security_price_technicals_nvi(identifier, opts)

Negative Volume Index

The negative volume index (NVI) is often referred to as the smart money indicator. It works by the assumption that smart money (institutional money) is at work when volume decreases and vice versa when volume increases. NVI starts at 1000 and increases in regard to the percentage price change when volume decreases over a 255-day EMA period. Traders often use this technical indicator when researching broder markets and indices.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_nvi(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityNegativeVolumeIndex

get_security_price_technicals_obv

View Intrinio API Documentation

ApiResponseSecurityOnBalanceVolume get_security_price_technicals_obv(identifier, opts)

On-balance Volume

On-balance volume (OBV) is a leading momentum indicator that uses the increase/decrease flow in volume to predict upcoming stock price changes. When both OBV and a security`s price are making higher highs, it is presumed the upward trend is likely to continue and vice versa.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_obv(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityOnBalanceVolume

get_security_price_technicals_obv_mean

View Intrinio API Documentation

ApiResponseSecurityOnBalanceVolumeMean get_security_price_technicals_obv_mean(identifier, opts)

On-balance Volume Mean

On-balance volume mean (OBVM) is a leading momentum indicator that uses the increase/decrease flow in volume to predict upcoming stock price changes. The difference between OBV and OBVM is that OBVM takes the mean average of a provided period. When both OBVM and a security`s price are making higher highs, it is presumed the upward trend is likely to continue and vice versa.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 10,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_obv_mean(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate On-balance Volume Mean [optional] [default to 10]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityOnBalanceVolumeMean

get_security_price_technicals_rsi

View Intrinio API Documentation

ApiResponseSecurityRelativeStrengthIndex get_security_price_technicals_rsi(identifier, opts)

Relative Strength Index

Relative strength index (RSI) is a momentum oscillator that ranges between 0 and 100. Traders believe that an RSI value over 70 indicates that a security is overbought and an RSI under 30 indicates that a security is oversold.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 14,
  price_key = "close",
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_rsi(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Relative Strength Index [optional] [default to 14]  
price_key Character The Stock Price field to use when calculating Relative Strength Index [optional] [default to close]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityRelativeStrengthIndex

get_security_price_technicals_sma

View Intrinio API Documentation

ApiResponseSecuritySimpleMovingAverage get_security_price_technicals_sma(identifier, opts)

Simple Moving Average

A simple moving average (SMA) adds recent prices for a specified period and divides the total by that same number of periods. SMA is typically used to indicate whether a security is in an uptrend or downtrend and can also be combined with a long-term moving average to improve the signal`s abilities.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 20,
  price_key = "close",
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_sma(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Simple Moving Average [optional] [default to 20]  
price_key Character The Stock Price field to use when calculating Simple Moving Average [optional] [default to close]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecuritySimpleMovingAverage

get_security_price_technicals_sr

View Intrinio API Documentation

ApiResponseSecurityStochasticOscillator get_security_price_technicals_sr(identifier, opts)

Stochastic Oscillator

The Stochastic Oscillator (SO) is a range-bound momentum indicator that ranges from 0 to 100 and follows the velocity of the momentum itself, not the underlying price or volume. When SO is above 80 it indicates that a security is trading at the high end of its period`s high-low range and vice versa if the reading is below 20.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 14,
  signal_period = 3,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_sr(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate %K of Stochastic Oscillator [optional] [default to 14]  
signal_period Integer The number of observations, per period, to calculate the %D (the Simple Moving Average of %K) as a signal line for Stochastic Oscillator [optional] [default to 3]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityStochasticOscillator

get_security_price_technicals_trix

View Intrinio API Documentation

ApiResponseSecurityTripleExponentialAverage get_security_price_technicals_trix(identifier, opts)

Triple Exponential Average

The Triple Exponential Average (TEA) is a momentum indicator used to identify when a security is oversold and overbought. By exponentially smoothing out the underlying security`s moving average, the TEA filters out insignificant price movements. A positive TEA is often believed to indicate momentum is increasing and a negative TEA indicates that momentum is decreasing.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 15,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_trix(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Exponential Moving Average for Triple Exponential Average [optional] [default to 15]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityTripleExponentialAverage

get_security_price_technicals_tsi

View Intrinio API Documentation

ApiResponseSecurityTrueStrengthIndex get_security_price_technicals_tsi(identifier, opts)

True Strength Index

The True Strength Index (TSI) is a momentum oscillator used to identify building trends and trend reversals, typically by signalling overbought and oversold conditions. TSI fluctuates between positive and negative values, and traders typically combine its signal with other momentum oscillators to increase its strength. When TSI crosses the signal line into positive territory it is presumed to be an entrance opportunity and vice versa when the TSI crosses into negative territory.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  low_period = 13,
  high_period = 25,
  price_key = "close",
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_tsi(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
low_period Integer The number of observations, per period, to calculate low period Exponential Moving Average for smoothing in True Strength Index [optional] [default to 13]  
high_period Integer The number of observations, per period, to calculate high period Exponential Moving Average for smoothing in True Strength Index [optional] [default to 25]  
price_key Character The Stock Price field to use when calculating True Strength Index [optional] [default to close]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityTrueStrengthIndex

get_security_price_technicals_uo

View Intrinio API Documentation

ApiResponseSecurityUltimateOscillator get_security_price_technicals_uo(identifier, opts)

Ultimate Oscillator

The Ultimate Oscillator (UO) is a range bound technical indicator that moves between 0 and 100 and is calculated with 3 timeframes, typically 7, 14, and 28 day periods. When UOs value is above 70 a security is categorized as overbought and when UOs value is below 30 a security is categorized as oversold.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  short_period = 7,
  medium_period = 14,
  long_period = 28,
  short_weight = 4.0,
  medium_weight = 2.0,
  long_weight = 1.0,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_uo(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
short_period Integer The number of observations, per period, to calculate the short period for Ultimate Oscillator [optional] [default to 7]  
medium_period Integer The number of observations, per period, to calculate the medium period for Ultimate Oscillator [optional] [default to 14]  
long_period Integer The number of observations, per period, to calculate the long period for Ultimate Oscillator [optional] [default to 28]  
short_weight Numeric The weight of short Buying Pressure average for Ultimate Oscillator [optional] [default to 4.0]  
medium_weight Numeric The weight of medium Buying Pressure average for Ultimate Oscillator [optional] [default to 2.0]  
long_weight Numeric The weight of long Buying Pressure average for Ultimate Oscillator [optional] [default to 1.0]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityUltimateOscillator

get_security_price_technicals_vi

View Intrinio API Documentation

ApiResponseSecurityVortexIndicator get_security_price_technicals_vi(identifier, opts)

Vortex Indicator

The Vortex Indicator (VI) is composed of an uptrend line (VI+) and a downtrend line (VI-). When VI+ crosses VI- from below it typically indicates an entry into a given security. When VI- crosses VI+ from below it typically triggers an exit and that the current trend is reversing course.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 14,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_vi(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to calculate Vortex Indicator [optional] [default to 14]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityVortexIndicator

get_security_price_technicals_vpt

View Intrinio API Documentation

ApiResponseSecurityVolumePriceTrend get_security_price_technicals_vpt(identifier, opts)

Volume-price Trend

The volume price trend (VPT) is a technical indicator that uses price & volume to determine whether a trend is established. Typically, when a security is trending upwards, there is more volume on positive days than negative ones, and as a result VPT should be increasing on these days as well. However, if VPT fails to increase past its previous high during an outbreak, this is suggested to indicate the rally is losing strength.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_vpt(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityVolumePriceTrend

get_security_price_technicals_vwap

View Intrinio API Documentation

ApiResponseSecurityVolumeWeightedAveragePrice get_security_price_technicals_vwap(identifier, opts)

Volume Weighted Average Price

Volume Weighted Average Price (VWAP) is a lagging technical indicator that is used in combination with a security`s price. When the underlying price rises above its VWAP, it is often interpreted as a bullish signal, and vice versa in the opposite direction.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_vwap(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityVolumeWeightedAveragePrice

get_security_price_technicals_wr

View Intrinio API Documentation

ApiResponseSecurityWilliamsR get_security_price_technicals_wr(identifier, opts)

Williams %R

Williams %R is a momentum indicator used to determine overbought and oversold environments for a security and fluctuates between 0 and -100. When Williams %R is above -20 the security is considered to be overbought and when Williams %R is under -80 the security is considered to be oversold.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  period = 14,
  start_date = "2018-01-01",
  end_date = "2019-01-01",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_price_technicals_wr(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
period Integer The number of observations, per period, to look-back when calculating Williams %R [optional] [default to 14]  
start_date Character Return technical indicator values on or after the date [optional]  
end_date Character Return technical indicator values on or before the date [optional]  
page_size Numeric The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityWilliamsR

get_security_quote

View Intrinio API Documentation

ApiResponseSecurityQuote get_security_quote(identifier, opts)

Quote for a Security

Returns many popular metrics for a security from multiple products conveniently in one API. Realtime stock price data requires at least one realtime product subscription (IEX, NASDAQ Basic, and/or Delayed SIP). If you are subscribed to multiple realtime stock price products, the api will return the most recent realtime stock price. Previous close price and percent change fields require both an EoD US Stock Price subscription and a realtime stock price subscription. Market_cap, price_to_earnings, and dividendyield data fields require a fundamentals subscription.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  active_only = FALSE,
  source = "delayed_sip",
  next_page = NULL
)

response <- SecurityApi$get_security_quote(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
active_only Logical Whether to return only realtime prices from today. [optional] [default to FALSE]  
source Character Return the realtime price from the specified source instead of the most recent. [optional]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityQuote

get_security_realtime_price

View Intrinio API Documentation

RealtimeStockPrice get_security_realtime_price(identifier, opts)

Realtime Stock Price for Security

Return the realtime stock price for the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  source = ["iex,delayed_sip"]
)

response <- SecurityApi$get_security_realtime_price(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
source Character Return the realtime price from the specified comma-delimited data sources. If no source is specified, the best source available is used. [optional]  

Return type

RealtimeStockPrice

get_security_replay_file

View Intrinio API Documentation

SecurityReplayFileResult get_security_replay_file(subsource, date)

Security Replay File

Returns a url where the requested replay file may be downloaded from.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
subsource <- NULL
date <- NULL

response <- SecurityApi$get_security_replay_file(subsource, date)

print(response)
print(response$content)

Parameters

Name Type Description Notes
subsource Character The specific source of the data being requested.  
date Date The date for the data being requested.  

Return type

SecurityReplayFileResult

get_security_snapshots

View Intrinio API Documentation

SecuritySnapshotsResult get_security_snapshots(opts)

Realtime Stock Prices Snapshot

Returns all security snapshots for the queried interval with links to download.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Optional params
opts <- list(
  at_datetime = as.POSIXlt(NULL, tz="UTC")
)

response <- SecurityApi$get_security_snapshots(opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
at_datetime POSIXlt The UTC date and time (with url-encoded spaces) the snapshot will cover. [optional]  

Return type

SecuritySnapshotsResult

get_security_stock_price_adjustments

View Intrinio API Documentation

ApiResponseSecurityStockPriceAdjustments get_security_stock_price_adjustments(identifier, opts)

Stock Price Adjustments by Security

Returns stock price adjustments for the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  start_date = as.Date("2018-01-01"),
  end_date = as.Date("2019-01-01"),
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_stock_price_adjustments(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
start_date Date Return price adjustments on or after the date [optional]  
end_date Date Return price adjustments on or before the date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityStockPriceAdjustments

get_security_stock_prices

View Intrinio API Documentation

ApiResponseSecurityStockPrices get_security_stock_prices(identifier, opts)

Stock Prices by Security

Return end-of-day stock prices for the Security with the given identifier

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  start_date = as.Date("2018-01-01"),
  end_date = as.Date("2019-01-01"),
  frequency = "daily",
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_stock_prices(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
start_date Date Return prices on or after the date [optional]  
end_date Date Return prices on or before the date [optional]  
frequency Character Return stock prices in the given frequency [optional] [default to daily]  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityStockPrices

get_security_trades

View Intrinio API Documentation

SecurityTradesResult get_security_trades(source, opts)

Security Trades

Returns all trades between start time and end time, up to seven days ago for the specified source.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
source <- NULL

# Optional params
opts <- list(
  start_date = NULL,
  start_time = NULL,
  end_date = NULL,
  end_time = NULL,
  timezone = "UTC",
  page_size = 100,
  darkpool_only = FALSE,
  min_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_trades(source, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
source Character The specific source of the data being requested.  
start_date Date The start date for the data being requested. [optional]  
start_time Character The start time for the data being requested. [optional]  
end_date Date The end date for the data being requested. [optional]  
end_time Character The end time for the data being requested. [optional]  
timezone Character The timezone the start and end date/times use. [optional] [default to UTC]  
page_size Integer The maximum number of results to return per page. [optional] [default to 100]  
darkpool_only Logical Set to TRUE to show only darkpool trades [optional] [default to FALSE]  
min_size Integer Trades must be larger or equal to this size. [optional]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

SecurityTradesResult

get_security_trades_by_symbol

View Intrinio API Documentation

SecurityTradesResult get_security_trades_by_symbol(identifier, source, opts)

Security Trades By Symbol

Returns all trades for a symbol between start time and end time, up to seven days ago for the specified source.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"
source <- NULL

# Optional params
opts <- list(
  start_date = NULL,
  start_time = NULL,
  end_date = NULL,
  end_time = NULL,
  timezone = "UTC",
  darkpool_only = FALSE,
  page_size = 100,
  min_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_trades_by_symbol(identifier, source, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character The ticker symbol for which trades are being requested.  
source Character The specific source of the data being requested. Specifying delayed sip will result in the system automatically determining which delayed sip source (cta_delayed, cta_b_delayed, utp_delayed, otc_delayed) to use.  
start_date Date The start date for the data being requested. [optional]  
start_time Character The start time for the data being requested. [optional]  
end_date Date The end date for the data being requested. [optional]  
end_time Character The end time for the data being requested. [optional]  
timezone Character The timezone the start and end date/times use. [optional] [default to UTC]  
darkpool_only Logical Set to TRUE to show only darkpool trades [optional] [default to FALSE]  
page_size Integer The maximum number of results to return per page. [optional] [default to 100]  
min_size Integer Trades must be larger or equal to this size. [optional]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

SecurityTradesResult

get_security_zacks_analyst_ratings

View Intrinio API Documentation

ApiResponseSecurityZacksAnalystRatings get_security_zacks_analyst_ratings(identifier, opts)

Zacks Analyst Ratings for Security

This database offers consensus analyst recommendations for over 5,000 US and Canadian listed companies.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  start_date = NULL,
  end_date = NULL,
  mean_greater = NULL,
  mean_less = NULL,
  strong_buys_greater = NULL,
  strong_buys_less = NULL,
  buys_greater = NULL,
  buys_less = NULL,
  holds_greater = NULL,
  holds_less = NULL,
  sells_greater = NULL,
  sells_less = NULL,
  strong_sells_greater = NULL,
  strong_sells_less = NULL,
  total_greater = NULL,
  total_less = NULL,
  page_size = 100
)

response <- SecurityApi$get_security_zacks_analyst_ratings(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
start_date Character Limit ratings to those on or after this date [optional]  
end_date Character Limit ratings to those on or before this date [optional]  
mean_greater Numeric Return only records with a mean (average) higher than this value [optional]  
mean_less Numeric Return only records with a mean (average) lower than this value [optional]  
strong_buys_greater Integer Return only records with more than this many Strong Buy recommendations [optional]  
strong_buys_less Integer Return only records with fewer than this many Strong Buy recommendations [optional]  
buys_greater Integer Return only records with more than this many Buy recommendations [optional]  
buys_less Integer Return only records with fewer than this many Buy recommendations [optional]  
holds_greater Integer Return only records with more than this many Hold recommendations [optional]  
holds_less Integer Return only records with fewer than this many Hold recommendations [optional]  
sells_greater Integer Return only records with more than this many Sell recommendations [optional]  
sells_less Integer Return only records with fewer than this many Sell recommendations [optional]  
strong_sells_greater Integer Return only records with more than this many Strong Sell recommendations [optional]  
strong_sells_less Integer Return only records with fewer than this many Strong Sell recommendations [optional]  
total_greater Integer Return only records with more than this many recommendations, regardless of type [optional]  
total_less Integer Return only records with fewer than this many recommendations, regardless of type [optional]  
page_size Integer The number of results to return [optional] [default to 100]  

Return type

ApiResponseSecurityZacksAnalystRatings

get_security_zacks_analyst_ratings_snapshot

View Intrinio API Documentation

ApiResponseSecurityZacksAnalystRatingsSnapshot get_security_zacks_analyst_ratings_snapshot(identifier, opts)

Zacks Analyst Ratings Snapshot

This database offers current and historical consensus analyst recommendation snapshots for over 5,000 US and Canadian listed companies.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  date = NULL
)

response <- SecurityApi$get_security_zacks_analyst_ratings_snapshot(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
date Character Lookup a historical snapshot on the given date [optional]  

Return type

ApiResponseSecurityZacksAnalystRatingsSnapshot

get_security_zacks_eps_surprises

View Intrinio API Documentation

ApiResponseSecurityZacksEPSSurprises get_security_zacks_eps_surprises(identifier, opts)

Zacks EPS Surprises for Security

Returns historical estimated and actual earnings, guidance, and announcement dates for a specified symbol.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_zacks_eps_surprises(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityZacksEPSSurprises

get_security_zacks_sales_surprises

View Intrinio API Documentation

ApiResponseSecurityZacksSalesSurprises get_security_zacks_sales_surprises(identifier, opts)

Zacks Sales Surprises for Security

This database returns historical estimated and actual sales, guidance, and announcement dates for a specified US or Canadian company.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
identifier <- "AAPL"

# Optional params
opts <- list(
  page_size = 100,
  next_page = NULL
)

response <- SecurityApi$get_security_zacks_sales_surprises(identifier, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
identifier Character A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)  
page_size Integer The number of results to return [optional] [default to 100]  
next_page Character Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseSecurityZacksSalesSurprises

screen_securities

View Intrinio API Documentation

SecurityScreenResult screen_securities(opts)

Screen Securities

Screen Securities using complex logic. Use POST only. See <a href="https://docs.intrinio.com/documentation/screener_v2\" target="_blank">screener documentation for details on how to construct conditions.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Optional params
opts <- list(
  logic = IntrinioSDK::SecurityScreenGroup$new(),
  order_column = "marketcap",
  order_direction = "asc",
  primary_only = FALSE,
  page_size = 100
)

response <- SecurityApi$screen_securities(opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
logic SecurityScreenGroup The logic to screen with, consisting of operators, clauses, and nested groups. </br> See <a href=&quot;https://docs.intrinio.com/documentation/screener_v2\" target=&quot;_blank&quot;>screener documentation</a> for details on how to construct conditions. [optional]  
order_column Character Results returned sorted by this column [optional]  
order_direction Character Sort order to use with the order_column [optional] [default to asc]  
primary_only Logical Return only primary securities [optional] [default to FALSE]  
page_size Integer The number of results to return. Maximum for this endpoint is 50000. [optional] [default to 100]  

Return type

SecurityScreenResult

search_securities

View Intrinio API Documentation

ApiResponseSecuritiesSearch search_securities(query, opts)

Search Securities

Search the securities database and return a list of securities matching the text query parameter passed through. Query parameter searches across the security ticker and name.

Example

# Setup client
client <- IntrinioSDK::ApiClient$new()

# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"

#Configure retries
client$configuration$allowRetries <- TRUE

# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)

# Required params
query <- "Apple"

# Optional params
opts <- list(
  page_size = 100
)

response <- SecurityApi$search_securities(query, opts)

print(response)
print(response$content)

Parameters

Name Type Description Notes
query Character  
page_size Integer The number of results to return [optional] [default to 100]  

Return type

ApiResponseSecuritiesSearch