Class PercentOfEquity
- Namespace
- Balsam.MoneyManagement
- Assembly
- Balsam.Backtester.dll
A money manager that targets a notional position of a certain percentage of equity.
public class PercentOfEquity : MoneyManager
- Inheritance
-
PercentOfEquity
- Inherited Members
- Extension Methods
Constructors
PercentOfEquity()
Initializes a new PercentOfEquity money manager.
public PercentOfEquity()
PercentOfEquity(double)
Initializes a new PercentOfEquity money manager targeting the specified percentage.
public PercentOfEquity(double percent)
Parameters
percent
double
Properties
IncludeEquityChangeToday
Gets/sets whether the P&L from trades closed today are included in equity.
public bool IncludeEquityChangeToday { get; set; }
Property Value
Percent
Gets/sets the percent to target.
public double Percent { get; set; }
Property Value
Methods
OnEntry(Trade)
Size the positions.
protected override void OnEntry(Trade trade)
Parameters
trade
Trade