Hello All,
I'm new to python and algo strategies. I tried cloning someone else's source code as a start to see if a backtest would just work when I put it into my own. I get a syntax error at this area in the code. Does anyone have any idea what's going on? Any help would be much appreciated!
The error in the debugger states: "SyntaxError: invalid syntax (, line2)
#: Query for the data that we need from fundamentals
fundamental_df = get_fundamentals(query(
f.valuation.market_cap,f.operation_ratios.roa,
f.cash_flow_statement.operating_cash_flow,
f.cash_flow_statement.cash_flow_from_continuing_operating_activities,
f.operation_ratios.long_term_debt_equity_ratio,
f.operation_ratios.current_ratio,
f.valuation.shares_outstanding,
f.operation_ratios.gross_margin,
f.operation_ratios.assets_turnover,
f.valuation_ratios.ev_to_ebitda,
)