Position

StockSharp.BusinessEntities

The position by the instrument.

継承元: NotifiableObject

実装: ILocalTimeMessage, IServerTimeMessage

コンストラクター

Position()

Initializes a new instance of the Position.

プロパティ

AveragePrice : decimal?

Average price.

BeginValue : decimal?

Position size at the beginning of the trading session.

BlockedValue : decimal?

Position size, registered for active orders.

BuyOrdersCount : int?

Orders (bids).

BuyOrdersMargin : decimal?

Margin (buy).

ClientCode : string

Client code assigned by the broker.

CloseTime : DateTime?

Position close time.

Commission : decimal?

Total commission.

CommissionMaker : decimal?

Commission (maker).

CommissionTaker : decimal?

Commission (taker).

Currency : CurrencyTypes?

Portfolio currency.

CurrentPrice : decimal?

Position price.

CurrentValue : decimal?

Current position size.

DepoName : string

The depositary where the physical security.

Description : string

Text position description.

ExpirationDate : DateTime?

Expiration date.

LastChangeTime : DateTime

Time of last position change.

Leverage : decimal?

Margin leverage.

LimitType : TPlusLimits?

Limit type for Т+ market.

LiquidationPrice : decimal?

Liquidation price.

LocalTime : DateTime

Local time of the last position change.

OpenTime : DateTime?

Position open time.

OrdersCount : int?

Orders.

OrdersMargin : decimal?

Orders (margin).

Portfolio : Portfolio

Portfolio, in which position is created.

PortfolioName : string

Portfolio name.

RealizedPnL : decimal?

Realized profit.

Security : Security

Security, for which a position was created.

SellOrdersCount : int?

Orders (asks).

SellOrdersMargin : decimal?

Margin (sell).

ServerTime : DateTime

Time of last position change.

SettlementPrice : decimal?

Settlement price.

Side : Sides?

Side.

StrategyId : string

Strategy id.

TradesCount : int?

Trades.

UnrealizedPnL : decimal?

Unrealized profit.

VariationMargin : decimal?

Variation margin.

メソッド

Clone() : Position

Create a copy of Position.

戻り値: Copy.

CopyTo(Position)

To copy fields of the current position to .

destination
The position in which you should to copy fields.
ToString() : string

Преобразовать к строковому представлению.

戻り値: Строковое представление.