Stock Portfolio BACKTESTING using PYTHON

Опубликовано: 27 Март 2026
на канале: JustWriteTheCode
2,001
58

In this video we'll see how to backtest any stock portfolio using Python.
In particular, we are going to implement a simple function receving as input the start and end dates, the stock names and their weights in the portfolio.

00:00 - Import packages
01:16 - Input parameters
03:07 - Function implementation
08:21 - Testing our function
10:56 - Total portfolio return