if self.__PPO[-1] is None:
    return

def signal():
    return self.__signal


class MyStrategy(strategy.BacktestingStrategy):

    def __init__(self, feed, instruments):
        pass
How to create a composite strategy, using multiple instruments, in Pyalgotrade?