Table of Contents

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 = 0

A new order is placed (Order).

ModifyOrder = 1

A working order is changed: price, trigger price or quantity. WorkingOrder is the order as it works now, Order the requested terms.

CancelOrder = 2

A working order is cancelled (WorkingOrder).

ChangeProtection = 3

The stop-loss, take-profit or breakeven of the position's protective strategy is changed (Protection).

ClosePosition = 4

A position is closed. Reported only (IsRejectable is false).

ClosePositions = 5

Several positions are closed at once. Reported only.

GoFlat = 6

An 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.