Documentation/AlgoCode/Function reference
initial-capital
Backtest / analysis configuration (statistics only).
initial capital 100000
Affects simulated equity and strategy statistics inside Dovee. commission and slippage change simulated fills. max daily loss and max daily profit reset at midnight in the script timezone. The loss amount is unchanged. risk 1 percent sizes the initial quantity from this capital and the stop distance. It does not use running equity.
Return value
—
Example
initial capital 100000 commission 0.03 percent slippage 1 point max trades 3 cooldown 15 minutes