示例#1
0
def add_strategies(symbols, strategies):
    """ 一个组合中的策略

    Args:
        algos (list): 一个策略组合

    Returns:
        Profile. 组合结果
    """
    simulator = ExecuteUnit(symbols, "1980-1-1", "2100-1-1", None, {})
    profiles = list(simulator.add_strategies(strategies))
    simulator.run()

    return profiles