Learn R Programming

PortfolioTesteR (version 0.1.4)

validate_performance_inputs: Validate Performance Analysis Inputs

Description

data("sample_prices_weekly") Checks that backtest result and daily prices are properly formatted with matching symbols and appropriate date coverage.

Usage

validate_performance_inputs(backtest_result, daily_prices, benchmark_symbol)

Value

TRUE if valid, stops with error if not

Arguments

backtest_result

Backtest result object data("sample_prices_weekly")

daily_prices

Daily price data

benchmark_symbol

Benchmark symbol