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.