Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Python Algorithmic Trading Cookbook

You're reading from   Python Algorithmic Trading Cookbook All the recipes you need to implement your own algorithmic trading strategies in Python

Arrow left icon
Product type Paperback
Published in Aug 2020
Publisher Packt
ISBN-13 9781838989354
Length 542 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Pushpak Dagade Pushpak Dagade
Author Profile Icon Pushpak Dagade
Pushpak Dagade
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Handling and Manipulating Date, Time, and Time Series Data 2. Stock Markets - Primer on Trading FREE CHAPTER 3. Fetching Financial Data 4. Computing Candlesticks and Historical Data 5. Computing and Plotting Technical Indicators 6. Placing Regular Orders on the Exchange 7. Placing Bracket and Cover Orders on the Exchange 8. Algorithmic Trading Strategies - Coding Step by Step 9. Algorithmic Trading - Backtesting 10. Algorithmic Trading - Paper Trading 11. Algorithmic Trading - Real Trading 12. Other Books You May Enjoy Appendix I
1. Appendix II
2. Appendix III

What this book covers

Chapter 1, Handling and Manipulating Date, Time, and Time Series Data, explains everything about the Python DateTime module and pandas DataFrames that are required to handle time series data efficiently.

Chapter 2, Stock Markets – Primer on Trading, covers how to set up Python connectivity with a broker, fetch financial instruments, and get a quick hands-on at placing simple orders. You will also learn how to query margins and calculate brokerage and government taxes.

Chapter 3, Fetching Financial Data, covers financial instruments in-depth.

Chapter 4, Computing Candlesticks and Historical Data, explains how to fetch and understand historical data, and also how to fetch, compute, and plot various candlestick patterns, including Japanese (OHLC), Renko, Line Break, and Heikin-Ashi.

Chapter 5, Computing and Plotting of Technical Indicators, explains how to compute and plot 10 types of technical indicators, including trend indicators, momentum indicators, volatility indicators, and volume indicators.

Chapter 6, Placing Regular Orders on the Exchange, explains how to place 16 types of regular orders across two transaction types, two order codes, and four order varieties. You will learn how to query the order status in real time, while also learning about the possible order states supported by the broker and the order life cycle for regular orders.

Chapter 7, Placing Bracket and Cover Orders on the Exchange, explains how to place eight types of bracket orders and four types of cover orders across two transaction types and multiple order varieties and how to query the order status in real time. You will learn about target, stoploss, and trailing stoploss, along with the possible order states supported by the broker and the order life cycle for both bracket and cover orders.

Chapter 8, Algorithmic Trading Strategies – Code Step by Step, explains how to code your own algorithmic trading strategy from scratch using two strategy coding examples involving regular and bracket orders, respectively.

Chapter 9, Algorithmic Trading – Backtesting, covers how to backtest your own algorithmic trading strategy using two strategy coding examples involving regular and bracket orders, respectively. You will also learn how to fetch execution logs and various types of backtesting reports, including profit and loss reports, statistics reports, and order history logs for your strategy.

Chapter 10, Algorithmic Trading – Paper Trading, explains how to paper trade your own algorithmic trading strategy in live markets using two strategy coding examples involving regular and bracket orders, respectively. You will also learn how to fetch execution logs and various types of paper trading reports, including profit and loss reports, statistics reports, and order history logs, in real time for your strategy.

Chapter 11, Algorithmic Trading – Real Trading, explains how to real trade your own algorithmic trading strategy in live markets and real money using two strategy coding examples involving regular and bracket orders, respectively. You will also learn how to fetch execution logs and various types of real trading reports, including profit and loss reports and statistics reports, in real time for your strategy.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime