NoMarkPrices
StockSharp.MatchingEngine
Prices for a portfolio with no market behind it: nothing is quoted, so every position is worth what it cost.
Implementa: IMarkPrices
Propiedades
Instance
public static NoMarkPrices Instance { get; }
value = NoMarkPrices.Instance
The single instance.
Métodos
TryGetClosePrice
public decimal? TryGetClosePrice(SecurityId securityId, Sides closeSide)
result = noMarkPrices.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.
Devuelve: The price, or when the market has not named one.