class BackTestInstance:

    def __init__(self):
        self.context = None

    # 实例初始化
    def init(self):
        pass

    # 实例销毁
    def destroy(self):
        pass

    # 执行
    def execute(self):
        pass

    # 执行止损逻辑
    def executeStopLoss(self):
        pass

    # 执行止盈逻辑
    def executeStopProfit(self):
        pass
