Giter Site home page Giter Site logo

backtest_tutorial's Introduction

Backtesting Tutorial for Algorithmic Trading

Welcome to the GitHub repository for our Udemy course on backtesting for algorithmic traders. This course is designed to teach you the fundamental concepts and practical applications of backtesting trading strategies, using Python and various financial analysis libraries.

About the Course

This course offers a comprehensive introduction to backtesting trading strategies. We focus on creating a robust framework to test your trading ideas and hypotheses with historical market data. The course covers:

  • Building your own backtester in python.
  • Before you backtest - use this protocol!
  • Best Practices in Research for Quantitative Equity Strategies
  • What Not to Do!
  • The Importance of Causality in your Experiment Design
  • Detecting False Investment Strategies
  • Bonus Lectures

Repository Contents

This repository includes the Jupyter Notebooks used in the course:

  • YFinance_Tutorial: An introduction to pulling free data from Yahoo Finance, using the yfinance library.
  • Vectorized_Backtest_Tutorial.ipynb: The main tutorial notebook with Python code and detailed explanations.
  • Intro_Transaction_Costs.ipynb: A tutorial to show how transaction costs can be added to your backtests.

Getting Started

To get started with the tutorial:

  1. Clone the Repository: Clone this repository to your local machine using:

    git clone https://github.com/hudson-and-thames/backtest_tutorial.git
  2. Set Up Your Environment:

    • It is recommended to use a virtual environment.
    • Open the getting_started.md file to follow the setup instructions.
  3. Run the Jupyter Notebooks: Open the notebooks in Jupyter and follow along with the course.

Prerequisites

Before starting this course, you should have:

  • Basic knowledge of Python programming.
  • Understanding of financial markets and trading principles.
  • Familiarity with Jupyter Notebooks.
  • This is taught at a graduate level.

Contributing

We welcome contributions to this tutorial! If you have suggestions for improvements, please feel free to make a pull request or open an issue.

License

This tutorial is provided under the MIT License.

Contact

For any queries or feedback related to this course, please contact system[at]hudsonthames.org.

backtest_tutorial's People

Contributors

jackal08 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.