Bug DCF
See original GitHub issueHey guys,
thanks for this neat package! Srly tho, I have to report a bug. Not sure if it only affects me, however I checked with the API and it works. So i figured it has to be some bug in the package:
If I do
dcf_annually = fa.discounted_cash_flow("XXX", api_key, period="annual")
i get:
KeyError
discounted_cash_flow(ticker, api_key, period, limit)
246 if 'Error Message' in data:
247 raise ValueError(data['Error Message'])
--> 249 data_json = data[0]['historicalDCF']
251 data_formatted = {}
253 if period == "quarter":
KeyError: 'historicalDCF'
This occurred for many companies. Could you fix it, if it is related to the package or otherwise give me some hints, what might have caused this error?
Best regards Chris
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Y-zip Bug Bivy - DCF - YAMA Mountain Gear
Y-zip Bug Bivy - DCF. $190.00. Size: Smaller. Bigger. Length: Regular (84"). Longer (90"). Options: Stand-alone rigging kit. Selection will add to the...
Read more >BUG 25.74 0.02 0.08% Global X Cybersecurity ETF ...
The fund invests at least 80% of its total assets in the securities of the underlying index and in American Depositary Receipts ("ADRs")...
Read more >DCF-2277 5/19 (Rev.) - CT.gov
ALL CLASS B & C ERRORS MUST BE REPORTED TO DCF RISK MANAGEMENT. DCF.RISKMANAGEMENT@CT. ... error). Medication not given by a parent /...
Read more >Cuben Bug Bivy - Borah Gear
A lighter version of our bug bivy, constructed with 0.5oz no-see-um netting as well as a 0.8oz Dyneema ® Composite Fabric floor ......
Read more >What the f*ck does it take for DCF to save a child?
"The bed in which the child slept was peppered with bed bugs, and his sheets were dotted with blood spots from where his...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll look into this and fix it Monday!
ok thank you.