Class CashBalance
- Namespace
- Balsam.MoneyManagement
- Assembly
- Balsam.Backtester.dll
Encapsulates a currency balance.
public class CashBalance
- Inheritance
-
CashBalance
- Inherited Members
- Extension Methods
Constructors
CashBalance(string, double)
Creates a new currency balance object.
public CashBalance(string currency, double amount)
Parameters
Properties
Amount
Gets the amount of the currency balance.
public double Amount { get; }
Property Value
Currency
Gets the currency.
public string Currency { get; }
Property Value
Methods
ToString()
Returns a string representation of this object.
public override string ToString()