Notebooks based on financial machine learning.
Welcome to Arman Behnam Finance repository
Here are some courses that I've shared with U to help broaden our knowledge. Courses are categorized into four parts: Coursera, Udemy, Udacity, Interdisciplinary schools
Sharing Lnowledge is a sacred job and I'll appreciate this repository will be useful.(Especially in the field of AI and Data science)
- Reach my Coursera experience
- Reach my Udemy experience
- The leading global marketplace for learning and instruction; by connecting students all over the world to the best instructors, Udemy is helping individuals reach their goals and pursue their dreams.
- Reach my Udacity experience
- Reach my Interdisciplinary schools experience
THANK YOU
Finance Repo
Contains all the Jupyter Notebooks used.
All of the research I do in these notebooks is on the full tick history dataset.
I do provide a 2 year sample on tick, volume, and dollar bars to help the community get started.
Contributing
Our hope is that the sample data and notebooks will enable the community to build on the research and contribute to the open source community.
A good place to start for new users is to use the data provided to answer the questions at the back of the chapters in Advances in Financial Machine Learning.
Please review the Guidelines for research
Sample Data
The following folder contains 2 years sample data on S&P500 Emini Futures, for the period 2015-01-01 to 2017-01-01.
Specifically the following data structures:
- Dollar Bars: Sampled every $70'000
- Volume Bars: Sampled every 28'000 contracts
- Tick Bars: Sampled every 2'800 ticks
Installation
Recommended versions:
- Anaconda 3
- Python 3.6
Installation for Mac OS X and Ubuntu Linux
- Make sure you install the latest version of the Anaconda 3 distribution. To do this you can follow the install and update instructions found on this link: https://www.anaconda.com/products/individual
- Launch a terminal
- Create a New Conda Environment. From terminal:
accept all the requests to install.create -n <env name> python=3.6 anaconda - Now activate the environment with
.activate <env name> - From Terminal: go to the directory where you have saved the file, example: cd Desktop/research/.
- Install Python requirements, by running the command:
install -r requirements.txt - (Optional) Continue to Chapter-specific Installation
Installation for Windows
- Download and install the latest version of Anaconda 3
- Launch Anaconda Navigator
- Click Environments, choose an environment name, select Python 3.6, and click Create
- Click Home, browse to your new environment, and click Install under Jupyter Notebook
- Launch Anaconda Prompt and activate the environment:
activate <env name> - From Anaconda Prompt: go to the directory where you have saved the file, example: cd Desktop/research/.
- Install Python requirements, by running the command:
install -r requirements.txt - (Optional) Continue to Chapter-specific Installation
Chapter-specific Installation
We will create a symlink inside each of the Chapters for ease of dataset changes. You may change the symlink of official_data to your own dataset rather than using the 2 year sample; the format follows Tick Data LLC.
Create a symbolic link inside the Chapter folder to where you saved the official data:
cd Chapter3; ln -s ../Sample-Data official_data