SharpTrader.SDK - Developer API

FitnessBase..::..GetEquity Property

Sharpshooter infrastructure provides access to [EquitySeries] for the strategy through this function.

Namespace:  Sharpshooter.SDK
Assembly:  Sharpshooter.SDK (in Sharpshooter.SDK.dll)

Syntax


public Func<EquitySeries> GetEquity { get; set; }

Remarks


Note that [EquitySeries] is not evaluated except for top strategies unless fitness calculation requires it. Hence the GetEquity should not be called unless really needed.