IStopOrderManager
StockSharp.MatchingEngine
Interface for managing stop orders.
Methods
Cancel(long, StopOrderInfo) : bool
Cancel a stop order.
- transactionId
- Transaction ID of the stop order.
- info
- Cancelled stop order info.
Returns: 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.
Returns: 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.
Returns: if the old stop order was found and replaced.