Table of Contents

Class FactorLibrary

Namespace
Balsam.FactorAnalysis
Assembly
Balsam.Backtester.dll

Encapsulates a collection of factors implementing ISeries.

public class FactorLibrary : IEnumerable<Factor>, IEnumerable
Inheritance
FactorLibrary
Implements
Inherited Members
Extension Methods

Properties

Count

Gets the number of factors.

public int Count { get; }

Property Value

int

Description

Gets/sets a description.

public string Description { get; set; }

Property Value

string

this[int]

Gets the factor at the specified index.

public Factor this[int index] { get; }

Parameters

index int

Property Value

Factor

Methods

Add(Factor)

Adds the specified factor to the collection.

public void Add(Factor factor)

Parameters

factor Factor

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<Factor> GetEnumerator()

Returns

IEnumerator<Factor>

Load(string)

Loads a collection from disk using the specified file name.

public static FactorLibrary Load(string fileName)

Parameters

fileName string

Returns

FactorLibrary

Save(string)

Saves the collection to the specified file name.

public void Save(string fileName)

Parameters

fileName string

ToString()

Returns a string representation of this object.

public override string ToString()

Returns

string