IStopOrderManager

StockSharp.MatchingEngine

Interface for managing stop orders.

Методы

Cancel(long, StopOrderInfo) : bool

Cancel a stop order.

transactionId
Transaction ID of the stop order.
info
Cancelled stop order info.

Возвращает: if the stop order was found and cancelled.

CheckPrice(SecurityId, decimal, DateTime) : IReadOnlyList<StopOrderTrigger>

Check price against all registered stop orders for the given security.

securityId
Security ID.
price
Current market price.
time
Current time.

Возвращает: List of triggered stop orders with resulting orders to submit.

Clear()

Clear all stop orders.

Register(StopOrderInfo)

Register a new stop order.

Replace(long, StopOrderInfo) : bool

Atomically replace an existing stop order with a new one.

origTransactionId
Transaction ID of the stop order to replace.
newInfo
New stop order info.

Возвращает: if the old stop order was found and replaced.