ProtoOAErrorCode
StockSharp.cTrader.Native.Model
* 错误代码为ENUM。
字段
AccountNotAuthorized
public const ProtoOAErrorCode AccountNotAuthorized
value = ProtoOAErrorCode.AccountNotAuthorized
当未授权账户时。
AlreadyLoggedIn
public const ProtoOAErrorCode AlreadyLoggedIn
value = ProtoOAErrorCode.AlreadyLoggedIn
当客户端在已经授权后试图授权时.
AlreadySubscribed
public const ProtoOAErrorCode AlreadySubscribed
value = ProtoOAErrorCode.AlreadySubscribed
当请求订阅活动时 。
ChAccessTokenInvalid
public const ProtoOAErrorCode ChAccessTokenInvalid
value = ProtoOAErrorCode.ChAccessTokenInvalid
访问令牌无效 。
ChannelIsBlocked
public const ProtoOAErrorCode ChannelIsBlocked
value = ProtoOAErrorCode.ChannelIsBlocked
不允许为这个账户开户。
ChClientAlreadyAuthenticated
public const ProtoOAErrorCode ChClientAlreadyAuthenticated
value = ProtoOAErrorCode.ChClientAlreadyAuthenticated
客户端试图验证两次。
ChClientAuthFailure
public const ProtoOAErrorCode ChClientAuthFailure
value = ProtoOAErrorCode.ChClientAuthFailure
打开API客户端不会被激活或错误的客户端证书.
ChClientNotAuthenticated
public const ProtoOAErrorCode ChClientNotAuthenticated
value = ProtoOAErrorCode.ChClientNotAuthenticated
当命令被发送到未授权的 Open API 客户端时.
ChCtidTraderAccountNotFound
public const ProtoOAErrorCode ChCtidTraderAccountNotFound
value = ProtoOAErrorCode.ChCtidTraderAccountNotFound
交易账户未找到 。
ChOaClientNotFound
public const ProtoOAErrorCode ChOaClientNotFound
value = ProtoOAErrorCode.ChOaClientNotFound
找不到客户端 ID 。
ChServerNotReachable
public const ProtoOAErrorCode ChServerNotReachable
value = ProtoOAErrorCode.ChServerNotReachable
贸易服务不到位。
ConnectionsLimitExceeded
public const ProtoOAErrorCode ConnectionsLimitExceeded
value = ProtoOAErrorCode.ConnectionsLimitExceeded
已针对此 Open API 客户端达到了连接限制 。
IncorrectBoundaries
public const ProtoOAErrorCode IncorrectBoundaries
value = ProtoOAErrorCode.IncorrectBoundaries
当请求的期间(从,到)太大时,或者将无效值设置为从/到.
MaxExposureReached
public const ProtoOAErrorCode MaxExposureReached
value = ProtoOAErrorCode.MaxExposureReached
最大接触限值是{trader, symbol, side}。
NotEnoughMoney
public const ProtoOAErrorCode NotEnoughMoney
value = ProtoOAErrorCode.NotEnoughMoney
没有足够的资金分配差额。
NotSubscribedToSpots
public const ProtoOAErrorCode NotSubscribedToSpots
value = ProtoOAErrorCode.NotSubscribedToSpots
定价
OaAuthTokenExpired
public const ProtoOAErrorCode OaAuthTokenExpired
value = ProtoOAErrorCode.OaAuthTokenExpired
授权
OrderNotFound
public const ProtoOAErrorCode OrderNotFound
value = ProtoOAErrorCode.OrderNotFound
命令没有找到 。
PendingExecution
public const ProtoOAErrorCode PendingExecution
value = ProtoOAErrorCode.PendingExecution
无法应用更改, 因为执行中的命令 。
PositionLocked
public const ProtoOAErrorCode PositionLocked
value = ProtoOAErrorCode.PositionLocked
在不允许进行操作的状态中的位置.
PositionNotFound
public const ProtoOAErrorCode PositionNotFound
value = ProtoOAErrorCode.PositionNotFound
位置未找到 。
PositionNotOpen
public const ProtoOAErrorCode PositionNotOpen
value = ProtoOAErrorCode.PositionNotOpen
当试图关闭一个它不开放的位置时。
ProtectionIsTooCloseToMarket
public const ProtoOAErrorCode ProtectionIsTooCloseToMarket
value = ProtoOAErrorCode.ProtectionIsTooCloseToMarket
无效的保护价格 。
RequestFrequencyExceeded
public const ProtoOAErrorCode RequestFrequencyExceeded
value = ProtoOAErrorCode.RequestFrequencyExceeded
常规
RetAccountDisabled
public const ProtoOAErrorCode RetAccountDisabled
value = ProtoOAErrorCode.RetAccountDisabled
当账户被禁用时。
RetNoSuchLogin
public const ProtoOAErrorCode RetNoSuchLogin
value = ProtoOAErrorCode.RetNoSuchLogin
当这种账户不复存在时。
ServerIsUnderMaintenance
public const ProtoOAErrorCode ServerIsUnderMaintenance
value = ProtoOAErrorCode.ServerIsUnderMaintenance
服务器正在维护中。
ShortSellingNotAllowed
public const ProtoOAErrorCode ShortSellingNotAllowed
value = ProtoOAErrorCode.ShortSellingNotAllowed
短卖是不允许的.
SymbolHasHoliday
public const ProtoOAErrorCode SymbolHasHoliday
value = ProtoOAErrorCode.SymbolHasHoliday
交易因符号有节日而失效.
SymbolNotFound
public const ProtoOAErrorCode SymbolNotFound
value = ProtoOAErrorCode.SymbolNotFound
符号未找到 。
TooManyPositions
public const ProtoOAErrorCode TooManyPositions
value = ProtoOAErrorCode.TooManyPositions
交易账户达到了开放职位和订单数量上限。
TradingBadExpirationDate
public const ProtoOAErrorCode TradingBadExpirationDate
value = ProtoOAErrorCode.TradingBadExpirationDate
无效的过期 。
TradingBadPrices
public const ProtoOAErrorCode TradingBadPrices
value = ProtoOAErrorCode.TradingBadPrices
无效价格(e.g. 负).
TradingBadStake
public const ProtoOAErrorCode TradingBadStake
value = ProtoOAErrorCode.TradingBadStake
无效的赌注音量(e.g. 负) 。
TradingBadStops
public const ProtoOAErrorCode TradingBadStops
value = ProtoOAErrorCode.TradingBadStops
无效的停站价格 。
TradingBadVolume
public const ProtoOAErrorCode TradingBadVolume
value = ProtoOAErrorCode.TradingBadVolume
无效的音量 。
TradingDisabled
public const ProtoOAErrorCode TradingDisabled
value = ProtoOAErrorCode.TradingDisabled
交易被封禁了,因为这个符号。
TradingNotAllowed
public const ProtoOAErrorCode TradingNotAllowed
value = ProtoOAErrorCode.TradingNotAllowed
交易账户只读取模式。
UnableToAmendOrder
public const ProtoOAErrorCode UnableToAmendOrder
value = ProtoOAErrorCode.UnableToAmendOrder
无法修改命令 。
UnableToCancelOrder
public const ProtoOAErrorCode UnableToCancelOrder
value = ProtoOAErrorCode.UnableToCancelOrder
无法取消订单 。
UnknownSymbol
public const ProtoOAErrorCode UnknownSymbol
value = ProtoOAErrorCode.UnknownSymbol
注:与SYMBOL_NOT_FOUND合并.
WorseGslNotAllowed
public const ProtoOAErrorCode WorseGslNotAllowed
value = ProtoOAErrorCode.WorseGslNotAllowed
不允许增加有保证停止损失的职位的风险。