Table of Contents

Class OrderSnapshot

Namespace
ATAS.Indicators.Trading
Assembly
ATAS.Indicators.dll

The terms of an order at one moment, copied by the platform. Changing the order later does not change the snapshot, and nothing an interceptor does with it reaches the order.

Not in ATAS 8.0.15 yet: available from the next version.

public sealed class OrderSnapshot
Inheritance
object
OrderSnapshot
Extension Methods

Constructors

OrderSnapshot()

Initializes an empty snapshot; the platform sets the values.

public OrderSnapshot()

Properties

AccountId

The account of the order.

public string AccountId { get; init; }

Property Value

string

Comment

The comment of the order; null if none.

public string? Comment { get; init; }

Property Value

string

Direction

Buy or sell.

public OrderDirections Direction { get; init; }

Property Value

OrderDirections

Id

The order id at the broker; null or empty for an order not sent yet.

public string? Id { get; init; }

Property Value

string

IsReduceOnly

True if the order was sent with the broker's reduce-only option.

public bool IsReduceOnly { get; init; }

Property Value

bool

OcoGroup

The OCO group of the order: the other order of the group is cancelled when this one fills. null if none.

public string? OcoGroup { get; init; }

Property Value

string

Price

The limit price (limit and stop-limit orders), otherwise 0.

public decimal Price { get; init; }

Property Value

decimal

Quantity

The quantity of the order, in lots.

public decimal Quantity { get; init; }

Property Value

decimal

SecurityId

The instrument of the order.

public string SecurityId { get; init; }

Property Value

string

TimeInForce

How long the order works.

public TimeInForce TimeInForce { get; init; }

Property Value

TimeInForce

TriggerPrice

The trigger price (stop and stop-limit orders), otherwise 0.

public decimal TriggerPrice { get; init; }

Property Value

decimal

Type

Market, limit, stop or stop-limit.

public OrderTypes Type { get; init; }

Property Value

OrderTypes

Unfilled

The quantity not filled yet, in lots; equal to Quantity for an order not sent yet.

public decimal Unfilled { get; init; }

Property Value

decimal