code: def load_bbg_generic(sid_or_accessor, start=None, end=None):
      
      end = end and pd.to_datetime(end) or pd.datetime.now()
      start = start and pd.to_datetime(start) or end + pd.datetools.relativedelta(years=-1)
  
      FLDS = ['PX_OPEN', 'PX_HIGH', 'PX_LOW', 'PX_LAST']
      RENAME = {'PX_OPEN': 'open', 'PX_HIGH': 'high', 'PX_LOW': 'low', 'PX_LAST': 'close'}
      accessor = _resolve_accessor(sid_or_accessor)
      sid = accessor.sid
      pxframe = accessor.get_historical(FLDS, start=start, end=end).rename(columns=RENAME)
      pxs = InstrumentPrices(pxframe)
      return Instrument(sid, pxs, multiplier=1.)
docs: terminal and datamgr are mutually exclusive.
  
      :param sid_or_accessor: security identifier or SidAccessor from DataManager
      :param start:
      :param end:
      :return: