Class ConstantDollarSize
- Namespace
- Balsam.MoneyManagement
- Assembly
- Balsam.Backtester.dll
A money manager that sizes positions based on a constant dollar size.
public class ConstantDollarSize : MoneyManager
- Inheritance
-
ConstantDollarSize
- Inherited Members
- Extension Methods
Constructors
ConstantDollarSize(double)
Initializes a new constant dollar size money manager.
public ConstantDollarSize(double amount)
Parameters
amount
double
Properties
Amount
The dollar amount to target.
public double Amount { get; set; }
Property Value
Methods
OnEntry(Trade)
Sizes the position.
protected override void OnEntry(Trade trade)
Parameters
trade
Trade