2.13 Common error messages, exchange API error codes, various problems encountered by digital currency robots!

Author: The Little Dream, Created: 2017-01-03 11:18:41, Updated: 2019-08-01 09:23:35

Common bot error messages, exchange API error codes


The code is wrong. Detailed description
10000 Mandatory parameters cannot be null
10001 User requests too frequent
10002 The system error
10003 Not in the requested restriction list, please try again later
10004 IP restrictions cannot request this resource
10005 There is no key.
10006 User does not exist
10007 Signature not matched
10008 Illegal parameters
10009 Orders are not available
10010 Not enough money
10011 The number of transactions is less than the minimum BTC/LTC margin.
10012 The current site only supports btc_cny ltc_cny
10013 This interface only supports https requests
10014 Subscription price shall not be ≤ 0 or ≥ 1000000
10015 The price of the order is too far from the latest transaction price.
10016 Not enough coins
10017 API authorization failed
10018 Borrowing cannot be less than the minimum [cny:100,btc:0.1,ltc:1]
10019 Page does not agree to loan agreement
10020 The rate cannot be more than 1%.
10021 The rate cannot be less than 0.01%.
10023 Get the most recent transaction error
10024 Not enough to borrow
10025 The amount is full and the loan is temporarily not available.
10026 Loans (including pre-approved loans) and collateral cannot be submitted
10027 Modified sensitive token verification information, withdrawal not allowed within 24 hours
10028 The amount of tokens has exceeded today's limit
10029 If you have a loan in your account, please cancel the loan or withdraw the money after the loan is paid off.
10031 There is a BTC/LTC top-up, which requires 6 network confirmations for the partial equivalent amount to be submitted.
10032 Untied phone or Google verification
10033 The service fee is higher than the maximum network fee
10034 Fees are lower than minimum network charges
10035 There is not enough BTC/LTC available
10036 Number of tokens less than minimum number of tokens
10037 Transaction password not set
10040 Cancellation of the coin fails
10041 Ticket address not verified
10042 The transaction password is wrong
10043 Contract rights and interests fail, Tickets fail
10044 Cancellation of loans fails
10047 This function is currently not enabled for a sub-account.
10048 There is no information about the token
10049 The number of outstanding orders for small orders (< 0.5 BTC) cannot exceed 50
10050 Repeated withdrawal
10100 Accounts frozen
10101 Order type error
10102 Not a user order
10103 Private order key error
10216 Not open API
503 User requests are too frequent (http)

The error code is (massive transaction)

The code is wrong. Detailed description
10000 Mandatory parameters cannot be null
10001 User requests too frequent
10002 The system error
10003 Not in the requested restriction list, please try again later
10004 IP restrictions cannot request this resource
10005 There is no key.
10006 User does not exist
10007 Signature not matched
10008 Illegal parameters
10009 Orders are not available
10010 Not enough money
10011 The number of transactions is less than the minimum BTC/LTC margin.
10012 The current site only supports btc_cny ltc_cny
10013 This interface only supports https requests
10016 Not enough coins
10017 API authorization failed
10018 Borrowing cannot be less than the minimum [cny:100,btc:0.1,ltc:1]
10019 Page does not agree to loan agreement
10023 Get the most recent transaction error
10024 Not enough to borrow
10025 The amount is full and the loan is temporarily not available.
10026 Loans (including pre-approved loans) and collateral cannot be submitted
10027 Modified sensitive token verification information, withdrawal not allowed within 24 hours
10029 If you have a loan in your account, please cancel the loan or withdraw the money after the loan is paid off.
10032 Untied phone or Google verification
10035 There is not enough BTC/LTC available
10037 Transaction password not set
10042 The transaction password is wrong
10044 Cancellation of loans fails
10047 This function is currently not enabled for a sub-account.
10050 Repeated withdrawal
10060 Your withdrawal function has been frozen, please contact customer service!
10100 Accounts frozen
10101 Order type error
10102 Not a user order
10103 Private order key error
10104 The system has detected suspicious activity in your account, and you are not allowed to make any large transactions for the time being!
10216 Not open API
503 User requests are too frequent (http)
  • WebSocket error code The code is wrong.
The code is wrong. Detailed description
10001 Parameters are wrong
10002 Failed verification
10003 The connection has already requested real-time transaction data from other users.
10004 The connection did not request real-time transaction data for this user.
10005 The system error
10009 Orders are not available
10010 Not enough money
10011 The number sold is less than the minimum buy/sell margin of BTC/LTC
10012 The current site only supports ltc_usd
10014 Subscription price shall not be ≤ 0 or ≥ 1000000
10015 Subscribe to this channel for now
10016 Not enough coins
10017 Failed to authenticate WebSocket
10100 Users are frozen
10049 The number of outstanding orders for small orders (< 0.5 BTC) cannot exceed 50
10216 Not open API
20001 User does not exist
20002 Users are frozen
20003 Users frozen by explosion
20004 Contractual accounts frozen
20005 User contract account does not exist
20006 Must fill is empty.
20007 Parameters are wrong
20008 Contract account balance is empty
20009 Error in the virtual contract status
20010 No information on the contractual risk
20011 Pre-opening collateral rate is over 90%
20012 The collateral rate is over 90% after opening
20013 No price for now.
20014 The system error
20015 Order information not available
20016 Whether the number of holdings is greater than the number of holdings available in the same direction
20017 Non-personal operation
20018 The price below is 105% higher than the previous minute or 95% lower
20019 IP restriction cannot request this resource
20020 There is no key.
20021 Index information is not available
20022 Interface call error
20023 Users in stock
20024 Signature not matched
20025 Leverage ratio wrong
  • Polynetic error codes

    img

  • Common misinformation


  • 1、GetAccount: Post https://www.okcoin.cn/api/v1/userinfo.do: EOF

    This error was reported in the protocol establishing the EOF unintentional termination symbol in the file stream, causing the interruption. The reason may be that the API access frequency is too high. The policy routing frequency can be taken into account. This error is not of great impact if the frequency is not particularly high.

  • 2, the token error GetTicker: 534:

    This problem is long-standing, the error code is returned by the token server. However, the API documentation was not queried and did not see the 534 error, which should be a network error. If it is not very frequent, it does not affect much.

  • 3, connection reset by peer error:

    img

    Search for information: img

    The problem is a network error.

  • 5th, memory error.

    img

    This may be related to memory insufficiency or virtual memory usage.

  • 6, Common error: Attributes of undefined variables are accessed.

    img

    The chart above shows that accessing the Price property of an undefined variable caused an error. Check where the.Price call is located to see if the previous variable is possible to be undefined.

  • 7, a link was forced to close by the remote host.

    img

    A link is forced to close by the remote host (exchange server) without interrupting the policy operation.

  • 8 Exchange configuration issues

    img

    Generally visited an incorrectly configured exchange. Check if the exchange configuration is correct and whether the policy has accessed unconfigured exchanges[n] objects.

  • 9, Error reported when calling the Unix Nano () function.

    img

    Download the latest host and call the function normally after deployment. This bug was found when using the previous versions of the host to run real-time.

  • 10、nonce has expired

    img

    The time has passed. 1, which may be the time of the system running the custodian and the time of the exchange server. How to deal with this: correct the time of the system where the administrator is.

    The API KEY that may have been used elsewhere on the exchange, causing timing discrepancies, caused this issue. How to do it: Reapply for the API KEY using the new API KEY.

  • 11、no such host

    img

    DNS configuration issue on local network try to use114.114.114.114

  • 12、nonce not incremented

    img

    It is possible that other programs have used the exchange account API KEY and then used the Inventor Quantification Connection, causing. It is also possible that due to too frequent access to the API in a short period of time, the error does not occur after the user adds the Sleep function (delay) test after each API call. Zaif exchanges limit nonce based on 1 second increase, all verified nonce API calls require 1 second interval.

  • 13, wrong API KEY

    img

    img

  • When deploying the admin (interface version) in win 10, double-click on the admin does not respond, change the command-line version. The admin displays no permissions.

    Reason: the security mechanism of win 10, default unrecognized applications are not allowed to run. Solution: Right-click to run the hostexe program, select the lock attribute bar, and at the bottom of the first page, find the lock unlock bar Select it. I'm going to try to get it up and running again.

  • 15 Binance error reported

    img

    If you withdraw too much money and the transaction rate is too low, it will cause Binance to close your account for a while, and you will report this error.

  • 16th Binance Reported Mistake

    Recently, Binance has been reporting some time-lapse asynchronous errors such as:

    • Timestamp for this request was 1000ms ahead of the server’s time

    • Timestamp for this request is outside of the recvWindow

    If your host is running on a Linux system, you can try using this command to solve:

    # /ntp 服务移除
    # sudo launchctl remove org.ntp.ntpd
    # //更新本地时间
    # sudo ntpdate cn.pool.ntp.org
    
    • img

    The error is that the frequency of access to the exchange API is over-restricted, the IP is blocked, and the blocking can only be lifted at the time of the time stamp shown above.

  • I have a lot of problems!


  • 1, in digital currency futures (e.g. OKCoin futures) the following problems arise when operating multiple contracts using the exchange.Go function (e.g. concurrent operation):

    This strategy has caused a number of problems due to the use of the Go function (which was intended to operate concurrently), which causes the contract to be unable to be switched when running concurrently, and the actual contract type is not yet switched when the next contract is in the next contract, causing a series of problems. So do not use the exchange.GoAPI when operating multiple futures varieties, avoiding BUG.

  • Other APIs

  • exchange.SetMaxDigits is set to a decimal digit, and the parameter is 2, i.e. keep 2 digits.

I'm not sure.


More

haiwwhaiOKEX, Huobi seem to be wrong all the time

yiimengGetOrders: Post at http://api.btctrade.com/api/orders/: read tcp 172.18.187.95:55792->117.25.140.22:80: read: connection reset by peer This is a big mistake.

Like the sun when it shines.This is the first time I have seen a coin with an error. OKCoin error GetAccount: Posted by https://www.okcoin.cn/api/v1/userinfo.do: EOF Is this a mistake?

The Little DreamHello, specific error message. You can QQ me in the group, I'll help you check the problem, and if you have a problem, you can try using the latest admin program to see if it can be solved.

The Little DreamLast post Error logging The third article is.

The Little DreamNo, I'm checking to see if the API is being accessed too frequently.

Like the sun when it shines.I've been reporting this for hours. Is the exchange closed?

The Little DreamThe exceptional end of the file stream has no effect.