class_docstr: Singleton class wrapping an ibpy ibConnection instance.
  
  The parameters can also be specified in the classes which use this store,
  like ``VCData`` and ``VCBroker``
class_docstr_tok: ["Singleton","class","wrapping","an","ibpy","ibConnection","instance",".","The","parameters","can","also","be","specified","in","the","classes","which","use","this","store",",","like","``","VCData","``","and","``","VCBroker","``"]
code: def find_vchart(self):
      # Tries to locate VisualChart in the registry to get the installation
      # directory
      # If not found returns well-known typelibs clsid
      # Else it will scan the directory to locate the 64/32 bit dlls and
      # return the paths
      import _winreg  # keep import local to avoid breaking test cases
  
      vcdir = None
  
      # Search for Directory in the usual root keys
      for rkey in (
          _winreg.HKEY_CURRENT_USER,
          _winreg.HKEY_LOCAL_MACHINE,
      ):
          try:
              vckey = _winreg.OpenKey(rkey, self.VC_KEYNAME)
          except WindowsError as e:
              continue
  
          # Try to get the key value
          try:
              vcdir, _ = _winreg.QueryValueEx(vckey, self.VC_KEYVAL)
          except WindowsError as e:
              continue
          else:
              break  # found vcdir
  
      if vcdir is None:
          return self.VC_TLIBS  # no dir found, last resort
  
      # DLLs are in the bin directory
      vcbin = os.path.join(vcdir, self.VC_BINPATH)
  
      # Search for the 3 libraries (64/32 bits) in the found dir
      for dlls in (
          self.VC64_DLLS,
          self.VC_DLLS,
      ):
          dfound = []
          for dll in dlls:
              fpath = os.path.join(vcbin, dll)
              if not os.path.isfile(fpath):
                  break
              dfound.append(fpath)
  
          if len(dfound) == len(dlls):
              return dfound
  
      # not all dlls were found, last resort
      return self.VC_TLIBS
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import collections
  from datetime import date, datetime, time, timedelta
  import os.path
  import threading
  import time
  import ctypes
  from backtrader import TimeFrame, Position
  from backtrader.feed import DataBase
  from backtrader.metabase import MetaParams
  from backtrader.utils.py3 import MAXINT, range, queue, string_types, with_metaclass
  from backtrader.utils import AutoDict
label_desc: Use image node_id 3 for calling the VCStore obj's underlying member method code with example usage: obj.find_vchart() and returns: self, self, dfound