Table of Contents

Class OrderLogGenerator

Namespace
StockSharp.Algo.Testing
Assembly
StockSharp.Algo.dll

The orders log generator using random method.

public class OrderLogGenerator : MarketDataGenerator
Inheritance
OrderLogGenerator
Inherited Members
Extension Methods

Constructors

OrderLogGenerator(SecurityId)

Initializes a new instance of the OrderLogGenerator.

public OrderLogGenerator(SecurityId securityId)

Parameters

securityId SecurityId

The identifier of the instrument, for which data shall be generated.

OrderLogGenerator(SecurityId, TradeGenerator)

Initializes a new instance of the OrderLogGenerator.

public OrderLogGenerator(SecurityId securityId, TradeGenerator tradeGenerator)

Parameters

securityId SecurityId

The identifier of the instrument, for which data shall be generated.

tradeGenerator TradeGenerator

Tick trades generator using random method.

Properties

DataType

Market data type.

public override DataType DataType { get; }

Property Value

DataType

IdGenerator

The order identifier generator Id.

public IdGenerator IdGenerator { get; set; }

Property Value

IdGenerator

TradeGenerator

Tick trades generator using random method.

public TradeGenerator TradeGenerator { get; }

Property Value

TradeGenerator

Methods

Clone()

Create a copy of MarketDataGenerator.

public override MarketDataGenerator Clone()

Returns

MarketDataGenerator

Copy.

Init()

To initialize the generator state.

public override void Init()

OnProcess(Message)

Process message.

protected override Message OnProcess(Message message)

Parameters

message Message

Message.

Returns

Message

The result of processing. If null is returned, then generator has no sufficient data to generate new message.

Process(Message)

Process message.

public override Message Process(Message message)

Parameters

message Message

Message.

Returns

Message

The result of processing. If null is returned, then generator has no sufficient data to generate new message.