Package: PortfolioTesteR 0.1.4
PortfolioTesteR: Test Investment Strategies with English-Like Code
Design, backtest, and analyze portfolio strategies using simple, English-like function chains. Includes technical indicators, flexible stock selection, portfolio construction methods (equal weighting, signal weighting, inverse volatility, hierarchical risk parity), and a compact backtesting engine for portfolio returns, drawdowns, and summary metrics.
Authors:
PortfolioTesteR_0.1.4.tar.gz
PortfolioTesteR_0.1.4.zip(r-4.7-any)PortfolioTesteR_0.1.4.zip(r-4.6-any)PortfolioTesteR_0.1.4.zip(r-4.5-any)
PortfolioTesteR_0.1.4.tgz(r-4.6-any)PortfolioTesteR_0.1.4.tgz(r-4.5-any)
PortfolioTesteR_0.1.4.tar.gz(r-4.7-any)PortfolioTesteR_0.1.4.tar.gz(r-4.6-any)
PortfolioTesteR_0.1.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
PortfolioTesteR/json (API)
| # Install 'PortfolioTesteR' in R: |
| install.packages('PortfolioTesteR', repos = c('https://albertopallotta.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/albertopallotta/portfoliotester/issues
- sample_prices_daily - Sample Daily Stock Prices
- sample_prices_weekly - Sample Weekly Stock Prices
- sample_sp500_sectors - S&P 500 Sector Mappings
asset-allocationbacktestingmachine-learningportfolio-constructionportfolio-managementportfolio-optimizationquantitative-financetime-serieswalk-forward
Last updated from:1cda69b18b. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 162 | ||
| source / vignettes | OK | 231 | ||
| linux-release | OK | 163 | ||
| macos-release | OK | 194 | ||
| macos-oldrel | OK | 210 | ||
| windows-devel | OK | 114 | ||
| windows-release | OK | 115 | ||
| windows-oldrel | OK | 118 | ||
| wasm-release | OK | 103 |
Exports:align_to_timeframeanalyze_by_periodanalyze_drawdownsanalyze_performanceanalyze_vs_benchmarkapply_regimeas_selectionbacktest_metricsbucket_returnscalc_ccicalc_distancecalc_market_breadthcalc_momentumcalc_moving_averagecalc_relative_strength_rankcalc_rolling_correlationcalc_rolling_volatilitycalc_rsicalc_sector_breadthcalc_sector_relative_indicatorscalc_stochastic_dcalc_stochrsicalculate_daily_valuescalculate_drawdown_seriescap_exposurecap_turnovercarry_forward_weightscombine_filterscombine_scorescombine_weightsconvert_to_nweekscoverage_by_datecreate_regime_bucketscsv_adaptercv_tune_seqdemo_sector_mapdownload_sp500_sectorsensure_dt_copyevaluate_scoresfilter_abovefilter_belowfilter_betweenfilter_by_percentilefilter_rankfilter_thresholdfilter_top_nfilter_top_n_whereget_data_frequencyic_seriesinvert_signaljoin_panelslimit_positionslist_examplesload_mixed_symbolsmake_labelsmanual_adaptermembership_stabilitymetric_sharpeml_add_interactionsml_backtestml_backtest_multiml_backtest_seqml_ic_series_on_scoresml_make_ensembleml_make_modelml_make_seq_modelml_panel_opml_panel_reduceml_plot_ic_rollml_prepare_featurespanel_lagpanel_returns_simpleperf_metricsportfolio_returnspt_collect_resultsrank_within_sectorrebalance_calendarroll_fit_predictroll_fit_predict_seqroll_ic_statsrun_backtestrun_examplerun_param_gridrun_walk_forwardsafe_dividescores_oos_onlyselect_top_k_scoresselect_top_k_scores_by_groupsql_adaptersql_adapter_adjustedswitch_weightstransform_scorestune_ml_backtestturnover_by_dateupdate_vix_in_dbvalidate_data_formatvalidate_group_mapvalidate_no_leakagevol_targetweight_by_hrpweight_by_rankweight_by_regimeweight_by_risk_parityweight_by_signalweight_by_volatilityweight_equallyweight_from_scoreswf_reportwf_stitchwf_sweep_tabularyahoo_adapter
Last update: 2026-08-17
Started: 2025-09-07
Last update: 2025-11-01
Started: 2025-10-03
Last update: 2025-11-01
Started: 2025-09-25
