You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "main.py", line 112, in
main(args)
File "main.py", line 33, in main
cond, dcfs = run_setup(args, variable = 'eg')
File "main.py", line 66, in run_setup
dcfs[step] = historical_DCF(args.t, args.y, args.p, args.d, args.eg, args.cg, args.pg, args.i, args.apikey)
File "/.../DCF/modeling/dcf.py", line 70, in historical_DCF
dcf = DCF(ticker,
File "/.../DCF/modeling/dcf.py", line 20, in DCF
enterprise_val = enterprise_value(income_statement,
File "/.../DCF/modeling/dcf.py", line 152, in enterprise_value
ebit = float(income_statement[0]['EBIT'])
ValueError: could not convert string to float: ''
The text was updated successfully, but these errors were encountered:
python main.py --t AAPL --i 'quarter' --y 3 --eg .15 --steps 2 --s 0.1 --v eg --apikey <deleted>
Traceback (most recent call last):
File "main.py", line 112, in
main(args)
File "main.py", line 33, in main
cond, dcfs = run_setup(args, variable = 'eg')
File "main.py", line 66, in run_setup
dcfs[step] = historical_DCF(args.t, args.y, args.p, args.d, args.eg, args.cg, args.pg, args.i, args.apikey)
File "/.../DCF/modeling/dcf.py", line 70, in historical_DCF
dcf = DCF(ticker,
File "/.../DCF/modeling/dcf.py", line 20, in DCF
enterprise_val = enterprise_value(income_statement,
File "/.../DCF/modeling/dcf.py", line 152, in enterprise_value
ebit = float(income_statement[0]['EBIT'])
ValueError: could not convert string to float: ''
The text was updated successfully, but these errors were encountered: