def add_annotation(self, annotation, alias, is_summary=False):
        annotation = annotation.resolve_expression(self, allow_joins=True, reuse=None,
                                                   summarize=is_summary)
        self.append_annotation_mask([alias])
        self.annotations[alias] = annotation
generated source for method openOrder
dataset/ETHPy150Open django/django/django/db/models/sql/query.py/Query.add_annotation--crossover with--dataset/ETHPy150Open CarterBain/Medici/ib/ext/EWrapper.py/EWrapper.openOrder