IPositionModifyAlgo

StockSharp.Algo.PositionManagement

Interface for position modify algorithms (detached from Diagram).

Implementiert: IDisposable

Eigenschaften

IsFinished : bool

Whether the algorithm has finished.

RemainingVolume : decimal

Remaining volume to execute.

Methoden

Cancel()

Cancel the current algo execution.

GetNextAction() : PositionModifyAction

Get the next action to take.

OnOrderCanceled(decimal)

Notify that an order was canceled.

matchedVolume
Volume that was matched before cancellation.
OnOrderFailed()

Notify that an order failed.

OnOrderMatched(decimal)

Notify that an order was matched (fully filled).

UpdateMarketData(DateTime, decimal?, decimal?)

Update market data.

time
Current time.
price
Last trade price.
volume
Last trade volume.
UpdateOrderBook(IOrderBookMessage)

Update order book data.

depth
Order book.