Reader small image

You're reading from  Python Algorithmic Trading Cookbook

Product typeBook
Published inAug 2020
Reading LevelIntermediate
PublisherPackt
ISBN-139781838989354
Edition1st Edition
Languages
Right arrow
Author (1)
Pushpak Dagade
Pushpak Dagade
author image
Pushpak Dagade

Pushpak Dagade is working in the area of algorithmic trading with Python for more than 3 years. He is a co-founder and CEO of AlgoBulls, an algorithmic trading platform.
Read more about Pushpak Dagade

Right arrow

Fetching historical data using the Heikin-Ashi candlestick pattern

The historical data of a financial instrument can be analyzed in the form of the Heikin-Ashi candlestick pattern. Brokers typically do not provide historical data using the Heikin-Ashi candlestick pattern via APIs. Brokers usually provide historical data using the Japanese candlestick pattern, which needs to be converted to the Heikin-Ashi candlestick pattern. A shorter candle interval hints at a localized price movement trend, while a larger candle interval indicates an overall price movement trend. Based on your algorithmic trading strategy, you may need the candle interval to be small or large. A candle interval of 1 minute is often the smallest available candle interval.

The Heikin-Ashi candlestick pattern works as follows:

  • Each candle has Close, Open, High, and Low attributes. For each candle, the following occurs:
  • Close is calculated as the average of the Open, High, Low, and Close attributes of the current Japanese...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Python Algorithmic Trading Cookbook
Published in: Aug 2020Publisher: PacktISBN-13: 9781838989354

Author (1)

author image
Pushpak Dagade

Pushpak Dagade is working in the area of algorithmic trading with Python for more than 3 years. He is a co-founder and CEO of AlgoBulls, an algorithmic trading platform.
Read more about Pushpak Dagade