parameters: (self, ix: int)
return_statement: return text
docstring: Get information text to show by cursor.
docstring_summary: Get information text to show by cursor.
docstring_tokens: Get information text to show by cursor .
function: def get_info_text(self, ix: int) -> str:
          """
          Get information text to show by cursor.
          """
          bar = self._manager.get_bar(ix)
  
          if bar:
              words = [
                  "Date",
                  bar.datetime.strftime("%Y-%m-%d"),
                  "",
                  "Time",
                  bar.datetime.strftime("%H:%M"),
                  "",
                  "Open",
                  str(bar.open_price),
                  "",
                  "High",
                  str(bar.high_price),
                  "",
                  "Low",
                  str(bar.low_price),
                  "",
                  "Close",
                  str(bar.close_price)
              ]
              text = "\n".join(words)
          else:
              text = ""
  
          return text
function_tokens: def get_info_text ( self , ix : int ) -> str : bar = self . _manager . get_bar ( ix ) if bar : words = [ "Date" , bar . datetime . strftime ( "%Y-%m-%d" ) , "" , "Time" , bar . datetime . strftime ( "%H:%M" ) , "" , "Open" , str ( bar . open_price ) , "" , "High" , str ( bar . high_price ) , "" , "Low" , str ( bar . low_price ) , "" , "Close" , str ( bar . close_price ) ] text = "\n" . join ( words ) else : text = "" return text