sim_dtfm: Simulate log-optimal strategy for DTFM

Description Usage Arguments Value

View source: R/simulations.R

Description

Simulates daily stock prices under the model and implements the strategy. Assuming no trading costs, etc. Returns mean and total growth plus pnl.

Usage

1
sim_dtfm(n, spot, bankroll, distr, param, rate = 0, plotG = TRUE)

Arguments

n

number of days to simulate

spot

initial stock price

bankroll

initial bankroll

distr

distribution of daily arithmetic returns

param

parameters of the distribution

rate

risk-neutral rate

plotG

boolean for plotting on call

Value

list


shill1729/KellyCriterion documentation built on Oct. 12, 2020, 4:21 a.m.