Dear all,
in zipline exampe strategy, the algorithm always be trigger through following code:
if __name__ == '__main__':
algo = TradingAlgorithm(initialize=initialize, handle_data=handle_data, capital_base=10000)
data = load_from_yahoo(stocks=algo.stocks, indexes={}, start=algo.startDate, end=algo.endDate)
results = algo.run(data)
How I could let the stratrgy to be running that trigger by another python file?
appreciate any suggestion, thanks a lot.