(Feb-21-2019, 07:47 PM)rudolphyaber Wrote: Maybe I should just find another tutorial?Have a couple of here,that's up to date.
Web-Scraping part-1
Web-Scraping part-2
That Bloomberg site is not easy to parse(have changes since tutorial you look at).
They have API with Python support,but need C++ SDK.
Quote:> python -m pip install --index-url=https://bloomberg.bintray.com/pip/simple blpapiFor stocks there are better API free one like ALPHA VANTAGE.
Prebuilt binaries are provided for Python 2.7, 3.5, 3.6 and 3.7 for Windows, in both 32 and 64 bits.
A source package is also provided for other platforms/Python versions.
A local installation of the C++ API is required both for importing the blpapi module in Python and for building the module from sources, if needed.
Site over is okay for training to use an API to get data,then use Requests(not urllib),to get data in eg JSON.