Calculate Capital Asset Pricing Model (CAPM) with PythonCapital Asset Pricing Model (CAPM)CAPM is one of the most commonly used formula in finance, which describes the relation2024-03-01 Quantitative Investmentyfinance plotly Building a quantitative value investing strategyQuantitative Value StrategyQuantitative value intestment means invest in the stocks that are “cheapest” relative to comm2024-02-28 Quantitative Investmentyfinance xlsxwriter Building a quantitative momentum investing strategyQuantitative Momentum StrategyQuantitative Momentum is an investment strategy which selects for investment the stocks wh2024-02-26 Quantitative Investmentyfinance xlsxwriter Building an equal-weight S&P 600 index fundLoad the list of S&P 600 companies from WikepediaThe S&P 600 is an index of small-cap company stocks created by2024-02-25 Quantitative Investmentyfinance xlsxwriter Read S&P 500 list of companies from Wikipedia and retrieve stock data using yfinanceLoad the list of S&P 500 companies from Wikepediaimport pandas as pd def load_data(url): html = pd.read_html(ur2024-02-24 Quantitative Investmentpandas seaborn yfinance matplotlib backtrader:设计一个简单的SMA策略backtrader:设计一个简单的SMA策略SMA策略SMA的全称是Simple Moving Average,计算的是给定一个时间区间,该区间内价格的平均,统计上来看SMA结果可以平滑掉一些瞬时波动,所以它在描述波动时会有延迟性。由于这2021-12-19 Quantitative Investmentpandas backtrader 历史回测平台backtrader的快速上手历史回测平台backtrader的快速上手backtrader是目前全球范围内基于Python功能最完善的量化回测平台之一,有比较大的社区环境,所以很容易找到帮助。框架也很容易理解,对于一个回测需求,使用backtrader主要包含以下7个2021-12-17 Quantitative Investmentpandas backtrader 使用Python包yfinance读取雅虎财经上的股票数据使用Python包yfinance读取雅虎财经上的股票数据安装yfinanceyfinance是一个使用简单但是功能强大的开源Python包,通过这个包我们可以获取在雅虎财经上列出来的包含历史数据的所有证券信息。除了通过GitHub上的源码2021-12-15 Quantitative Investmentyfinance