The MarketEmulatorSettings type exposes the following members.
Responses shall be sent in intervals by whole package. The network delay and buffered operation of exchange are emulated. The default is 0 ms.
Check money balance.
Check trading state.
To convert time for orders and trades into exchange time. By default, it is disabled.
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.
The percentage value of new orders registration error. The value may be from 0 (not a single error) to 100. By default is Off.
To add the additional volume into order book at registering orders with greater volume. By default, it is enabled.
The number, starting at which the emulator will generate identifiers for orders Id.
The number, starting at which the emulator will generate identifiers fir trades Id.
The number, starting at which the emulator will generate numbers for order trades TransactionId.
Gets a value indicating whether the re-registration orders as a single transaction. By default is enabled.
The minimal value of the registered orders delay. By default, it is Zero, which means instant adoption of registered orders by exchange.
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).
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.
The interval for recalculation of data on portfolios. If interval equals Zero, recalculation is not performed.
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%.
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.
Information about the time zone where the exchange is located.
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.