Show / Hide Table of Contents

Class AlgorithmLoader

Helper class for dynamic algorithm instantiation.

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

Methods

| Edit this page View Source

GetAllAlgorithms(bool)

Return list of all known TuringTrader algorithms

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

if true, only return public classes

Returns
Type Description
List<AlgorithmInfo>

list of algorithms

| Edit this page View Source

InstantiateAlgorithm(string)

Instantiate TuringTrader algorithm

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

class name

Returns
Type Description
IAlgorithm

algorithm instance

| Edit this page 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

| Edit this page View Source

PrintInfo()

Print info about all algorithms found

Declaration
public static void PrintInfo()
  • Edit this page
  • View Source
In this article
Back to top Copyright © 2011-2023, Bertram Enterprises LLC dba TuringTrader.com