New Book Alert!

The Fruits Of My Research on Candlestick Pattern Recognition

Sofien Kaabar, CFA
3 min readOct 27, 2022


After months of research and work, my new book with O’Reilly Media is finally out! Mastering Financial Pattern Recognition (~288 pages) is now available for purchase on many platforms.

What This Book Features

Candlesticks have become a key component of platforms and charting programs for financial trading. With these charts, traders can learn underlying patterns for interpreting price action history and forecasts. This book shows portfolio managers, quants, strategists, and analysts how to use Python to recognize, scan, trade, and back-test the profitability of candlestick patterns. But not only that, the book shows many different types of technical indicators and how to combine them with candlestick patterns to form strategies.

With this book, you will:

  • Create and understand the conditions required for classic and modern candlestick patterns
  • Learn the market psychology behind them
  • Use a framework to learn how back-testing trading strategies are conducted
  • Explore different charting systems and understand their limitations
  • Import OHLC historical FX data in Python in different time frames
  • Use algorithms to scan for and reproduce patterns
  • Learn a pattern’s potential by evaluating its profitability and predictability

A Dynamic Book

As most non-fiction books nowadays, the content needs to be regularly updated with the evolution of concepts, conclusions, and code (if applicable).

With this book, you will have the possibility to ask your questions (on the O’Reilly platform) and provide any feedback so that you will get exactly what you need. The code can also be updated in case a library becomes deprecated or if an optimization technique is found. The most important thing is that the book must stay relevant to you, the reader.

The following are the major links from where you can download or order the book (With the official release in a few weeks).

On O’Reilly’s Website

You can find the book on O’Reilly’s official website which has a huge number of online books:

To Sum Up

Thanks to all my ~ 11,000 followers on Medium for your interest in my research and your interactions with me throughout my ~1000 articles. I have learnt a lot from your feedback and ideas and I will continue my sharing my work as long as I have something new to offer in the trading community.

If you are interested in previous books, feel free to contact me on LinkedIn.

Sofien KAABAR,



Sofien Kaabar, CFA

Top writer in Finance, Investing, Business | Trader & Author