costs_pct_profit.Rd
Calculate costs as percent of profits
costs_pct_profit(results_df, initial_equity)
Results dataframe from rsims backtest
Starting equity
Costs as a percentage of profit
if (FALSE) {
results_df <- cash_backtest(prices, weights)
costs_pct_profit(results_df, 20000)
}