ml-finance-python

python scripts for finance machine learning

git clone https://9o.is/git/ml-finance-python.git

README.md

(1612B)


      1 ## 02 API access to market data
      2 
      3 There are several options to access market data via API using Python.
      4 
      5 ### pandas Library
      6 
      7 The notebook [01_datareader](01_datareader.ipynb) presents a few sources built into the pandas library. 
      8 - The `pandas` library enables access to data displayed on websites using the read_html function 
      9 - the related `pandas-datareader` library provides access to the API endpoints of various data providers through a standard interface 
     10 
     11 ### LOBSTER tick data
     12 
     13 The notebook [02_lobster_itch_data](02_lobster_itch_data.ipynb) demonstrates the use of order book data made available by 
     14 LOBSTER (Limit Order Book System - The Efficient Reconstructor), an [online](https://lobsterdata.com/info/WhatIsLOBSTER.php) limit order book data tool that aims to provide easy-to-use, high-quality limit order book data.
     15 
     16 Since 2013 LOBSTER acts as a data provider for the academic community, giving access to reconstructed limit order book data for the entire universe of NASDAQ traded stocks. More recently, it started offering a commercial service.
     17 
     18 ### Qandl
     19 
     20 The notebook [03_quandl_demo](03_quandl_demo.ipynb) shows how Quandl uses a very straightforward API to make its free and premium data available. See [documentation](https://www.quandl.com/tools/api) for more details.
     21 
     22 ### zipline & Qantopian
     23 
     24 The directory [04_zipline](04_zipline) contains the notebook [zipline_example](04_zipline/zipline_example.ipynb) that briefly introduces the backtesting library `zipline` that we will use later in the book from installation to data access and the implementation of a simple  trading strategy.
     25