Fetching historical data using the Heikin-Ashi candlestick pattern