Teach Yourself Python Backtrader: Step by Step backtesting implementation for non-programmers
, Achal
- 出版商: Independently Published
- 出版日期: 2022-01-30
- 售價: $760
- 貴賓價: 9.5 折 $722
- 語言: 英文
- 頁數: 192
- 裝訂: Quality Paper - also called trade paper
- ISBN: 9798410080699
- ISBN-13: 9798410080699
-
相關分類:
Python、程式交易 Trading
海外代購書籍(需單獨結帳)
相關主題
商品描述
Have you ever thought of a machine that could earn for you while you relax. There is no such machine but steps can be taken to build such a machine. It all depends on your skills and a winning strategy that can do trading on your behalf.
Backtrader is python module used for creating custom indicators, trade alerts, creating strategies and back-testing them on historical and real data. After, gaining skill from this book you will be able to make your scripts for custom indicators and backtest strategies on historical data and real market. This book has been written in simple language so that readers with no prior background of python or computer programming are able to learn and build upon the basics. This book will also introduce you to basics of python programming need by the traders for coding on backtrader. Act now to have a copy of this book to test your strategies and build your skills. Table of Content CHAPTER 01: TAKING THE FIRST STEP - python installation etc
CHAPTER 02: THE FIRST STEP TOWARDS CODING - python first code, functions, modules, commenting
CHAPTER 03: THE BACKTRADER - installation, BackTrader Structure, Plotting Data
CHAPTER 04: DATA TYPES - variables, input from user etc
CHAPTER 05: READING DATA FROM A GENERIC CSV FILE
Format of Date and time
Resampling and Data Compression
CHAPTER 06: OPERATORS IN PYTHON - Assignment/Arithmetic/Comparision/Logical Operator
CHAPTER 07: USING CEREBRO ENGINE - Adding Strategy, Built-in Indicators of BackTrader
Implementing - two SMAs, ATR, Bollingerbands
CHAPTER 08: LOOPS IN PYTHON: ITERATION
Flow Chart, Creating for & while loops in Python
Step increment in Loop
Break and continue statements
CHAPTER 09: BACKTRADER CHART CUSTOMIZATION
Chart & System-wide customization
CHAPTER 10: CONTROL FLOW STATEMENTS
"if" and "if... else" statement
"elif" statement
CHAPTER 11: ADDING LOGIC TO BACKTRADER STRATEGY
Defining Strategy
Adding RSI, doji logic to chart
Backtrader Order - buy() and sell()
Backtrader Position
Adding Short and Long Condition, initial capital, Order Size
Setting Order Size from Strategy/Cerebro
CHAPTER 12: EXPLORING STRING
Slicing
Negative index in slicing
Reversing string
Common methods for String
F-string formatting
CHAPTER 13: LIST IN PYTHON
Slicing of List
Mix datatypes in List
Methods supported by List
Tuple
CHAPTER 14: DICTIONARY IN PYTHON
Dictionary
Methods supported by dictionary
CHAPTER 15: CUSTOM INDICATOR: MARKING DOJI
Structure of Indicator
Doji Indicator Logic
Full code for marking Doji
CHAPTER 16: PYTHON FUNCTIONS
Need for functions
Understanding function
Defining Custom Functions
Function with and without input/output
Doc String (__doc__)
Scope of Variables
Global keyword
The *args and **kwargs
CHAPTER 17: CLASS AND OBJECTS
The Class
Instantiating Class
Class and instance variable
Class constructors - self & __init__()
Instance method
Class/Static method
Class method as Constructor
Single/Multiple Inheritance
CHAPTER 18: BACKTRADER ANALYZER
Parameters for Strategy Evaluation
Common Mistakes in Evaluation
Adding Analyser to Cerebro
TradeAnalyzer
DrawDown
AnnualReturn
Transactions
Improve Analyzer Display
CHAPTER 19: SIMPLE CROSS-OVER STRATEGY
The Basic Structure of Strategy
Improving Strategy
CHAPTER 20: ORDER MANAGEMENT
notify_order()
Logging Order Details
Order.Stop Implementation
cancel(order)
CHAPTER 21: IMPLIED VOLATILITY CALCULATION FOR OPTIONS
Implied volatility
Calculating implied volatility using python
Building code
CHAPTER 22: OPTION TRADING OPPORTUNITIES USING IMPLIED VOLATILITY.
CHAPTER 23: USING LIVE DATA FROM TRADINGVIEW USING WEBHOOK
CHAPTER 24: USING LIVE DATA FROM TRADINGVIEW WITHOUT WEBHOOK
Backtrader is python module used for creating custom indicators, trade alerts, creating strategies and back-testing them on historical and real data. After, gaining skill from this book you will be able to make your scripts for custom indicators and backtest strategies on historical data and real market. This book has been written in simple language so that readers with no prior background of python or computer programming are able to learn and build upon the basics. This book will also introduce you to basics of python programming need by the traders for coding on backtrader. Act now to have a copy of this book to test your strategies and build your skills. Table of Content CHAPTER 01: TAKING THE FIRST STEP - python installation etc
CHAPTER 02: THE FIRST STEP TOWARDS CODING - python first code, functions, modules, commenting
CHAPTER 03: THE BACKTRADER - installation, BackTrader Structure, Plotting Data
CHAPTER 04: DATA TYPES - variables, input from user etc
CHAPTER 05: READING DATA FROM A GENERIC CSV FILE
Format of Date and time
Resampling and Data Compression
CHAPTER 06: OPERATORS IN PYTHON - Assignment/Arithmetic/Comparision/Logical Operator
CHAPTER 07: USING CEREBRO ENGINE - Adding Strategy, Built-in Indicators of BackTrader
Implementing - two SMAs, ATR, Bollingerbands
CHAPTER 08: LOOPS IN PYTHON: ITERATION
Flow Chart, Creating for & while loops in Python
Step increment in Loop
Break and continue statements
CHAPTER 09: BACKTRADER CHART CUSTOMIZATION
Chart & System-wide customization
CHAPTER 10: CONTROL FLOW STATEMENTS
"if" and "if... else" statement
"elif" statement
CHAPTER 11: ADDING LOGIC TO BACKTRADER STRATEGY
Defining Strategy
Adding RSI, doji logic to chart
Backtrader Order - buy() and sell()
Backtrader Position
Adding Short and Long Condition, initial capital, Order Size
Setting Order Size from Strategy/Cerebro
CHAPTER 12: EXPLORING STRING
Slicing
Negative index in slicing
Reversing string
Common methods for String
F-string formatting
CHAPTER 13: LIST IN PYTHON
Slicing of List
Mix datatypes in List
Methods supported by List
Tuple
CHAPTER 14: DICTIONARY IN PYTHON
Dictionary
Methods supported by dictionary
CHAPTER 15: CUSTOM INDICATOR: MARKING DOJI
Structure of Indicator
Doji Indicator Logic
Full code for marking Doji
CHAPTER 16: PYTHON FUNCTIONS
Need for functions
Understanding function
Defining Custom Functions
Function with and without input/output
Doc String (__doc__)
Scope of Variables
Global keyword
The *args and **kwargs
CHAPTER 17: CLASS AND OBJECTS
The Class
Instantiating Class
Class and instance variable
Class constructors - self & __init__()
Instance method
Class/Static method
Class method as Constructor
Single/Multiple Inheritance
CHAPTER 18: BACKTRADER ANALYZER
Parameters for Strategy Evaluation
Common Mistakes in Evaluation
Adding Analyser to Cerebro
TradeAnalyzer
DrawDown
AnnualReturn
Transactions
Improve Analyzer Display
CHAPTER 19: SIMPLE CROSS-OVER STRATEGY
The Basic Structure of Strategy
Improving Strategy
CHAPTER 20: ORDER MANAGEMENT
notify_order()
Logging Order Details
Order.Stop Implementation
cancel(order)
CHAPTER 21: IMPLIED VOLATILITY CALCULATION FOR OPTIONS
Implied volatility
Calculating implied volatility using python
Building code
CHAPTER 22: OPTION TRADING OPPORTUNITIES USING IMPLIED VOLATILITY.
CHAPTER 23: USING LIVE DATA FROM TRADINGVIEW USING WEBHOOK
CHAPTER 24: USING LIVE DATA FROM TRADINGVIEW WITHOUT WEBHOOK