def get_duration(self):
        return sum([frame.duration for frame in self.frames \
                                   if frame.duration is not None])
place an order on already subscribed contract
dataset/ETHPy150Open ardekantur/pyglet/pyglet/image/__init__.py/Animation.get_duration--crossover with--dataset/ETHPy150Open cmorgan/trading-with-python/lib/interactivebrokers.py/Broker.placeOrder