ITransactionProvider

StockSharp.BusinessEntities

Transactional operations provider interface.

Propriedades

TransactionIdGenerator : IdGenerator

Transaction id generator.

Métodos

CancelOrder(Order)

Cancel the order.

order
The order which should be canceled.
CancelOrders(bool?, Portfolio, Sides?, ExchangeBoard, Security, SecurityTypes?, long?)

Cancel orders by filter.

isStopOrder
, if cancel only a stop orders, - if regular orders, - both.
portfolio
Portfolio. If the value is equal to , then the portfolio does not match the orders cancel filter.
direction
Order side. If the value is , the direction does not use.
board
Trading board. If the value is equal to , then the board does not match the orders cancel filter.
security
Instrument. If the value is equal to , then the instrument does not match the orders cancel filter.
securityType
Security type. If the value is , the type does not use.
transactionId
Order cancellation transaction id.
EditOrder(Order, Order)

Edit the order.

order
Order.
changes
Order changes.
IsOrderEditable(Order) : bool?

Determines the specified order can be edited by Order).

order
Order.

Retorna: if the order is editable, order cannot be changed, means no information.

IsOrderReplaceable(Order) : bool?

Determines the specified order can be replaced by Order).

order
Order.

Retorna: if the order is replaceable, order cannot be replaced, means no information.

RegisterOrder(Order)

Register new order.

order
Registration details.
ReRegisterOrder(Order, Order)

Reregister the order.

oldOrder
Cancelling order.
newOrder
New order to register.

Eventos

LookupPortfoliosResult : Action<PortfolioLookupMessage, IEnumerable<Portfolio>, Exception>

Lookup result PortfolioLookupMessage received.

MassOrderCanceled : Action<long>

Mass order cancellation event.

MassOrderCanceled2 : Action<long, DateTime>

Mass order cancellation event.

MassOrderCancelFailed : Action<long, Exception>

Mass order cancellation errors event.

MassOrderCancelFailed2 : Action<long, Exception, DateTime>

Mass order cancellation errors event.

NewMyTrade : Action<MyTrade>

Own trade received.

NewOrder : Action<Order>

Order received.

OrderCancelFailed : Action<OrderFail>

Order cancellation error event.

OrderChanged : Action<Order>

Order changed (cancelled, matched).

OrderEdited : Action<long, Order>

Order) success result event.

OrderEditFailed : Action<long, OrderFail>

Order) error result event.

OrderRegisterFailed : Action<OrderFail>

Order registration error event.