def gcd(a, b):
    while b:
        a, b = b, a%b
    return a
Override (optional) to get notified when the order submitted to enter a position was canceled. The default implementation is empty.
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/fractions.py/gcd--crossover with--dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/strategy/__init__.py/BaseStrategy.onEnterCanceled