Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver3
213いいね 10985回再生

Portfolio allocation backtesting in Python from scratch

Backtesting your portfolio can help you figure out the risk/reward profile of a given portfolio. In this video, I present python code that will help you backtest any given portfolio that you'd like.

Our main focus is on cryptocurrencies, but the exact same code will work well for stocks as well, since we're pulling data from the yfinance API, then plotting with matplotlib.

⭐ Code:
gist.github.com/ChadThackray/3db2b9fd63f91aa230606…

コメント