According to https://www.quantopian.com/help, get_fundamentals takes a keyword argument range_specifier. However, when I run the following code:
def initialize(context):
start_date = '2013-01-03'
fundamental_panel = get_fundamentals(
query(
fundamentals.valuation.market_cap,
fundamentals.earnings_report.basic_eps,
fundamentals.asset_classification.financial_health_grade,
fundamentals.asset_classification.growth_grade,
fundamentals.valuation_ratios.pe_ratio,
fundamentals.asset_classification.morningstar_sector_code,
)
# Small cap
.filter(fundamentals.valuation.market_cap < 2000000000)
.limit(2),
start_date,
range_specifier='d365',
)
I get the TypeError specified in the title of this post. Am I doing something wrong?
I'm trying to create a unified data Panel that contains fundamental (e.g., PE ratio) and technical (prices) information for a specific date range and for multiple stocks. What's the easiest way of doing this?