BtEngine

BtEngine is a backtesting module designed to accept close prices outputted by yfinance.Ticker or yfinance.Tickers. It employs a strategy stored in BtStrategy and iterates over the historical to test the performance of a portfolio when actively trading.

__init__ Arguments

Attributes

Methods

run

Run the engine to perform iterative backtesting with the pre-determined strategy

Params: - None

Returns: