For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

How to get analyzer values in next()



  • We are trying to get analyzer values in next() using below code but getting "KeyError: 'returns'" error.

    pyfoliozer = thestrat.analyzers.getbyname('pyfolio')
    returns, positions, transactions, gross_lev = pyfoliozer.get_pf_items()

    Is there any workaround for this?


Log in to reply
 

});