Navigate to nu-pool/unix or nu-pool/windows depending on your operating system. Open pool.conf and input your API key, secret, and NBT reward address:
### REQUIRED PARAMETERS ###
# NuBits payout address
address = xxxxxxx
# API key from the exchange
apikey = xxxxxxx
# API secret from the exchange
apisecret = xxxxxxx
Run the client that is in the same folder as pool.conf. If it runs without error, deposit a small amount of funds into the bter account in the form of CNY or NBT. If you like what you see, deposit more. You can stop the bot, withdraw funds, or manually interact with the orders at any time.
Please be aware that automated trading with this software may be risky, addictive, unethical or illegal. Its misuse may also cause financial loss. None of the authors, contributors, administrators, or anyone else connected with Nubits, in any way whatsoever, can be responsible for the use you make of this software.
I have started a run of NBT/CNY at bter 3 hours ago and it’s running like a charm so far. Since Renminbi isn’t pegged to USD, there are slight fluctuations in the NBT/CNY pair, but the bot handles them well due to the price feed from yahoo
2015/05/19-05:34:19 INFO: price of cny moved from 6.20300000 to 6.20720000, will try to delete orders on bter
2015/05/19-05:37:44 INFO: price of cny moved from 6.20720000 to 6.20130000, will try to delete orders on bter
2015/05/19-05:38:44 INFO: price of cny moved from 6.20130000 to 6.20460000, will try to delete orders on bter
2015/05/19-05:50:45 INFO: price of cny moved from 6.20460000 to 6.20120000, will try to delete orders on bter
2015/05/19-06:01:02 INFO: price of cny moved from 6.20120000 to 6.20465000, will try to delete orders on bter
2015/05/19-06:10:05 INFO: price of cny moved from 6.20465000 to 6.20905000, will try to delete orders on bter
2015/05/19-06:13:03 INFO: price of cny moved from 6.20905000 to 6.20310000, will try to delete orders on bter
2015/05/19-06:13:33 INFO: price of cny moved from 6.20310000 to 6.20800000, will try to delete orders on bter
2015/05/19-06:19:34 INFO: price of cny moved from 6.20800000 to 6.20475000, will try to delete orders on bter
2015/05/19-06:22:04 INFO: price of cny moved from 6.20475000 to 6.20840000, will try to delete orders on bter
2015/05/19-06:25:34 INFO: price of cny moved from 6.20840000 to 6.20435000, will try to delete orders on bter
2015/05/19-07:16:04 INFO: price of cny moved from 6.20435000 to 6.20850000, will try to delete orders on bter
2015/05/19-07:16:36 INFO: price of cny moved from 6.20850000 to 6.20275000, will try to delete orders on bter
2015/05/19-07:18:04 INFO: price of cny moved from 6.20275000 to 6.20620000, will try to delete orders on bter
2015/05/19-07:22:34 INFO: price of cny moved from 6.20620000 to 6.21150000, will try to delete orders on bter
2015/05/19-07:24:04 INFO: price of cny moved from 6.21150000 to 6.20510000, will try to delete orders on bter
What happens in case the price can’t be updated from yahoo? Will the orders be canceled?
At two occasions I found warnings regarding the price discovery:
2015/05/19-05:14:32 WARNING: unable to update CNY price from yahoo
2015/05/19-05:53:45 WARNING: unable to update CNY price from yahoo
2015/05/19-07:16:34 WARNING: unable to update CNY price from yahoo
But I couldn’t find corresponding deletions of orders. Is there a timeout after taht the orders are deleted?
If yahoo doesn’t work, it should try coindesk. If nothing works, it will keep trying for a little bit, eventually timing out and deleting your orders. It does fluctuate some, you’re right, and the bot should handle those fluctuations just fine. I’m not as concerned about orders being stuck up on this pair as I am about that happening for a BTC pair, as rapid price changes are very unlikely here.
It seems like your price is changing more than mine, which I don’t understand. If you’re finding that it’s deleting your orders every minute or two, that’s too often and we should increase the “deviation” parameter (perhaps to .1%). I’m basically not getting any registered price deviations on my end, which is mostly what we’re looking for ultimately.
@masterOfDisaster Can you please verify that you’re still getting price changes every few minutes? If so, I’ll increase the deviation to 0.1%. I’m just a little concerned about doing that because it means we’ll have to limit our spread to 0.15% to remain within the parameters of the grant, which is a shame. I don’t have many people voting for this grant yet (the vote is still under 1%) so I would be ok rehashing the grant to change the tolerance to .3% if you think we need it. (I hope that wasn’t over your head; the 0.2% spread + 0.1% deviation = 0.3% grant tolerance)
152 price updates in 14 hours is roughly 10 per hour or one each 6 minutes.
If you are interested in the details of the price shifts, I can post them.
I’ve posted some information that might help in the pool voting thread
edit: here’s the messages regarding price shifts (time zone UTC)
2015/05/19-05:34:19 INFO: price of cny moved from 6.20300000 to 6.20720000, will try to delete orders on bter
2015/05/19-05:37:44 INFO: price of cny moved from 6.20720000 to 6.20130000, will try to delete orders on bter
2015/05/19-05:38:44 INFO: price of cny moved from 6.20130000 to 6.20460000, will try to delete orders on bter
2015/05/19-05:50:45 INFO: price of cny moved from 6.20460000 to 6.20120000, will try to delete orders on bter
2015/05/19-06:01:02 INFO: price of cny moved from 6.20120000 to 6.20465000, will try to delete orders on bter
2015/05/19-06:08:05 INFO: price of cny moved from 6.20465000 to 6.20905000, will try to delete orders on bter
2015/05/19-06:11:03 INFO: price of cny moved from 6.20905000 to 6.20310000, will try to delete orders on bter
2015/05/19-06:11:33 INFO: price of cny moved from 6.20310000 to 6.20800000, will try to delete orders on bter
2015/05/19-06:17:34 INFO: price of cny moved from 6.20800000 to 6.20475000, will try to delete orders on bter
2015/05/19-06:22:04 INFO: price of cny moved from 6.20475000 to 6.20840000, will try to delete orders on bter
2015/05/19-06:25:34 INFO: price of cny moved from 6.20840000 to 6.20435000, will try to delete orders on bter
2015/05/19-07:14:04 INFO: price of cny moved from 6.20435000 to 6.20850000, will try to delete orders on bter
2015/05/19-07:14:36 INFO: price of cny moved from 6.20850000 to 6.20275000, will try to delete orders on bter
2015/05/19-07:16:04 INFO: price of cny moved from 6.20275000 to 6.20620000, will try to delete orders on bter
2015/05/19-07:22:34 INFO: price of cny moved from 6.20620000 to 6.21150000, will try to delete orders on bter
2015/05/19-07:24:04 INFO: price of cny moved from 6.21150000 to 6.20510000, will try to delete orders on bter
2015/05/19-07:34:35 INFO: price of cny moved from 6.20510000 to 6.20950000, will try to delete orders on bter
2015/05/19-07:35:05 INFO: price of cny moved from 6.20950000 to 6.20465000, will try to delete orders on bter
2015/05/19-07:35:35 INFO: price of cny moved from 6.20465000 to 6.20950000, will try to delete orders on bter
2015/05/19-07:40:35 INFO: price of cny moved from 6.20950000 to 6.20570000, will try to delete orders on bter
2015/05/19-07:43:07 INFO: price of cny moved from 6.20570000 to 6.20160000, will try to delete orders on bter
2015/05/19-07:46:36 INFO: price of cny moved from 6.20160000 to 6.20560000, will try to delete orders on bter
2015/05/19-07:48:06 INFO: price of cny moved from 6.20560000 to 6.20020000, will try to delete orders on bter
2015/05/19-07:49:06 INFO: price of cny moved from 6.20020000 to 6.20560000, will try to delete orders on bter
2015/05/19-07:49:36 INFO: price of cny moved from 6.20560000 to 6.20020000, will try to delete orders on bter
2015/05/19-07:51:39 INFO: price of cny moved from 6.20020000 to 6.20340000, will try to delete orders on bter
2015/05/19-07:54:39 INFO: price of cny moved from 6.20340000 to 6.20780000, will try to delete orders on bter
2015/05/19-08:03:42 INFO: price of cny moved from 6.20780000 to 6.20210000, will try to delete orders on bter
2015/05/19-08:04:10 INFO: price of cny moved from 6.20210000 to 6.20730000, will try to delete orders on bter
2015/05/19-08:07:10 INFO: price of cny moved from 6.20730000 to 6.20230000, will try to delete orders on bter
2015/05/19-08:09:40 INFO: price of cny moved from 6.20230000 to 6.20640000, will try to delete orders on bter
2015/05/19-08:10:10 INFO: price of cny moved from 6.20640000 to 6.20245000, will try to delete orders on bter
2015/05/19-08:11:10 INFO: price of cny moved from 6.20245000 to 6.20640000, will try to delete orders on bter
2015/05/19-08:13:11 INFO: price of cny moved from 6.20640000 to 6.20310000, will try to delete orders on bter
2015/05/19-08:13:41 INFO: price of cny moved from 6.20310000 to 6.20950000, will try to delete orders on bter
2015/05/19-08:14:41 INFO: price of cny moved from 6.20950000 to 6.20310000, will try to delete orders on bter
2015/05/19-08:15:11 INFO: price of cny moved from 6.20310000 to 6.20930000, will try to delete orders on bter
2015/05/19-08:17:11 INFO: price of cny moved from 6.20930000 to 6.20585000, will try to delete orders on bter
2015/05/19-08:17:41 INFO: price of cny moved from 6.20585000 to 6.20930000, will try to delete orders on bter
2015/05/19-08:19:11 INFO: price of cny moved from 6.20930000 to 6.20585000, will try to delete orders on bter
2015/05/19-08:19:41 INFO: price of cny moved from 6.20585000 to 6.20930000, will try to delete orders on bter
2015/05/19-08:21:41 INFO: price of cny moved from 6.20930000 to 6.20550000, will try to delete orders on bter
2015/05/19-08:50:33 INFO: price of cny moved from 6.20550000 to 6.20910000, will try to delete orders on bter
2015/05/19-09:01:36 INFO: price of cny moved from 6.20910000 to 6.20415000, will try to delete orders on bter
2015/05/19-09:03:36 INFO: price of cny moved from 6.20415000 to 6.20880000, will try to delete orders on bter
2015/05/19-09:50:18 INFO: price of cny moved from 6.20880000 to 6.20310000, will try to delete orders on bter
2015/05/19-09:50:48 INFO: price of cny moved from 6.20310000 to 6.20800000, will try to delete orders on bter
2015/05/19-09:51:18 INFO: price of cny moved from 6.20800000 to 6.20310000, will try to delete orders on bter
2015/05/19-09:53:18 INFO: price of cny moved from 6.20310000 to 6.20690000, will try to delete orders on bter
2015/05/19-10:04:32 INFO: price of cny moved from 6.20690000 to 6.20370000, will try to delete orders on bter
2015/05/19-10:05:03 INFO: price of cny moved from 6.20370000 to 6.20710000, will try to delete orders on bter
2015/05/19-10:04:02 INFO: price of cny moved from 6.20710000 to 6.20370000, will try to delete orders on bter
2015/05/19-10:06:02 INFO: price of cny moved from 6.20370000 to 6.20930000, will try to delete orders on bter
2015/05/19-10:06:33 INFO: price of cny moved from 6.20930000 to 6.20500000, will try to delete orders on bter
2015/05/19-10:08:32 INFO: price of cny moved from 6.20500000 to 6.20850000, will try to delete orders on bter
2015/05/19-11:00:49 INFO: price of cny moved from 6.20850000 to 6.20510000, will try to delete orders on bter
2015/05/19-11:08:16 INFO: price of cny moved from 6.20510000 to 6.20950000, will try to delete orders on bter
2015/05/19-11:13:47 INFO: price of cny moved from 6.20950000 to 6.20570000, will try to delete orders on bter
2015/05/19-11:41:47 INFO: price of cny moved from 6.20570000 to 6.20950000, will try to delete orders on bter
2015/05/19-11:42:17 INFO: price of cny moved from 6.20950000 to 6.20610000, will try to delete orders on bter
2015/05/19-11:44:48 INFO: price of cny moved from 6.20610000 to 6.20950000, will try to delete orders on bter
2015/05/19-11:48:18 INFO: price of cny moved from 6.20950000 to 6.20620000, will try to delete orders on bter
2015/05/19-12:05:19 INFO: price of cny moved from 6.20620000 to 6.21085000, will try to delete orders on bter
2015/05/19-12:04:17 INFO: price of cny moved from 6.21085000 to 6.20610000, will try to delete orders on bter
2015/05/19-12:08:47 INFO: price of cny moved from 6.20610000 to 6.21100000, will try to delete orders on bter
2015/05/19-12:10:17 INFO: price of cny moved from 6.21100000 to 6.20760000, will try to delete orders on bter
2015/05/19-12:10:47 INFO: price of cny moved from 6.20760000 to 6.21100000, will try to delete orders on bter
2015/05/19-12:11:47 INFO: price of cny moved from 6.21100000 to 6.20500000, will try to delete orders on bter
2015/05/19-12:27:19 INFO: price of cny moved from 6.20500000 to 6.20890000, will try to delete orders on bter
2015/05/19-12:44:03 INFO: price of cny moved from 6.20890000 to 6.20245000, will try to delete orders on bter
2015/05/19-12:50:36 INFO: price of cny moved from 6.20245000 to 6.20610000, will try to delete orders on bter
2015/05/19-13:03:03 INFO: price of cny moved from 6.20610000 to 6.20230000, will try to delete orders on bter
2015/05/19-13:05:34 INFO: price of cny moved from 6.20230000 to 6.20590000, will try to delete orders on bter
2015/05/19-13:04:03 INFO: price of cny moved from 6.20590000 to 6.20230000, will try to delete orders on bter
2015/05/19-13:04:34 INFO: price of cny moved from 6.20230000 to 6.20590000, will try to delete orders on bter
2015/05/19-13:08:04 INFO: price of cny moved from 6.20590000 to 6.20230000, will try to delete orders on bter
2015/05/19-13:15:04 INFO: price of cny moved from 6.20230000 to 6.20985000, will try to delete orders on bter
2015/05/19-13:15:34 INFO: price of cny moved from 6.20985000 to 6.20290000, will try to delete orders on bter
2015/05/19-13:19:20 INFO: price of cny moved from 6.20290000 to 6.20810000, will try to delete orders on bter
2015/05/19-13:21:19 INFO: price of cny moved from 6.20810000 to 6.20410000, will try to delete orders on bter
2015/05/19-13:35:50 INFO: price of cny moved from 6.20410000 to 6.20790000, will try to delete orders on bter
2015/05/19-14:11:47 INFO: price of cny moved from 6.20790000 to 6.20305000, will try to delete orders on bter
2015/05/19-14:12:17 INFO: price of cny moved from 6.20305000 to 6.20820000, will try to delete orders on bter
2015/05/19-14:12:47 INFO: price of cny moved from 6.20820000 to 6.20305000, will try to delete orders on bter
2015/05/19-14:21:18 INFO: price of cny moved from 6.20305000 to 6.20835000, will try to delete orders on bter
2015/05/19-14:21:48 INFO: price of cny moved from 6.20835000 to 6.20310000, will try to delete orders on bter
2015/05/19-14:22:48 INFO: price of cny moved from 6.20310000 to 6.20835000, will try to delete orders on bter
2015/05/19-14:58:41 INFO: price of cny moved from 6.20835000 to 6.20425000, will try to delete orders on bter
2015/05/19-15:00:10 INFO: price of cny moved from 6.20425000 to 6.20775000, will try to delete orders on bter
2015/05/19-15:01:11 INFO: price of cny moved from 6.20775000 to 6.20425000, will try to delete orders on bter
2015/05/19-15:02:11 INFO: price of cny moved from 6.20425000 to 6.21110000, will try to delete orders on bter
2015/05/19-15:02:41 INFO: price of cny moved from 6.21110000 to 6.20685000, will try to delete orders on bter
2015/05/19-15:03:41 INFO: price of cny moved from 6.20685000 to 6.21110000, will try to delete orders on bter
2015/05/19-15:04:11 INFO: price of cny moved from 6.21110000 to 6.20750000, will try to delete orders on bter
2015/05/19-15:05:41 INFO: price of cny moved from 6.20750000 to 6.21110000, will try to delete orders on bter
2015/05/19-15:05:41 INFO: price of cny moved from 6.21110000 to 6.20750000, will try to delete orders on bter
2015/05/19-15:06:11 INFO: price of cny moved from 6.20750000 to 6.21110000, will try to delete orders on bter
2015/05/19-15:08:41 INFO: price of cny moved from 6.21110000 to 6.20410000, will try to delete orders on bter
2015/05/19-15:09:11 INFO: price of cny moved from 6.20410000 to 6.20970000, will try to delete orders on bter
2015/05/19-15:10:11 INFO: price of cny moved from 6.20970000 to 6.20615000, will try to delete orders on bter
2015/05/19-15:11:34 INFO: price of cny moved from 6.20615000 to 6.20970000, will try to delete orders on bter
2015/05/19-15:12:05 INFO: price of cny moved from 6.20970000 to 6.20430000, will try to delete orders on bter
2015/05/19-15:34:47 INFO: price of cny moved from 6.20430000 to 6.21030000, will try to delete orders on bter
2015/05/19-15:35:18 INFO: price of cny moved from 6.21030000 to 6.20710000, will try to delete orders on bter
2015/05/19-15:37:18 INFO: price of cny moved from 6.20710000 to 6.21030000, will try to delete orders on bter
2015/05/19-15:37:48 INFO: price of cny moved from 6.21030000 to 6.20710000, will try to delete orders on bter
2015/05/19-15:50:18 INFO: price of cny moved from 6.20710000 to 6.20385000, will try to delete orders on bter
2015/05/19-15:51:48 INFO: price of cny moved from 6.20385000 to 6.20730000, will try to delete orders on bter
2015/05/19-15:52:18 INFO: price of cny moved from 6.20730000 to 6.20410000, will try to delete orders on bter
2015/05/19-15:53:48 INFO: price of cny moved from 6.20410000 to 6.20730000, will try to delete orders on bter
2015/05/19-15:57:50 INFO: price of cny moved from 6.20730000 to 6.20370000, will try to delete orders on bter
2015/05/19-15:59:49 INFO: price of cny moved from 6.20370000 to 6.20960000, will try to delete orders on bter
2015/05/19-16:01:19 INFO: price of cny moved from 6.20960000 to 6.20370000, will try to delete orders on bter
2015/05/19-16:01:49 INFO: price of cny moved from 6.20370000 to 6.20785000, will try to delete orders on bter
2015/05/19-16:22:50 INFO: price of cny moved from 6.20785000 to 6.20385000, will try to delete orders on bter
2015/05/19-16:23:20 INFO: price of cny moved from 6.20385000 to 6.20725000, will try to delete orders on bter
2015/05/19-16:30:21 INFO: price of cny moved from 6.20725000 to 6.21185000, will try to delete orders on bter
2015/05/19-16:30:51 INFO: price of cny moved from 6.21185000 to 6.20730000, will try to delete orders on bter
2015/05/19-16:31:21 INFO: price of cny moved from 6.20730000 to 6.20405000, will try to delete orders on bter
2015/05/19-16:32:21 INFO: price of cny moved from 6.20405000 to 6.20730000, will try to delete orders on bter
2015/05/19-16:33:21 INFO: price of cny moved from 6.20730000 to 6.20405000, will try to delete orders on bter
2015/05/19-16:33:51 INFO: price of cny moved from 6.20405000 to 6.20730000, will try to delete orders on bter
2015/05/19-16:34:21 INFO: price of cny moved from 6.20730000 to 6.21050000, will try to delete orders on bter
2015/05/19-16:34:51 INFO: price of cny moved from 6.21050000 to 6.20405000, will try to delete orders on bter
2015/05/19-16:35:21 INFO: price of cny moved from 6.20405000 to 6.21050000, will try to delete orders on bter
2015/05/19-16:36:21 INFO: price of cny moved from 6.21050000 to 6.20005000, will try to delete orders on bter
2015/05/19-16:37:51 INFO: price of cny moved from 6.20005000 to 6.20780000, will try to delete orders on bter
2015/05/19-16:41:17 INFO: price of cny moved from 6.20780000 to 6.20045000, will try to delete orders on bter
2015/05/19-16:41:47 INFO: price of cny moved from 6.20045000 to 6.20625000, will try to delete orders on bter
2015/05/19-16:50:48 INFO: price of cny moved from 6.20625000 to 6.21150000, will try to delete orders on bter
2015/05/19-16:51:18 INFO: price of cny moved from 6.21150000 to 6.20705000, will try to delete orders on bter
2015/05/19-16:51:48 INFO: price of cny moved from 6.20705000 to 6.21150000, will try to delete orders on bter
2015/05/19-16:56:48 INFO: price of cny moved from 6.21150000 to 6.20835000, will try to delete orders on bter
2015/05/19-16:58:48 INFO: price of cny moved from 6.20835000 to 6.20455000, will try to delete orders on bter
2015/05/19-16:59:19 INFO: price of cny moved from 6.20455000 to 6.21035000, will try to delete orders on bter
2015/05/19-16:59:49 INFO: price of cny moved from 6.21035000 to 6.20455000, will try to delete orders on bter
2015/05/19-17:00:49 INFO: price of cny moved from 6.20455000 to 6.20835000, will try to delete orders on bter
2015/05/19-17:01:49 INFO: price of cny moved from 6.20835000 to 6.20455000, will try to delete orders on bter
2015/05/19-17:04:32 INFO: price of cny moved from 6.20455000 to 6.20905000, will try to delete orders on bter
2015/05/19-17:05:03 INFO: price of cny moved from 6.20905000 to 6.20590000, will try to delete orders on bter
2015/05/19-17:11:33 INFO: price of cny moved from 6.20590000 to 6.20910000, will try to delete orders on bter
2015/05/19-17:12:33 INFO: price of cny moved from 6.20910000 to 6.20395000, will try to delete orders on bter
2015/05/19-17:13:04 INFO: price of cny moved from 6.20395000 to 6.20830000, will try to delete orders on bter
2015/05/19-17:13:33 INFO: price of cny moved from 6.20830000 to 6.20395000, will try to delete orders on bter
2015/05/19-17:14:03 INFO: price of cny moved from 6.20395000 to 6.20910000, will try to delete orders on bter
2015/05/19-17:14:33 INFO: price of cny moved from 6.20910000 to 6.20395000, will try to delete orders on bter
2015/05/19-17:15:04 INFO: price of cny moved from 6.20395000 to 6.20830000, will try to delete orders on bter
2015/05/19-17:31:35 INFO: price of cny moved from 6.20830000 to 6.20470000, will try to delete orders on bter
2015/05/19-17:57:36 INFO: price of cny moved from 6.20470000 to 6.19910000, will try to delete orders on bter
2015/05/19-17:58:06 INFO: price of cny moved from 6.19910000 to 6.20250000, will try to delete orders on bter
2015/05/19-17:59:33 INFO: price of cny moved from 6.20250000 to 6.19910000, will try to delete orders on bter
2015/05/19-19:02:03 INFO: price of cny moved from 6.19910000 to 6.20260000, will try to delete orders on bter
I really would like someone with a more technical opinion to chime in here. I want my custodians to profit while maintaining as low a spread tolerance as possible because I think it gives my grant a powerful edge up on other custodial grants. This means I need to fine tune the ‘deviation’ parameter, which corresponds to how often a price shift is registered. What is a reasonable amount of price shifting? @masterOfDisaster’s bot is moving his orders once every couple minutes, is this reasonable if we have several users?
Bter never got back to me on a technical meeting with their developers. I was hoping to send them an email later about my operation, once I am more confident that this proposal will pass. I will tell them IP’s then and hopefully I will not be throttled or banned. If I do get throttled, I may need to do a mandatory bot update.
D:\nu-pool-NBT_CNY\windows>…\python\client.py pool.conf.txt
Traceback (most recent call last):
File “D:\nu-pool-NBT_CNY\python\client.py”, line 37, in
from thread import start_new_thread
ImportError: No module named ‘thread’
2015/05/21-13:05:24 ERROR: unable to delete all orders for cny on bter: exceptio
n caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:05:24 INFO: adjusting nonce of bter to 1
2015/05/21-13:05:26 ERROR: unable to retrieve order book for cny on bter: except
ion caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:05:39 ERROR: submit: socket error (timed out)
2015/05/21-13:05:42 ERROR: submit: socket error (10060)
2015/05/21-13:05:53 ERROR: unable to retrieve order book for cny on bter: except
ion caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:05:58 ERROR: submit: socket error (10060)
2015/05/21-13:06:05 ERROR: submit: socket error (timed out)
2015/05/21-13:06:18 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000
efficiency: 0.00% rejects: 0 missings: 0 - D0B5BB09-2E56-4E1E-A752-A3011AD1540C
2015/05/21-13:06:26 ERROR: unable to retrieve order book for cny on bter: except
ion caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:06:54 ERROR: unable to retrieve order book for cny on bter: except
ion caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:07:18 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000
efficiency: 0.00% rejects: 0 missings: 0 - D0B5BB09-2E56-4E1E-A752-A3011AD1540C
2015/05/21-13:07:22 ERROR: submit: socket error (10060)
2015/05/21-13:07:23 ERROR: unable to retrieve order book for cny on bter: except
ion caught: [Errno 11004] getaddrinfo failed
I try renew the API secret,but not resolve this ,another people get this error too
2015/05/21-13:40:13 ERROR: unable to delete all orders for cny on bter: exceptio
n caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:40:13 INFO: adjusting nonce of bter to 1
2015/05/21-13:40:15 ERROR: unable to delete all orders for cny on bter: exceptio
n caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:40:15 INFO: adjusting nonce of bter to 1
2015/05/21-13:40:17 ERROR: unable to delete all orders for cny on bter: exceptio
n caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:40:17 INFO: adjusting nonce of bter to 1
2015/05/21-13:40:20 ERROR: unable to delete all orders for cny on bter: exceptio
n caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:40:20 INFO: adjusting nonce of bter to 1
2015/05/21-13:40:22 ERROR: unable to delete all orders for cny on bter: exceptio
n caught: [Errno 11004] getaddrinfo failed
2015/05/21-13:40:22 INFO: adjusting nonce of bter to 1
2015/05/21-13:40:26 INFO: waiting 4.72 seconds to synchronize with other trading
bots for cny on bter
2015/05/21-13:40:33 ERROR: unable to retrieve order book for cny on bter: except
ion caught: [Errno 11004] getaddrinfo failed
I know you already tried it, but those errors are exactly what I get when I enter the wrong API secret.
Unfortunately, I need to be away for a few days for personal reasons. I don’t think this requires a server side resolution, so hopefully we can solve this without too much trouble.
I’ve had a quick look at this. the error number reported seems to indicate that there is a DNS lookup issue when trying to find the bter.com address. @wengone, have you changed your dns settings or set up an http proxy recently? That could be causing the issue.
Are we sure bter has the same API specifications for IPs in China and outside China? A lot of bter’s interfaces have different contents (not just the language) if you connect with a Chinese address.
As a debugging method, @wengone could try to connect bter with a proxy located outside China (I don’t know how). If it works, it means the API key and secret are at least correct.