docstr: Request historical 5 minute data from DTN.
docstr_tok: ["Request","historical","5","minute","data","from","DTN","."]
code: def get_historical_minute_data(self, ticker: str):
      """Request historical 5 minute data from DTN."""
      start = self._start
      stop = self._stop
  
      if len(stop) > 4:
          stop = stop[:4]
  
      if len(start) > 4:
          start = start[:4]
  
      for year in range(int(start), int(stop) + 1):
          beg_time = "%s0101000000" % year
          end_time = "%s1231235959" % year
          msg = "HIT,%s,60,%s,%s,,,,1,,,s\r\n" % (
              ticker,
              beg_time,
              end_time,
          )
          try:
              data = iq.iq_query(message=msg)
              iq.add_data_to_df(data=data)
          except Exception as err:
              log.error("No data returned because %s", err)
  
      try:
          self.dfdb.write_points(self._ndf, ticker)
      except InfluxDBClientError as err:
          log.error("Write to database failed: %s" % err)
  
file_path: backtrader/contrib/utils/iqfeed-to-influxdb.py
imports: import sys
  import os
  import io
  import socket
  import logging
  import numpy
  import pandas
  import datetime
  import argparse
  from influxdb import DataFrameClient
  from influxdb.exceptions import InfluxDBClientError
label_desc: Use image node_id 4 for calling the IQFeedTool obj's underlying member method code with example usage: obj.get_historical_minute_data(ticker) without return types