All functions |
|
---|---|
Append NAV to backtest results dataframe |
|
Annual turnover |
|
Timeseries portfolio returns |
|
Sharpe ratio |
|
For backwards compatibility Follows renaming of original cash_backtest function to fixed_commission_backtest |
|
Combine portfolio anda asset returns |
|
Commission chart |
|
Commission as percent of exposure chart |
|
Calculate costs as percent of profits |
|
Number of Days to Expiry |
|
Fixed Commission Backtest |
|
Futures Backtest, roll on days to expiry, fixed commission model |
|
Fixed percent commission |
|
Calculate timeseries of end-of-day portfolio equity from futures backtest results. |
|
Per-Contract Futures Commissions |
|
Generate ggplot colours |
|
Portfolio color scale (tickers only) |
|
Portfolio fill scale (tickers only) |
|
Portfolio color scale |
|
Portfolio fill scale |
|
Make Futures Simulation Prices Matrix |
|
Make Futures Simulation Weights Matrix |
|
Equities Minimum Commission Backtest |
|
Generate a set of portfolio colours |
|
Calculate target positions from theoretical weights and trade buffer parameter |
|
Calculate target positions from theoretical weights and trade buffer parameter in the presence of minimum commission |
|
Roll on Days to Expiry |
|
Roll on Open Interest |
|
Rolling annualised portfolio performance |
|
Rolling annualised portfolio performance plot |
|
Plot exposures and NAV timeseries as a stacked area chart |
|
Summary performance table |
|
Trade chart |
|
US Tiered Minimum Commission Model |
|
Wrangle Futures Contracts for Simulation using Open Interest |