# Backtrader-for-backtesting
**Repository Path**: jodz/Backtrader-for-backtesting
## Basic Information
- **Project Name**: Backtrader-for-backtesting
- **Description**: These are the code snippets used in the Backtrader for backtesting guide on the AlgoTrading101 website
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2022-01-15
- **Last Updated**: 2023-01-22
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
============================================================================
Backtrader for Backtesting (Python) - A Complete Guide - AlgoTrading101 Blog
============================================================================
This is the code used in `Backtrader for Backtesting (Python) `_ published on the Algotrading101 Blog
-----------------
Table of Contents
-----------------
* `What is Backtrader? `_
* `Why should I learn Backtrader? `_
* `Why shouldn’t I learn Backtrader? `_
* `Overview of how Backtrader works `_
* `How to install Backtrader `_
* `Choosing which IDE to use with Backtrader `_
* `How to configure the basic Backtrader setup `_
* `How to get data and import it into Backtrader `_
* `How to print or log data using the strategy class in Backtrader `_
* `How to run a backtest using Backtrader `_
* `How to use the built-in crossover indicator `_
* `How to run optimization in Backtrader `_
* `How to build a stock screener in Backtrader `_
* `How to code an indicator in Backtrader `_
* `How to plot in Backtrader `_
* `How to use alternative data in Backtrader `_
* `How to add visual stats to a backtest `_
* `How to save backtest data to a CSV file `_
* `Alternatives to Backtrader `_
* `Final Thoughts on Backtrader `_
------------
Requirements
------------
* `python `_ >= 3.6+
* `backtrader `_ (tested to work with >= 1.9.76.123 )
* `QuantStats `_ (tested to work with >= 0.0.25 )
* `pandas `_ (tested to work with >= 1.0.3 )
-----------
Author Info
-----------
:author: Jignesh Davda
:author page: https://algotrading101.com/learn/author/jdavda/
:published: 2020-03-05