ErrorCode
Summary
Enumeration of standard error codes.
Remarks
Error codes are readable descriptions of the responses returned by the server.
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
Fields
TechnicalError
Summary
A generic technical error with a trade request.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
BadVolume
Summary
The volume value is not valid
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
NoMoney
Summary
There are not enough money in the account to trade with.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
MarketClosed
Summary
The market is closed.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
Disconnected
Summary
The server is disconnected.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
EntityNotFound
Summary
Position does not exist.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
Timeout
Summary
Operation timed out.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
UnknownSymbol
Summary
Unknown symbol.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
InvalidStopLossTakeProfit
Summary
The invalid Stop Loss or Take Profit.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
InvalidRequest
Summary
The invalid request.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |
NoTradingPermission
Summary
Occurs when accessing trading API without trading permission.
Signature
1 | |
Return Value
ErrorCode
Examples
1 2 3 4 5 6 7 | |