code: def get_store(logger: Logger=None) -> 'Store':
      
      from trading_bots.conf import settings
      store_settings = settings.storage
      store = store_settings.get('name', 'json')
      if store == 'json':
          store = 'trading_bots.core.storage.JSONStore'
      elif store == 'redis':
          store = 'trading_bots.core.storage.RedisStore'
      store_cls = load_class_by_name(store)
      kwargs = store_cls.configure(store_settings)
      return store_cls(logger=logger, **kwargs)
docs: Get and configure the storage backend