Table of Contents

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

currency string
amount double

Properties

Amount

Gets the amount of the currency balance.

public double Amount { get; }

Property Value

double

Currency

Gets the currency.

public string Currency { get; }

Property Value

string

Methods

ToString()

Returns a string representation of this object.

public override string ToString()

Returns

string