<jupyter_start><jupyter_text>"Pyfolio"> "KOSPI"toc:true- branch: master- badges: true- comments: true- author: swcha02- categories: [Finance,Python]<jupyter_code>import FinanceDataReader as fdr
import pyfolio as pf 
import numpy as np
ks11 = fdr.DataReader("KS11")["Close"].pct_change().dropna()
pf.create_returns_tear_sheet(ks11)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.022222222222222223, 'mean_word_length': 8.756756756756756, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '290851', 'license': 'Apache-2.0', 'n_tokens_mistral': 139, 'n_tokens_neox': 131, 'n_words': 26, 'path': '_notebooks/2021-07-10-Pyfolio.ipynb', 'repo_name': 'swcha02/swcha02', 'size': '360'}