Table of Contents

Class FinancingCollection

Namespace
Balsam.MoneyManagement
Assembly
Balsam.Backtester.dll

A collection of financing objects controlling how interest is debited/credited.

public class FinancingCollection : ICollection<Financing>, IEnumerable<Financing>, IEnumerable
Inheritance
FinancingCollection
Implements
Inherited Members
Extension Methods

Properties

Count

Returns the number of elements in the collection.

public int Count { get; }

Property Value

int

IsEnabled

Gets/sets whether financing is enabled globally.

public bool IsEnabled { get; set; }

Property Value

bool

IsReadOnly

Returns false.

protected bool IsReadOnly { get; }

Property Value

bool

RiskFreeRate

Gets/sets the risk free rate. Null is equivalent to a risk free rate of zero.

public Financing RiskFreeRate { get; set; }

Property Value

Financing

Methods

Add(Financing)

Adds the specified item to the end of the collection.

public void Add(Financing item)

Parameters

item Financing

Clear()

Removes all elements from the collection.

public void Clear()

Contains(Financing)

Determines whether the specified item is in the collection.

public bool Contains(Financing item)

Parameters

item Financing

Returns

bool

CopyTo(Financing[], int)

Copies the collection to an array.

protected void CopyTo(Financing[] array, int arrayIndex)

Parameters

array Financing[]
arrayIndex int

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<Financing> GetEnumerator()

Returns

IEnumerator<Financing>

Remove(Financing)

Removes the first occurence of the specified item from the collection.

public bool Remove(Financing item)

Parameters

item Financing

Returns

bool

ToString()

Returns a string representation of this object.

public override string ToString()

Returns

string