Interface which allows you to close an existing open position (to be imported).
Assets > Markets > Close Position
Assets > Markets > Close Position
Namespace: Stator.libPublic.ImportPlugins.DataObjectInterfaces
Assembly: libPublic (in libPublic.dll) Version: 4.0.2018.0 (4.0.18103)
Syntax
The IAssetsMarketsCloseOpenPosition type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | BaseTypeIdentifier |
The base type identifier for the ticker. i.e. X_AUS_ASX = Australian Stock Exchange |
![]() | CashAccountUniqueIdentifier |
A unique identifier for the cash account which the cash transaction will be assigned to. For reference see: UniqueIdentifier |
![]() | CloseReason |
The closing reason (the reason why the position was closed).
|
![]() | Costs |
The costs associated with the closing position.
|
![]() | CreateCashTransaction |
True if you would like a cash transaction to be created for this closed position.
|
![]() | CurrencyCode |
The currency code for the ticker (three letter ISO Code, i.e. AUD, USD).
|
![]() | DiaryNotes |
Diarynotes associated with the closing position.
|
![]() | EstateUniqueIdentifier |
A unique identifier for the estate which the open position belongs to. For more information regarding unique identifiers see: UniqueIdentifier |
![]() | ExchangeRateToAccount |
An exchange rate between the closed position currency and the cash account currency. Known as the Funding Exchange Rate. |
![]() | ExchangeRateToEstate |
An exchange rate between the closed position currency and the estate currency. Known as the Exit Exchange Rate |
![]() | ExitDateTime |
The closing date/time (when the position was closed).
|
![]() | ExitPrice |
The closing price (the exit price for the closed position).
|
![]() | OpenPositionUniqueIdentifier |
A unique identifier for the open position which will is to be closed (or partially closed) as a result of this interface. For more information regarding unique identifiers see: UniqueIdentifier |
![]() | QuantityClosed |
The closing quantity.
|
![]() | TickerCode |
The ticker code for the open position to be closed, i.e. MSFT = Microsoft.
|
![]() | UniqueIdentifier |
Unique identifier for this closed position.
|
Remarks
Why is this interface required?
This interface allows you to import data into Stator which will close an existing open position.
See Also