IMarkPrices

StockSharp.MatchingEngine

What an open position can be closed at right now.

方法

TryGetClosePrice
public decimal? TryGetClosePrice(SecurityId securityId, Sides closeSide)
result = iMarkPrices.TryGetClosePrice(securityId, closeSide)

The price a position in can be closed at by an order of .

securityId
Instrument the position is held in.
closeSide
Side of the order that would close the position.

返回值: The price, or when the market has not named one.