I've been trying to find out if there's an error in my order.

Author: yukunjake, Created: 2018-08-20 21:03:25, Updated:

I don't know where the query order error is, error 429, this is the first time I've seen this error tonight.img


More

The Little DreamThis 429 is an http error, which should be your interface access too frequent. Exchanges generally limit API access frequency.

The Little DreamAt the top, the number of tokens!!! 0.354 tokens This is your own output log, which you can use directly from the Account Asset to access the GetAccount interface to get the asset information and print it out directly. In addition, your sub-order is a market order, a market order, a sell order. When the second parameter is passed to the exchange.Sell function, this parameter is the number of traded currencies, i.e. if you set the trading pair to ETH_USDT, you set this number only to the number of ETHs sold. Then you print account_dict, which is the number of quoted coins.

yukunjakeThis is a list of all the different ways Dn-filebox.qbox.me/bfb54e0f0ad706246ce554ae6235b05fceee7fa3.png is credited in the database. This is a list of all the different ways Dn-filebox.qbox.me/ee455c5b95ccb69ba108f8f4c4b144b8bcadade 9.png is credited in the database. The problem is that the number of tokens in the account does not match the number of tokens in the query.

The Little DreamI'm not sure what your problem is with these few lines of code. What number is 0? Trouble. Describe the problem.

yukunjakeSell.............................................................................................................................................................................................................................................................. So one time you can see it's finding the number of bitcoins, but one time it's not finding the number of bitcoins.

The Little DreamYou are either buying or selling. In addition, paste the code below and see it.

yukunjakeThe transaction is confirmed by querying the order status, and the account is only queried after the transaction has been fully completed using loop detection. The query is for coins, the number of coins is 0.

The Little DreamAre you buying or selling? Are you sure? After the transaction is completed, exchange.GetAccount () is called, which asks if the currency is 0 or the money is 0.

yukunjakeSometimes the reason why GetAccount gets the data is 0? Sometimes I make a transaction with a coin and confirm the transaction is successful, but when I query account information through GetAccount, the number is 0.