trading_evolved
trading_evolved copied to clipboard
Code from the Trading Evolved book
Introduction
This repository contains the code from the book Trading Evolved: Anyone Can Build Killer Trading Strategies In Python by Andreas F. Clenow.
Why?
The goal of this repository is to make it easy for traders who are not software developers and/or Python programmers to get started experimenting with the code in the book. Readers do not have to worry about installing or patching zipline.
Prerequisites
Download and install the following software:
Usage
-
Create an image for zipline.
In a terminal, execute:
docker build -t quantopian/zipline:trading_evolved https://github.com/hsm207/zipline.git#trading-evolved -
Clone this project.
-
Open devcontainer.json and replace the value of
QUANDL_API_KEYwith your own API key (line 33). Click here for details on how to retrieve your Quandle API key. -
In VS Code, open this project's root directory in a container defined by Dockerfile.
-
When inside the container, execute
jupyter notebook --allow-rootto start viewing the notebooks. -
To ingest the quandl bundle, refer to the 01_get_quandl_data notebook,