andrea-dm / yahoo-finance-pynterface Goto Github PK
View Code? Open in Web Editor NEWYahoo Finance Python Interface
License: MIT License
Yahoo Finance Python Interface
License: MIT License
@andrea-dm Would be nice if the code would be formatted using a recent version of black and isort.
If you need help I can do it and setup pipelines to enforce the code to be always formatted by these tools before merging.
Hey,
Thanks a lot for the working API. I was wondering if there is a functionality that allows for collecting income statements and cash flow from Yahoo Finance? It is available on their site, so I'd guess that it shouldn't be hard to form a request to fetch one.
Thanks a lot!
Collecting yahoo-finance-pynterface
Downloading https://files.pythonhosted.org/packages/04/29/958f9a396c6a1d8c83206f4dff4f4dfcd5287c0eb0d9d713fa31d0c3d41b/yahoo_finance_pynterface-1.0.4-py3-none-any.whl
Installing collected packages: yahoo-finance-pynterface
Successfully installed yahoo-finance-pynterface-1.0.4
Error:
Traceback (most recent call last):
File "/root/.virtualenvs/ZIPLINE/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2963, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
import yahoo_finance_pynterface
File "/root/.virtualenvs/ZIPLINE/lib/python3.5/site-packages/yahoo_finance_pynterface/init.py", line 70
processing_mode:Type[core.ProcessingMode] = core.ProcessingMode.AUTO;
^
SyntaxError: invalid syntax
Am running example get splits
--------EXEMPLE GET SPLITS -------------
import yahoo_finance_pynterface as yahoo
if name == 'main':
r = yahoo.Get.Splits("AAPL", period=['1980-1-1','2018-08-31'], using_api=yahoo.api.AccessModeInQuery.DOWNLOAD);
print(r if len(r)>0 else "something odd happened o.O");
Get float/int error in dateutil call:
-----PYTHON OUTPUT--------------------------------------------------------
File "C:\Users\mgurg\Anaconda3\lib\site-packages\dateutil\parser\isoparser.py", line 285, in _parse_isodate_uncommon
ordinal_day = int(dt_str[pos:pos + 3])
ValueError: invalid literal for int() with base 10: b'1-1'
Is this new? I checked my dateutil version is fine with requirements.
Please advise.
Thanks
Hi, thank you for your amazing job
I would suggest you to use git tags to version control
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.