Hi All,
I am a beginner/fresher wrt python and quants.Could you please help me with running the init_fundamentals?
Please check the input and the output respectively
*Input:*
Fundamentals = init_fundamentals()
fund_df = get_fundamentals(query(fundamentals.valuation_ratios.pe_ratio)
.filter(fundamentals.valuation.market_cap > 1e9)
.filter(fundamentals.valuation_ratios.pe_ratio > 1)
.order_by(fundamentals.valuation.market_cap)
.limit(10),
'2015-05-01')
fund_df
Output:
ValueErrorTraceback (most recent call last)
in ()
----> 1 Fundamentals = init_fundamentals()
2 fund_df = get_fundamentals(query(fundamentals.valuation_ratios.pe_ratio)
3 .filter(fundamentals.valuation.market_cap > 1e9)
4 .filter(fundamentals.valuation_ratios.pe_ratio > 1)
5 .order_by(fundamentals.valuation.market_cap)
/build/src/qexec_repo/qexec/research/api.py in init_fundamentals()
63 def init_fundamentals():
64 raise ValueError(
---> 65 'The init_fundamentals
method has been removed. To use fundamental'
66 ' data in your notebooks and algorithms, use Pipeline.\n'
67 'See: https://www.quantopian.com/help#fundamental-data',
ValueError: The init_fundamentals
method has been removed. To use fundamental data in your notebooks and algorithms, use Pipeline.
See: https://www.quantopian.com/help#fundamental-data