code: def register_combo(self, parent, legs):
          
          parent = self.ibConn.contractString(parent)
          legs_dict = {}
          for leg in legs:
              leg = self.ibConn.contractString(leg)
              legs_dict[leg] = self.get_instrument(leg)
          self.instrument_combos[parent] = legs_dict
docs: add contracts to groups