Click or drag to resize

ConnectorCancelOrders Method

Cancel orders by filter.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public void CancelOrders(
	Nullable<bool> isStopOrder = null,
	Portfolio portfolio = null,
	Nullable<Sides> direction = null,
	ExchangeBoard board = null,
	Security security = null,
	Nullable<SecurityTypes> securityType = null,
	Nullable<long> transactionId = null
)

Parameters

isStopOrder (Optional)
Type: SystemNullableBoolean
, if cancel only a stop orders, - if regular orders, - both.
portfolio (Optional)
Type: StockSharp.BusinessEntitiesPortfolio
Portfolio. If the value is equal to , then the portfolio does not match the orders cancel filter.
direction (Optional)
Type: SystemNullableSides
Order side. If the value is , the direction does not use.
board (Optional)
Type: StockSharp.BusinessEntitiesExchangeBoard
Trading board. If the value is equal to , then the board does not match the orders cancel filter.
security (Optional)
Type: StockSharp.BusinessEntitiesSecurity
Instrument. If the value is equal to , then the instrument does not match the orders cancel filter.
securityType (Optional)
Type: SystemNullableSecurityTypes
Security type. If the value is , the type does not use.
transactionId (Optional)
Type: SystemNullableInt64
Order cancellation transaction id.

Implements

IConnectorCancelOrders(NullableBoolean, Portfolio, NullableSides, ExchangeBoard, Security, NullableSecurityTypes, NullableInt64)
See Also