Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Something wrong in Fundamental Data?

I get this data for "free cash flow per share"
algo_date
2002-11-15 00:00:00+00:00 -0.1175
2003-11-17 00:00:00+00:00 0.1720
2004-11-15 00:00:00+00:00 0.9785
2005-11-15 00:00:00+00:00 2.6553
2006-11-15 00:00:00+00:00 1.7811
2007-11-15 00:00:00+00:00 5.0422
2008-11-17 00:00:00+00:00 9.3079
2009-11-16 00:00:00+00:00 9.8632
2010-11-15 00:00:00+00:00 17.8153
2011-11-15 00:00:00+00:00 32.1114
2012-11-15 00:00:00+00:00 43.8502
2013-11-15 00:00:00+00:00 47.8607
2014-11-17 00:00:00+00:00 8.1500
2015-11-16 00:00:00+00:00 12.0451
Name: Equity(24 [AAPL]), dtype: float64

instead if I visit Morning star Web page the values are completely different.

fundamentals = init_fundamentals()

import datetime

symbol = 'AAPL'  
today = datetime.datetime.now().strftime('%Y-%m-%d')  
start_date = '2002-01-02'  
end_date   = today

fund_panel = get_fundamentals(  
    query(  
        fundamentals.valuation_ratios.pe_ratio,  
         fundamentals.valuation.market_cap,  
         fundamentals.valuation.shares_outstanding,  
         fundamentals.valuation_ratios.fcf_per_share,  
         fundamentals.valuation_ratios.dividend_yield,  
         fundamentals.operation_ratios.assets_turnover,  
         fundamentals.operation_ratios.financial_leverage,  
         fundamentals.operation_ratios.roe,  
         fundamentals.operation_ratios.roic,  
         fundamentals.operation_ratios.debtto_assets,  
         fundamentals.operation_ratios.revenue_growth,  
         fundamentals.operation_ratios.total_debt_equity_ratio,  
         fundamentals.operation_ratios.long_term_debt_total_capital_ratio,  
         fundamentals.cash_flow_statement.operating_cash_flow,  
         fundamentals.cash_flow_statement.free_cash_flow  
    )  
    .filter(fundamentals.company_reference.primary_symbol == symbol)  
    ,today, '100y')

fcf_per_share = fund_panel['fcf_per_share'].iloc[:,0]  
print(fcf_per_share)  
1 response

Hi Marco,

This definitely looks like a data error, we'll get that fixed, thanks for bringing it to our attention!

Disclaimer

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances.