ProtoOAErrorCode

StockSharp.cTrader.Native.Model

* Código de erro ENUM.

Campos

AccountNotAuthorized
public const ProtoOAErrorCode AccountNotAuthorized
value = ProtoOAErrorCode.AccountNotAuthorized

Quando a conta não é autorizada.

AlreadyLoggedIn
public const ProtoOAErrorCode AlreadyLoggedIn
value = ProtoOAErrorCode.AlreadyLoggedIn

Quando o cliente tenta autorizar depois de já ter sido autorizado.

AlreadySubscribed
public const ProtoOAErrorCode AlreadySubscribed
value = ProtoOAErrorCode.AlreadySubscribed

Quando é solicitada a subscrição de um activo.

ChAccessTokenInvalid
public const ProtoOAErrorCode ChAccessTokenInvalid
value = ProtoOAErrorCode.ChAccessTokenInvalid

O token de acesso é inválido.

ChannelIsBlocked
public const ProtoOAErrorCode ChannelIsBlocked
value = ProtoOAErrorCode.ChannelIsBlocked

As operações não são permitidas para esta conta.

ChClientAlreadyAuthenticated
public const ProtoOAErrorCode ChClientAlreadyAuthenticated
value = ProtoOAErrorCode.ChClientAlreadyAuthenticated

O cliente está a tentar autenticar-se duas vezes.

ChClientAuthFailure
public const ProtoOAErrorCode ChClientAuthFailure
value = ProtoOAErrorCode.ChClientAuthFailure

Cliente de API aberta não está ativado ou credenciais de cliente erradas.

ChClientNotAuthenticated
public const ProtoOAErrorCode ChClientNotAuthenticated
value = ProtoOAErrorCode.ChClientNotAuthenticated

Quando um comando é enviado para o cliente Open API não autorizado.

ChCtidTraderAccountNotFound
public const ProtoOAErrorCode ChCtidTraderAccountNotFound
value = ProtoOAErrorCode.ChCtidTraderAccountNotFound

A conta de negociação não é encontrada.

ChOaClientNotFound
public const ProtoOAErrorCode ChOaClientNotFound
value = ProtoOAErrorCode.ChOaClientNotFound

Não foi possível encontrar este ID do cliente.

ChServerNotReachable
public const ProtoOAErrorCode ChServerNotReachable
value = ProtoOAErrorCode.ChServerNotReachable

O serviço de comércio não está disponível.

ConnectionsLimitExceeded
public const ProtoOAErrorCode ConnectionsLimitExceeded
value = ProtoOAErrorCode.ConnectionsLimitExceeded

O limite de conexões é alcançado para este cliente Open API.

IncorrectBoundaries
public const ProtoOAErrorCode IncorrectBoundaries
value = ProtoOAErrorCode.IncorrectBoundaries

Quando o período solicitado (de,para) é demasiado grande ou valores inválidos são definidos para de/para.

MaxExposureReached
public const ProtoOAErrorCode MaxExposureReached
value = ProtoOAErrorCode.MaxExposureReached

O limite máximo de exposição é atingido para {trader, symbol, side}.

NoQuotes
public const ProtoOAErrorCode NoQuotes
value = ProtoOAErrorCode.NoQuotes

Negociação

NotEnoughMoney
public const ProtoOAErrorCode NotEnoughMoney
value = ProtoOAErrorCode.NotEnoughMoney

Não há fundos suficientes para alocar margem.

NotSubscribedToSpots
public const ProtoOAErrorCode NotSubscribedToSpots
value = ProtoOAErrorCode.NotSubscribedToSpots

Preços

OaAuthTokenExpired
public const ProtoOAErrorCode OaAuthTokenExpired
value = ProtoOAErrorCode.OaAuthTokenExpired

Autorização

OrderNotFound
public const ProtoOAErrorCode OrderNotFound
value = ProtoOAErrorCode.OrderNotFound

Ordem não encontrada.

PendingExecution
public const ProtoOAErrorCode PendingExecution
value = ProtoOAErrorCode.PendingExecution

Não foi possível aplicar as alterações como posição tem uma ordem em execução.

PositionLocked
public const ProtoOAErrorCode PositionLocked
value = ProtoOAErrorCode.PositionLocked

Posição no estado que não permite realizar uma operação.

PositionNotFound
public const ProtoOAErrorCode PositionNotFound
value = ProtoOAErrorCode.PositionNotFound

Posição não encontrada.

PositionNotOpen
public const ProtoOAErrorCode PositionNotOpen
value = ProtoOAErrorCode.PositionNotOpen

Ao tentar fechar uma posição que não está aberta.

ProtectionIsTooCloseToMarket
public const ProtoOAErrorCode ProtectionIsTooCloseToMarket
value = ProtoOAErrorCode.ProtectionIsTooCloseToMarket

Preços de protecção inválidos.

RequestFrequencyExceeded
public const ProtoOAErrorCode RequestFrequencyExceeded
value = ProtoOAErrorCode.RequestFrequencyExceeded

Geral

RetAccountDisabled
public const ProtoOAErrorCode RetAccountDisabled
value = ProtoOAErrorCode.RetAccountDisabled

Quando a conta está desactivada.

RetNoSuchLogin
public const ProtoOAErrorCode RetNoSuchLogin
value = ProtoOAErrorCode.RetNoSuchLogin

Quando tal conta já não existe.

ServerIsUnderMaintenance
public const ProtoOAErrorCode ServerIsUnderMaintenance
value = ProtoOAErrorCode.ServerIsUnderMaintenance

O servidor está em manutenção.

ShortSellingNotAllowed
public const ProtoOAErrorCode ShortSellingNotAllowed
value = ProtoOAErrorCode.ShortSellingNotAllowed

Não é permitido vender a descoberto.

SymbolHasHoliday
public const ProtoOAErrorCode SymbolHasHoliday
value = ProtoOAErrorCode.SymbolHasHoliday

Trocar desactivado porque o símbolo tem férias.

SymbolNotFound
public const ProtoOAErrorCode SymbolNotFound
value = ProtoOAErrorCode.SymbolNotFound

Símbolo não encontrado.

TooManyPositions
public const ProtoOAErrorCode TooManyPositions
value = ProtoOAErrorCode.TooManyPositions

A conta de negociação atingiu o seu limite para o número máximo de posições e ordens abertas.

TradingBadExpirationDate
public const ProtoOAErrorCode TradingBadExpirationDate
value = ProtoOAErrorCode.TradingBadExpirationDate

Expiração inválida.

TradingBadPrices
public const ProtoOAErrorCode TradingBadPrices
value = ProtoOAErrorCode.TradingBadPrices

Preço inválido (e.g. negativo).

TradingBadStake
public const ProtoOAErrorCode TradingBadStake
value = ProtoOAErrorCode.TradingBadStake

Volume de estaca inválido (e.g. negativo).

TradingBadStops
public const ProtoOAErrorCode TradingBadStops
value = ProtoOAErrorCode.TradingBadStops

Preço de paragem inválido.

TradingBadVolume
public const ProtoOAErrorCode TradingBadVolume
value = ProtoOAErrorCode.TradingBadVolume

Volume inválido.

TradingDisabled
public const ProtoOAErrorCode TradingDisabled
value = ProtoOAErrorCode.TradingDisabled

A troca está bloqueada pelo símbolo.

TradingNotAllowed
public const ProtoOAErrorCode TradingNotAllowed
value = ProtoOAErrorCode.TradingNotAllowed

A conta de negociação está no modo somente leitura.

UnableToAmendOrder
public const ProtoOAErrorCode UnableToAmendOrder
value = ProtoOAErrorCode.UnableToAmendOrder

Não foi possível alterar a ordem.

UnableToCancelOrder
public const ProtoOAErrorCode UnableToCancelOrder
value = ProtoOAErrorCode.UnableToCancelOrder

Não foi possível cancelar o pedido.

UnknownSymbol
public const ProtoOAErrorCode UnknownSymbol
value = ProtoOAErrorCode.UnknownSymbol

Nota: a ser mesclada com SYMBOL_NOT_FOUND.

WorseGslNotAllowed
public const ProtoOAErrorCode WorseGslNotAllowed
value = ProtoOAErrorCode.WorseGslNotAllowed

Não é permitido aumentar o risco de posições com perda de parada garantida.