Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Python Algorithmic Trading Cookbook
Python Algorithmic Trading Cookbook

Python Algorithmic Trading Cookbook: All the recipes you need to implement your own algorithmic trading strategies in Python

Arrow left icon
Profile Icon Dagade
Arrow right icon
Can$44.98 Can$49.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8 (10 Ratings)
eBook Aug 2020 542 pages 1st Edition
eBook
Can$44.98 Can$49.99
Paperback
Can$61.99
Subscription
Free Trial
Arrow left icon
Profile Icon Dagade
Arrow right icon
Can$44.98 Can$49.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8 (10 Ratings)
eBook Aug 2020 542 pages 1st Edition
eBook
Can$44.98 Can$49.99
Paperback
Can$61.99
Subscription
Free Trial
eBook
Can$44.98 Can$49.99
Paperback
Can$61.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Python Algorithmic Trading Cookbook

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Build a strong foundation in algorithmic trading by becoming well-versed with the basics of financial markets
  • Demystify jargon related to understanding and placing multiple types of trading orders
  • Devise trading strategies and increase your odds of making a profit without human intervention

Description

If you want to find out how you can build a solid foundation in algorithmic trading using Python, this cookbook is here to help. Starting by setting up the Python environment for trading and connectivity with brokers, you’ll then learn the important aspects of financial markets. As you progress, you’ll learn to fetch financial instruments, query and calculate various types of candles and historical data, and finally, compute and plot technical indicators. Next, you’ll learn how to place various types of orders, such as regular, bracket, and cover orders, and understand their state transitions. Later chapters will cover backtesting, paper trading, and finally real trading for the algorithmic strategies that you've created. You’ll even understand how to automate trading and find the right strategy for making effective decisions that would otherwise be impossible for human traders. By the end of this book, you’ll be able to use Python libraries to conduct key tasks in the algorithmic trading ecosystem. Note: For demonstration, we're using Zerodha, an Indian Stock Market broker. If you're not an Indian resident, you won't be able to use Zerodha and therefore will not be able to test the examples directly. However, you can take inspiration from the book and apply the concepts across your preferred stock market broker of choice.

Who is this book for?

If you are a financial analyst, financial trader, data analyst, algorithmic trader, trading enthusiast or anyone who wants to learn algorithmic trading with Python and important techniques to address challenges faced in the finance domain, this book is for you. Basic working knowledge of the Python programming language is expected. Although fundamental knowledge of trade-related terminologies will be helpful, it is not mandatory.

What you will learn

  • Use Python to set up connectivity with brokers
  • Handle and manipulate time series data using Python
  • Fetch a list of exchanges, segments, financial instruments, and historical data to interact with the real market
  • Understand, fetch, and calculate various types of candles and use them to compute and plot diverse types of technical indicators
  • Develop and improve the performance of algorithmic trading strategies
  • Perform backtesting and paper trading on algorithmic trading strategies
  • Implement real trading in the live hours of stock markets

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 28, 2020
Length: 542 pages
Edition : 1st
Language : English
ISBN-13 : 9781838982515
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Aug 28, 2020
Length: 542 pages
Edition : 1st
Language : English
ISBN-13 : 9781838982515
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Can$ 197.97
Python Algorithmic Trading Cookbook
Can$61.99
Machine Learning for Algorithmic Trading
Can$73.99
Learn Algorithmic Trading
Can$61.99
Total Can$ 197.97 Stars icon

Table of Contents

12 Chapters
Handling and Manipulating Date, Time, and Time Series Data Chevron down icon Chevron up icon
Stock Markets - Primer on Trading Chevron down icon Chevron up icon
Fetching Financial Data Chevron down icon Chevron up icon
Computing Candlesticks and Historical Data Chevron down icon Chevron up icon
Computing and Plotting Technical Indicators Chevron down icon Chevron up icon
Placing Regular Orders on the Exchange Chevron down icon Chevron up icon
Placing Bracket and Cover Orders on the Exchange Chevron down icon Chevron up icon
Algorithmic Trading Strategies - Coding Step by Step Chevron down icon Chevron up icon
Algorithmic Trading - Backtesting Chevron down icon Chevron up icon
Algorithmic Trading - Paper Trading Chevron down icon Chevron up icon
Algorithmic Trading - Real Trading Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8
(10 Ratings)
5 star 60%
4 star 0%
3 star 20%
2 star 0%
1 star 20%
Filter icon Filter
Top Reviews

Filter reviews by




Anil Kumar Das Dec 10, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Book delivered on time .Highly recommend this book to anyone start in the python language for trading .
Amazon Verified review Amazon
Ajit Nair Oct 05, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Nothing to dislike !! Highly recommend d for domain specific programming and conceptual exposition to the topic !!!
Amazon Verified review Amazon
jml Sep 09, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Overview:Python Algorithmic Trading Cookbook starts with a gentle introduction to the power of Pandas and moves logically through the process of handling online trades. The book then demonstrates the procedural flow of automated trading, very useful if you’re new to the process. “Recipes” provide deep detail about the steps and terms involved, and subsequent chapters expand on familiarizing the reader with both the Python and investing terms and concepts. A light but readable treatment of the math behind indicators like trend, volatility, and volume analysis is also included with the sections demonstrating each of these tools. Order placement and handling are covered along with recipes for technical trades such as bracketing and stop-loss and lessons on pre-testing and performing actual trades. Appendices describe account setup for the services mentioned in the text as well as some useful strategy hints and reminders.Hits:You don’t need to have a lot of prior knowledge about financial markets to get the concepts and framework presented here. The math’s presented in easily-handled chunks and the author provides references for those who want to dive in deeper. If you’re not familiar with concepts like backtesting and paper trading, they’re made clear using short, comprehensible explanations.Misses:It looks like some chapters rely on specific GUI or at least graphics packages being installed, and it would be nice if more details were available regarding those requirements. I’d also like to see some information regarding trade and account security as those topics are integral to today's trading environments.Conclusion:A solid buy if you want to get into online stock markets and need to understand algorithmic trading. It’s not a trading textbook but if you have even a minimal understanding of how trading works, you’ll get up and running fast by following the recipes and explanations in this book.
Amazon Verified review Amazon
Karl Bateman Nov 24, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great book! I'm fairly new to python, and I am able to follow the book with ease.
Amazon Verified review Amazon
Raj Dec 13, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have experience with Python and Data Analysis, but no experience with algorithmic trading. I would say anyone with little programming knowledge of Python can enjoy this book as it provides coding examples for all the concepts it explores.The author has dedicated a section to explain trading strategies which I cant wait to try out in real world with my brokerage account.With over 500 pages of content and detailed codebase on GitHub, this would be a fantastic read if you are an analyst or algorithmic trading enthusiast with an understanding of financial markets and an interest in trading strategies. You should also find value as an investment professional who aims to leverage Python to make better decisions.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.