Click or drag to resize

MarketEmulatorSettings Properties

The MarketEmulatorSettings type exposes the following members.

Properties
  NameDescription
Public propertyBufferTime
Responses shall be sent in intervals by whole package. The network delay and buffered operation of exchange are emulated. The default is 0 ms.
Public propertyCheckMoney
Check money balance.
Public propertyCheckTradingState
Check trading state.
Public propertyConvertTime
To convert time for orders and trades into exchange time. By default, it is disabled.
Public propertyDepthExpirationTime
The maximal time, during which the order book is in the emulator, if no renewal during this time, the order book is deleted, This feature may be used to remove old order books if the are holes in data. By default is equal to 1 day.
Public propertyFailing
The percentage value of new orders registration error. The value may be from 0 (not a single error) to 100. By default is Off.
Public propertyIncreaseDepthVolume
To add the additional volume into order book at registering orders with greater volume. By default, it is enabled.
Public propertyInitialOrderId
The number, starting at which the emulator will generate identifiers for orders Id.
Public propertyInitialTradeId
The number, starting at which the emulator will generate identifiers fir trades Id.
Public propertyInitialTransactionId
The number, starting at which the emulator will generate numbers for order trades TransactionId.
Public propertyIsSupportAtomicReRegister
Gets a value indicating whether the re-registration orders as a single transaction. By default is enabled.
Public propertyLatency
The minimal value of the registered orders delay. By default, it is Zero, which means instant adoption of registered orders by exchange.
Public propertyMatchOnTouch
At emulation of clearing by trades, to perform clearing of orders, when trade price touches the order price (is equal to order price), rather than only when the trade price is better than order price. Is On by default (optimistic scenario).
Public propertyMaxDepth
The maximal depth of order book, which will be generated from ticks. It used, if there is no order book history. By default equals to 5.
Public propertyPortfolioRecalcInterval
The interval for recalculation of data on portfolios. If interval equals Zero, recalculation is not performed.
Public propertyPriceLimitOffset
The price shift from the previous trade, determining boundaries of maximal and minimal prices for the next session. Used only if there is no saved information Level1ChangeMessage. By default, it equals to 40%.
Public propertySpreadSize
The size of spread in price increments. It used at determination of spread for generation of order book from tick trades. By default equals to 2.
Public propertyTimeZone
Information about the time zone where the exchange is located.
Public propertyVolumeMultiplier
The number of volume increments, at which the order exceeds the tick trade. It used at testing on tick trades. By default equals to 2.
Top
See Also