hudson-and-thames / mlfinlab
- суббота, 7 сентября 2019 г. в 00:27:00
Python
Package based on the work of Dr Marcos Lopez de Prado regarding his research with respect to Advances in Financial Machine Learning
MLFinLab is an open source package based on the research of Dr Marcos Lopez de Prado in his new book Advances in Financial Machine Learning. This implementation started out as a spring board for a research project in the Masters in Financial Engineering programme at WorldQuant University and has grown into a mini research group called Hudson and Thames Quantitative Research (not affiliated with the university).
The following is the online documentation for the package: read-the-docs.
As most of you know, getting through the first 3 chapters of the book is challenging as it relies on HFT data to create the new financial data structures. Sourcing the HFT data is very difficult and thus we have resorted to purchasing the full history of S&P500 Emini futures tick data from TickData LLC.
We are not affiliated with TickData in any way but would like to recommend others to make use of their service. The full history cost us about $750 and is worth every penny. They have really done a great job at cleaning the data and providing it in a user friendly manner.
TickData does offer about 20 days worth of raw tick data which can be sourced from their website link.
For those of you interested in working with a two years of sample tick, volume, and dollar bars, it is provided for in the research repo..
You should be able to work on a few implementations of the code with this set.
Part 4: Useful Financial Features
Part 3: Backtesting
Part 2: Modelling
Part 1: Data Analysis
Recommended versions:
The package can be installed from the PyPi index via the console:
pip install mlfinlabClone the package repo to your local machine then follow the steps below.
conda create -n <env name> python=3.6 anaconda accept all the requests to install.source activate <env name>.pip install -r requirements.txtconda activate <env name>pip install -r requirements.txtOn your local machine open the terminal and cd into the working dir.
./pylintpython -m unittest discoverbash coverageBlackArbsCEO has a great repo based on de Prado's research. It covers many of the questions at the back of every chapter and was the first source on Github to do so. It has also been a good source of inspiration for our research.
At the moment the project is still rather small and thus I would recommend getting in touch with us over email so that we can further discuss the areas of contribution that interest you the most. We have a slack channel where we all communicate.
For now you can get hold us at: research@hudsonthames.org
Looking forward to hearing from you!
This project is licensed under the 3-Clause BSD License - see the LICENSE.txt file for details.