Created
June 11, 2021 15:12
-
-
Save HumanRupert/303d73000ba7a682043df2bc83665063 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def analyze(perf: pd.DataFrame, bench: pd.Series) -> None: | |
returns, positions, transactions = pf.utils.extract_rets_pos_txn_from_zipline(perf) | |
pf.create_full_tear_sheet(returns=returns, benchmark_rets=bench) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment