Skip to main content

bench

Load in a benchmark from a selected list or set your own based on the ticker.

Usage​

bench -b BENCHMARK [-s]

Parameters​

NameDescriptionDefaultOptionalChoices
benchmarkSet the benchmark for the portfolio. By default, this is SPDR S&P 500 ETF Trust (SPY).SPYFalseSPY, IVV, VTI, VOO, QQQ, VTV, VEA, IEFA, AGG, BND, VWO, VUG, IEMG, IJR, GLD, IWF, IJH, VIG, IWM, IWD, VO, EFA, VXUS, VGT, VYM, BNDX, VNQ, VB, XLK, ITOT, VCIT, VCSH, XLE, XLV, BSV, XLF, SCHD, RSP, LQD, IVW, VEU, TIP, IAU, SCHX, IXUS, IWR, IWB, DIA, EEM, USMV, SCHF, IVE, MUB, VV, VBR, ESGU, VT, DGRO, SHY, DVY, QUAL, SCHB, MBB, SDY, IGSB, VTIP, JPST, TLT, ACWI, MDY, IUSB, SHV, VGK, XLY, BIL, GOVT, VHT, VOE, XLP, SCHP, IEF, PFF, XLU, VTEB, EFV, SCHG, EMB, DFAC, SCHA, GDX, VMBS, TQQQ, VGSH, HYG, XLI, IWS, VXF, SPLG, SPYV, IWN
full_sharesWhether to only make a trade with the benchmark when a full share can be bought (no partial shares).FalseTrueNone

Examples​

2022 May 10, 09:53 (🦋) /portfolio/ $ bench Vanguard FTSE Developed Markets ETF (VEA)

Benchmark: Vanguard Developed Markets Index Fund (VEA)

2022 May 10, 09:53 (🦋) /portfolio/ $