Table of Contents

Class SpreadLegCollection

Namespace
Balsam
Assembly
Balsam.Backtester.dll

A collection of legs that makes a spread position.

public class SpreadLegCollection : ICollection<Position>, IEnumerable<Position>, IEnumerable
Inheritance
SpreadLegCollection
Implements
Inherited Members
Extension Methods

Properties

Count

Gets the number of positions in the collection.

public int Count { get; }

Property Value

int

this[int]

Gets the position at the specified index.

public Position this[int index] { get; }

Parameters

index int

Property Value

Position

Methods

GetEnumerator()

Returns an enumerator to iterate through the collection.

public IEnumerator<Position> GetEnumerator()

Returns

IEnumerator<Position>