ProtoOAErrorCode

StockSharp.cTrader.Native.Model

* Error code ENUM.

フィールド

AccountNotAuthorized : ProtoOAErrorCode

When account is not authorized.

AlreadyLoggedIn : ProtoOAErrorCode

When client tries to authorize after it was already authorized.

AlreadySubscribed : ProtoOAErrorCode

When subscription is requested for an active.

ChAccessTokenInvalid : ProtoOAErrorCode

Access token is invalid.

ChannelIsBlocked : ProtoOAErrorCode

Operations are not allowed for this account.

ChClientAlreadyAuthenticated : ProtoOAErrorCode

Client is trying to authenticate twice.

ChClientAuthFailure : ProtoOAErrorCode

Open API client is not activated or wrong client credentials.

ChClientNotAuthenticated : ProtoOAErrorCode

When a command is sent for not authorized Open API client.

ChCtidTraderAccountNotFound : ProtoOAErrorCode

Trading account is not found.

ChOaClientNotFound : ProtoOAErrorCode

Could not find this client id.

ChServerNotReachable : ProtoOAErrorCode

Trading service is not available.

ConnectionsLimitExceeded : ProtoOAErrorCode

Limit of connections is reached for this Open API client.

IncorrectBoundaries : ProtoOAErrorCode

When requested period (from,to) is too large or invalid values are set to from/to.

MaxExposureReached : ProtoOAErrorCode

Max exposure limit is reached for a {trader, symbol, side}.

NotEnoughMoney : ProtoOAErrorCode

Not enough funds to allocate margin.

OrderNotFound : ProtoOAErrorCode

Order not found.

PendingExecution : ProtoOAErrorCode

Unable to apply changes as position has an order under execution.

PositionLocked : ProtoOAErrorCode

Position in the state that does not allow to perform an operation.

PositionNotFound : ProtoOAErrorCode

Position not found.

PositionNotOpen : ProtoOAErrorCode

When trying to close a position that it is not open.

ProtectionIsTooCloseToMarket : ProtoOAErrorCode

Invalid protection prices.

RetAccountDisabled : ProtoOAErrorCode

When account is disabled.

RetNoSuchLogin : ProtoOAErrorCode

When such account no longer exists.

ServerIsUnderMaintenance : ProtoOAErrorCode

Server is under maintenance.

ShortSellingNotAllowed : ProtoOAErrorCode

Short selling is not allowed.

SymbolHasHoliday : ProtoOAErrorCode

Trading disabled because symbol has holiday.

SymbolNotFound : ProtoOAErrorCode

Symbol not found.

TooManyPositions : ProtoOAErrorCode

Trading account reached its limit for max number of open positions and orders.

TradingBadPrices : ProtoOAErrorCode

Invalid price (e.g. negative).

TradingBadStake : ProtoOAErrorCode

Invalid stake volume (e.g. negative).

TradingBadStops : ProtoOAErrorCode

Invalid stop price.

TradingDisabled : ProtoOAErrorCode

Trading is blocked for the symbol.

TradingNotAllowed : ProtoOAErrorCode

Trading account is in read only mode.

UnableToAmendOrder : ProtoOAErrorCode

Unable to amend order.

UnableToCancelOrder : ProtoOAErrorCode

Unable to cancel order.

UnknownSymbol : ProtoOAErrorCode

Note: to be merged with SYMBOL_NOT_FOUND.

WorseGslNotAllowed : ProtoOAErrorCode

Not allowed to increase risk for Positions with Guaranteed Stop Loss.