Position Methods |
The Position type exposes the following members.
| Name | Description | |
|---|---|---|
| CancelClose | ||
| CancelPendingOrders | ||
| Close | ||
| Enter | ||
| HasPendingLimitOrders |
True if the position has pending limit orders.
| |
| HasTrailedEntries |
True if the position has currently trailed entries.
| |
| IsEntryOrder | ||
| OnExecution | ||
| OnMarketDepth | ||
| OnOrderUpdate | ||
| OnPositionUpdate | ||
| ResetAttempts | ||
| SetStopLossProfitTarget | ||
| StateToSignalDirection |
Converts position state to direction of signal. E.g. PositionState.Long => SignalDirection.Long.
|