Namespace ATAS.Indicators.Trading
Classes
- AccountSnapshot
A trading account at one moment, copied by the platform.
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>
- OperationOutcome
The end of an operation an interceptor allowed, passed to OnOperationCompleted(OperationOutcome) once for each such operation (see there for the exceptions: a late answer, a disposed instance). An interceptor that reserves a limit when it allows an operation releases it here when the operation was not sent.
Not in ATAS 8.0.15 yet: available from the next version.
- OrderCheckResult
The answer of OnCheckAsync(TradeOperation, CancellationToken): allow the operation or reject it with a reason.
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>
- OrderInterceptor
Base class of an order interceptor written in a custom assembly: a rule that sees every trading operation of the platform before it reaches the broker and may allow or reject it — a daily loss limit, a maximum size, trading hours, a cool-down after a loss, a check against a server of a prop firm. Derive from it, mark the class with OrderInterceptorAttribute, give it a public parameterless constructor and override OnCheckAsync(TradeOperation, CancellationToken); the other hooks are optional.
Not in ATAS 8.0.15 yet: available from the next version.
- OrderInterceptorAttribute
Marks a class derived from OrderInterceptor as an order interceptor and supplies its discovery metadata. The platform lists only interceptors that carry this attribute.
Not in ATAS 8.0.15 yet: available from the next version.
- OrderSnapshot
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.
- PositionSnapshot
A position of one account in one instrument at one moment, copied by the platform.
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>
- ProtectionChange
The change of a position's protection that a ChangeProtection operation asks for, as
ITradingManager.SetStopLoss,SetTakeProfitandSetBreakeventake it.Not in ATAS 8.0.15 yet: available from the next version.
- TradeOperation
A trading operation the platform is about to send to the broker (OnCheckAsync(TradeOperation, CancellationToken)), or one it has done and only reports (OnOperationObserved(TradeOperation)). Every value is a copy taken when the platform built the operation; the platform builds it, the public setters exist so that an interceptor's own tests can build one too.
Not in ATAS 8.0.15 yet: available from the next version.
- TradeSnapshot
One fill of an order of the account, copied by the platform.
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>
Interfaces
- IOrderInterceptorContext
What the platform gives an OrderInterceptor (its
Context): the current state of the accounts, read at call time as snapshots, and the platform log. Safe to call from any method of the interceptor.Not in ATAS 8.0.15 yet: available from the next version.
Enums
- OperationOutcomeKind
What happened to an operation an interceptor allowed (OperationOutcome).
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>
- ProtectionChangeKind
Which protection of a position a ProtectionChange sets.
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>
- TradeActor
Who performs a TradeOperation, or who created an order.
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>
- TradeOperationKind
What a TradeOperation does.
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>