StopOrderManager
StockSharp.MatchingEngine
Stop order manager implementation.
Implementa: IStopOrderManager
Métodos
Cancel(long, StopOrderInfo) : bool
Cancel a stop order.
- transactionId
- Transaction ID of the stop order.
- info
- Cancelled stop order info.
Devuelve: 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.
Devuelve: List of triggered stop orders with resulting orders to submit.
Clear()
Clears all adapter states and resets current state to Disconnected.
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.
Devuelve: if the old stop order was found and replaced.