Getting pyfolio input from a zipline backtest

The result of a zipline backtest can be converted into the required pyfolio input using extract_rets_pos_txn_from_zipline:

returns, positions, transactions = 
extract_rets_pos_txn_from_zipline(backtest)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.147.252