Dear all,
Attached is an example for combining multiple strategies, designed in Zipline, in a single quantopian script, using my zipeline2quantopian script. It contains simple portfolio cash allocation for each strategy, and a dictionary aggregation mechanism to eventually synchronize positions in similar instruments but triggered by different strategies.
I have chosen very simple strategies (should I even call that a strategy?), BUT I've applied them to no-split (or few), no-dividend instruments so that the comparison with quantopian split-adjusted only price should correlate well with that of Yahoo in Zipline.
The strategy and results are in a github repo here: https://github.com/florentchandelier/zipline2quantopian/tree/master/example/multi-strat_multi-instru
HTH.
Updated on Post April 12th .... new ATS architecture.