NinjaScript > Language Reference > Strategy >

IncludeCommission

Print this Topic Previous pageReturn to chapter overviewNext page

Definition

Indicates if the strategy performance results will include commission on a historical backtest.

 

Property Value

This property returns true if the strategy includes commission on a historical backtest; otherwise, false.

 

Syntax

IncludeCommission

 

 

Examples

protected override void Initialize()
{
    IncludeCommission = true;
}