optimalDTFM: Simulate log-optimal strategy for DTFM

View source: R/discreteTimeModels.R

optimalDTFMR Documentation

Simulate log-optimal strategy for DTFM

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

optimalDTFM(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/kellyfractions documentation built on July 16, 2025, 6:21 p.m.