Show / Hide Table of Contents

Class AlgorithmLoader

Helper class for dynamic algorithm instantiation.

Inheritance
System.Object
AlgorithmLoader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TuringTrader.Simulator
Assembly: TuringTrader.Simulator.dll
Syntax
public class AlgorithmLoader

Methods

| Improve this Doc View Source

GetAllAlgorithms(Boolean)

Return list of all known TuringTrader algorithms

Declaration
public static List<AlgorithmInfo> GetAllAlgorithms(bool publicOnly = true)
Parameters
Type Name Description
System.Boolean publicOnly

if true, only return public classes

Returns
Type Description
System.Collections.Generic.List<AlgorithmInfo>

list of algorithms

| Improve this Doc View Source

InstantiateAlgorithm(String)

Instantiate TuringTrader algorithm

Declaration
public static IAlgorithm InstantiateAlgorithm(string algorithmName)
Parameters
Type Name Description
System.String algorithmName

class name

Returns
Type Description
IAlgorithm

algorithm instance

| Improve this Doc View Source

InstantiateAlgorithm(AlgorithmInfo)

Instantiate TuringTrader algorithm

Declaration
public static IAlgorithm InstantiateAlgorithm(AlgorithmInfo algorithmInfo)
Parameters
Type Name Description
AlgorithmInfo algorithmInfo

algorithm info

Returns
Type Description
IAlgorithm

algorithm instance

| Improve this Doc View Source

PrintInfo()

Print info about all algorithms found

Declaration
public static void PrintInfo()
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2011-2021, Bertram Solutions LLC