Position Class |
public class Position : ServiceBase, IPosition, IFilter, ISelectedInstrument, IDisposable, IEquatable<Position>, IObserver<Level1EventArgs>
The Position type exposes the following members.
| Name | Description | |
|---|---|---|
| Account | ||
| AveragePrice | ||
| CloseCommand | ||
| ClosePositionCommand | ||
| DialogService |
Opens a IDialogService dialog
(Inherited from ServiceBase) | |
| Error |
Gets the Error string
(Inherited from ServiceBase) | |
| FileService |
Opens a IFileService dialog
(Inherited from ServiceBase) | |
| Instrument | ||
| IsEnabled | ||
| Item |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) | |
| MarketPosition | ||
| MessageBox |
Opens a IMessageBoxService dialog
(Inherited from ServiceBase) | |
| ProductType | ||
| Quantity | ||
| RealizedCommission | ||
| RealizedPnL | ||
| SingletonService |
Opens a ISingletonService dialog
(Inherited from ServiceBase) | |
| UnrealizedCommission | ||
| UnrealizedPnL |
| Name | Description | |
|---|---|---|
| Dispose | ||
| Equals(Object) | (Overrides ObjectEquals(Object)) | |
| Equals(Position) | ||
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NotifyPropertyChanged | (Inherited from NotifyPropertyBase) | |
| ToString | (Overrides ObjectToString) |
| Name | Description | |
|---|---|---|
| PositionUpdated | ||
| PropertyChanged | (Inherited from NotifyPropertyBase) |