Zacks ETF Holdings

Zacks ETF Holdings Python API Documentation

Returns Zacks ETF holdings data

API Class:
ZacksApi
Instance Method:
get_zacks_etf_holdings()

Stock Price Code Example

Use my API Key
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
etf_ticker = 'SPY'
holding_symbol = 'AAPL'
weight_greater = ''
weight_less = ''
page_size = 100
next_page = ''
response = intrinio.ZacksApi().get_zacks_etf_holdings(etf_ticker=etf_ticker, holding_symbol=holding_symbol, weight_greater=weight_greater, weight_less
  =weight_less, page_size=page_size, next_page=next_page)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
etf_tickerstrReturn holdings of the ETF with the given ticker[optional]  
holding_symbolstrReturn holdings where the instrument being held has the given trading symbol[optional]  
weight_greaterfloatReturn on the holdings with a weight greater than[optional]  
weight_lessfloatReturn on the holdings with a weight less than[optional]  
page_sizeintThe number of results to return[optional] [default to 100]  
next_pagestrGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseZacksETFHoldings

Properties

NameTypeDescription
holdingslist[ZacksETFHolding]Zacks ETF holding data  
next_pagestrThe token required to request the next page of the data. If null, no further results are available.  
object
ZacksETFHolding

Properties

NameTypeDescription
etf_tickerstrThe ETF's common ticker  
etf_namestrThe ETF's name  
holding_symbolstrThe holding's common ticker  
holding_namestrThe holding's name  
date_of_holdingdateThe date of the holding  
sharesfloatThe number of shares  
weightfloatThe weight of the holding