Click or drag to resize

OrderLogGenerator Class

The orders log generator using random method.
Inheritance Hierarchy
SystemObject
  CloneableMarketDataGenerator
    StockSharp.Algo.TestingMarketDataGenerator
      StockSharp.Algo.TestingOrderLogGenerator

Namespace:  StockSharp.Algo.Testing
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public class OrderLogGenerator : MarketDataGenerator

The OrderLogGenerator type exposes the following members.

Constructors
  NameDescription
Public methodOrderLogGenerator(SecurityId)
Initializes a new instance of the OrderLogGenerator.
Public methodOrderLogGenerator(SecurityId, TradeGenerator)
Initializes a new instance of the OrderLogGenerator.
Top
Properties
  NameDescription
Public propertyDataType
Market data type.
(Overrides MarketDataGeneratorDataType.)
Public propertyIdGenerator
The order identifier generator Id.
Public propertyInterval
The data generation interval.
(Inherited from MarketDataGenerator.)
Protected propertyLastGenerationTime
The time of last data generation.
(Inherited from MarketDataGenerator.)
Public propertyMaxPriceStepCount
The maximal number of price increments PriceStep to be returned through massive Steps.
(Inherited from MarketDataGenerator.)
Public propertyMaxVolume
The maximal volume. The volume will be selected randomly from MinVolume to MaxVolume.
(Inherited from MarketDataGenerator.)
Public propertyMinVolume
The maximal volume. The volume will be selected randomly from MinVolume to MaxVolume.
(Inherited from MarketDataGenerator.)
Public propertyRandomArrayLength
The length of massive of preliminarily generated random numbers. The default is 100.
(Inherited from MarketDataGenerator.)
Protected propertySecurityDefinition
Information about the trading instrument.
(Inherited from MarketDataGenerator.)
Public propertySecurityId
The identifier of the instrument, for which data shall be generated.
(Inherited from MarketDataGenerator.)
Public propertySteps
The massive of random price increments in the range from 1 to MaxPriceStepCount.
(Inherited from MarketDataGenerator.)
Public propertyTradeGenerator
Tick trades generator using random method.
Public propertyVolumes
The massive of random volumes in the range from MinVolume to MaxVolume.
(Inherited from MarketDataGenerator.)
Top
Methods
  NameDescription
Public methodClone
Create a copy of MarketDataGenerator.
(Overrides Cloneable.Clone.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit
To initialize the generator state.
(Overrides MarketDataGeneratorInit.)
Protected methodIsTimeToGenerate
Is new data generation required.
(Inherited from MarketDataGenerator.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnProcess
Process message.
(Overrides MarketDataGeneratorOnProcess(Message).)
Public methodProcess
Process message.
(Overrides MarketDataGeneratorProcess(Message).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also