Enum TradeOperationKind
- Namespace
- ATAS.Indicators.Trading
- Assembly
- ATAS.Indicators.dll
What a TradeOperation does.
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>
public enum TradeOperationKind
- Extension Methods
Fields
PlaceOrder = 0A new order is placed (Order).
ModifyOrder = 1A working order is changed: price, trigger price or quantity. WorkingOrder is the order as it works now, Order the requested terms.
CancelOrder = 2A working order is cancelled (WorkingOrder).
ChangeProtection = 3The stop-loss, take-profit or breakeven of the position's protective strategy is changed (Protection).
ClosePosition = 4A position is closed. Reported only (IsRejectable is
false).ClosePositions = 5Several positions are closed at once. Reported only.
GoFlat = 6An account goes flat: its orders are cancelled and its positions closed. Reported only.
Remarks
New values may be added in later versions of the platform: treat an unknown value as "some other operation" (for example, allow it, or decide by IsPositionIncreasing), never as an error.