Fixed total payout for liquidity providers to enhance liquidity security and pool operation

That was clear. I was just trying to make fun when I wrote

I think the :stuck_out_tongue: made that clear…

Your adjustments seem to have worked. Great!
The alp-collection is up-to-date, albeit not really tested. But hey, it’s in the experimental branch :wink:
Looks like I hijack the test of the fixed rate pool to have the alp collection tested as well :sunglasses:

1 Like

You guys are fast. Will test it in a day or so.

My zero-rate offer is constantly declined.

weird. You’re saying because the pool is full? Have you tried using like interest=0.000000001? It’s supposed to take the cheapest liquidity first.

Anyway, that’s actually one of the reasons I really like this setup: it’s actually less buggy. When a pool reaches target it does all sorts of weird stuff. By lifting the target, we are able to have a lot smoother of an experience.

The biggest concern I have is that I’m worried there’ll be a bug in the program and it’ll pay out a high rate to a bunch of people. I don’t think that should happen, but only testing will tell I guess.

Edit: Speaking of bugs, I got a seg-fault and server.py killed itself. I don’t know why, nothing in the logs or anything. I’ll figure it out at some point maybe. It may have run out of memory; Nud is such a pig.

In the initial trial period maybe one can run the old and the new setups in paralell, letting the new one dry-run (with liquidity info feed, calc everyone’s balance, but don’t actually pay).
Then switch to the new one but make actual payment tx like every week so there will be enough time to watch how things go.

1 Like

I was basically planning on doing exactly that (without the liquidity info though, I’m not feeding this a custodial address without a grant). A user could theoretically get credited on both pools if they both were shareholder funded at the same time.

But yah, I have it up and running to play around. Again, this was a super quick bandaid fixup just to see how it goes. If it looks like there’s interest, I’ll mess around with it more. I’m hoping I don’t get any more of those seg faults.

This is gonna end up being a can of worms, but I think it’s worth pointing out that this method exacerbates the ‘switching’ issue. The switching issue is such that if the peg is unbalanced it will cause providers to start trying to switch to the other side of the peg using the peg itself, causing LPs to burn up all their funds to exchange fees. It’s a phenomenon we haven’t really seen, but was talked about theoretically a while back. Creon came up with one of my favorite solutions to the problem:

We may be able to ignore this issue unless we start seeing it happen.

Why does the method exacerbates the ‘switching’ issue?

@creon’s method also discourages someone to convert NBT to USD not using the peg, e.g. selling NBT for BTC then sellling BTC for USD.

@creon really put a lot of thinking into TLLP.

Let’s make some names. Fixed Reward ALP’s are the normal kind and Fixed Cost ALP’s are this new method, OK?

So a fixed reward pool that hasn’t reached target on either side has no switching problem because the incentives on both sides of the pool are the same. Dutch auction and Fixed Cost models both have asymmetric rewards when competition on the two sides of the pool is drastically (or permanently) different. There is very little preventing an LP from selling to another LP the moment they buy nbt of the rate is different enough. That causes the LP’s to play hot potato.

You’re right that creon’s idea isn’t really a solution either. The best solution is to keep a moderate peg spread and to try to keep global buy and sell side balanced so that competition on the two sides of the peg are similar. The unseeded auction will help with that by providing buy/sell side network rebalancing on the order of days.

OK got it.

Obviously and the ALP (formerly known as TLLP) software runs remarkably well.
He was a brilliant mind, which others also recognized:

But be was a kind of rebel as well.
As much trouble as it might make to integrate the thoughts and work of rebels as much might this kind of thinking be required if Nu wants to become big.
We need controversial thoughts and discussion.
I believe only that way Nu can work and grow sustainably.

I’m glad that @Nagalim follows the footsteps of @creon!

1 Like

So the server restarted for some stupid reason last night. The funny thing is, I reboot it this morning and now I’m the only one running on the pool. Rewarded for providing a shitty service, hell ya!

I’m pretty satisfied with the implementation at this point. It’s not an amazing piece of code, but it leaves basically the entire bot intact. The operator can even set a target at which dutch auction takes effect.

If I can get 2 testers other than me for a few days I’ll test btc/nbt for a bit and post a motion. And if you like big numbers registered on a server with no true value, boy have I got a deal for you! We’re now crediting 7.5 Imaginary NBT per day per side!

Disclaimer: Nothing is real.

1 Like

Can you or @masterOfDisaster point to me the best pool client for switching between NuPond fixed cost, LiquitBits, and NuStream? I think I am using @masterOfDisaster’s NuPond fork but I am not sure (how do I find out? README.md doesn’t tell) I tried several version a while ago.

For fixed cost pool to work optimally when liquidity is low, it is best if LPs from other pools can jump in easily.

It’s super easy. If you’re already running on Bter’s CNY pool, just change the ‘server’ parameter at the bottom of the config file from NuPond:3333 to:

45.55.55.197:3333

I can recommend to try the experimental branch of by “ALP collection”:

It contains a collection of all ALP operations I’m aware of, e.g. the windows and the unix version of this pool (including recommended settings for offfset, server settings etc.).
But this obviously just a shameless plug, because @Nagalim is right with his last statement.

ninjaedit: I just checked my ALP bot on the fixed pool and it looked strange. I restarted the bot and it still looks like:

2015/09/16-04:06:15 INFO: starting PyBot for cny on bter
2015/09/16-04:06:16 INFO: successfully deleted all orders for cny on bter
2015/09/16-04:06:16 INFO: waiting 13.45 seconds to synchronize with other trading bots for cny on bter
2015/09/16-04:06:32 INFO: successfully placed ask cny order of 20.9000 nbt at 7.23150780 on bter
2015/09/16-04:07:15 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - 
[...]

The incentive is there so someone will try.
It’s not hard to conceive ways … for example if someone finds out where the VPS of the ALP server is and a bot running on a VPS local to the ALP server is immune from DDOS attack to the ALP server, he could run his bot on such a local VPS and use DDOS to deny all other LPs access.

One way to discourage sabotage against individual pools is connect the payout to current global buy and sell side liquidity, which every nu client has. Then the system will be more closely resemble a POS network. It could work like this -

  • Nu Shareholders decide a total interest cost of pool liquidity for the next accounting period. Call it TIC.
  • All fixed cost pools will split an initial payment of 50% of TIC according to some inital allocation rules.
  • All fixed cost pools start to pay LPs from their own wallets that have the initial payment. Each LP will get paid according to what fraction in the global liquidity this LP has contributed in the last minute.
  • Liquidity, interest, and payment information are tracked and displayed on web pages.
  • Periodically a superbot will rebalance pools’ interest payment wallets and distribute the remaining TIC. This superbot is a source of centralization.But if the fraction of liquidity provided (averaged over the accounting period) has no big deviation from the initial one, then this bot may not be needed. Inter-pool clearing will happen at the next TIC allocation.
1 Like

The incentive for manipulating other LPs to increase the own reward is already there, albeit with other parameters.
At the moment the incentive exists as soon as a target has been reached and no more money can be earned from providing additional liquidity.
Every LP has an incentive to sabotage all other LPs to ensure the own funds are completely available at the pool and below the target.

So this is no new problem, it only comes in a new shape.
It’s a little bit more severe with fixed payout rates, because you can get very high rewards with little money invested in the liquidity operation if you successfully sabotage all other LPs.

I think one (hopefully simple) way to mitigate that can be capping the payout rate.
I don’t know how complex that is on code level, but if you get a fixed rate only up to a maximum of x% per day/month/year, the incentive to sabotage others is reduced. It’s on the same level as it is at the moment if you choose the cap at the same rate as it is now.
I’d favor having a higher cap to attract more LPs as long as the pool is far below the expected “target”.

I can institute a cap without too much difficulty. It would essentially impose a minimum liquidity level below which it is no longer fixed cost and switches over to fixed reward.

A global implementation would be difficult and not something I’d be willing to look in to any time soon. We can keep talking about it, think out all the issues before I go hopping into the code.

@masterOfDisaster are you still having problems? You posted a line with 0% rate, but you didn’t give a full minute to register the order it placed. You should usually wait for at least the second line of statistics before making a conclusion. Also, Bter was super weird last night so let me know if you’re having issues.

As for capping the interest for the fixed cost pool, I think the capping level should be decided later after the pool runs for a while. The risk is limited. People are watching. Problems are reported within hours. Even someone manages to take all the interest for a day it’s just 3% of a monthly cost. The lesson would be worth it.

Global balance is indeed more complex. A less complex solution: the fixed cost pool has a cap that is liquidity-aware — it is off only if global buy side is less than, say 2000 NBT.

This is a log from some hours ago - after that I stopped the ALP bot:

2015/09/16-05:07:22 INFO: starting PyBot for cny on bter
2015/09/16-05:07:22 DEBUG: starting liquidity operation with sampling 80
2015/09/16-05:07:24 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:07:24 INFO: waiting 5.07 seconds to synchronize with other trading bots for cny on bter
2015/09/16-05:07:32 INFO: successfully placed ask cny order of 20.9000 nbt at 7.22991852 on bter
2015/09/16-05:08:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:09:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:10:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:10:33 INFO: price of cny moved from 6.36885000 to 6.37080000, will try to delete orders on bter
2015/09/16-05:10:35 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:10:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23213216 on bter
2015/09/16-05:11:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:11:36 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23213216 on bter
2015/09/16-05:12:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:12:40 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23213216 on bter
2015/09/16-05:13:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:13:37 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23213216 on bter
2015/09/16-05:14:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:14:37 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23213216 on bter
2015/09/16-05:15:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:15:37 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23213216 on bter
2015/09/16-05:16:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:16:37 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23213216 on bter
2015/09/16-05:17:23 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:17:51 ERROR: unable to place ask cny order of 0.5000 nbt at 7.23213216 on bter: exception caught: [Errno -2] Name or service not known
2015/09/16-05:18:07 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23213216 on bter
2015/09/16-05:18:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:18:37 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23213216 on bter
2015/09/16-05:19:04 INFO: price of cny moved from 6.37080000 to 6.36870000, will try to delete orders on bter
2015/09/16-05:19:12 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:19:15 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22974824 on bter
2015/09/16-05:19:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:19:34 INFO: price of cny moved from 6.36870000 to 6.37170000, will try to delete orders on bter
2015/09/16-05:19:35 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:19:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23315384 on bter
2015/09/16-05:20:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:20:37 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23315384 on bter
2015/09/16-05:21:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:21:37 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23315384 on bter
2015/09/16-05:22:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:22:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23315384 on bter
2015/09/16-05:23:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:23:37 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23315384 on bter
2015/09/16-05:24:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:24:34 INFO: price of cny moved from 6.37170000 to 6.36890000, will try to delete orders on bter
2015/09/16-05:24:39 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:24:42 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22997528 on bter
2015/09/16-05:25:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:25:34 INFO: price of cny moved from 6.36890000 to 6.37170000, will try to delete orders on bter
2015/09/16-05:25:36 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:25:39 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23315384 on bter
2015/09/16-05:26:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:26:34 INFO: price of cny moved from 6.37170000 to 6.36860000, will try to delete orders on bter
2015/09/16-05:26:36 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:26:39 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:27:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:27:37 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:28:04 INFO: price of cny moved from 6.36860000 to 6.37060000, will try to delete orders on bter
2015/09/16-05:28:07 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:28:10 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23190512 on bter
2015/09/16-05:28:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:28:34 INFO: price of cny moved from 6.37060000 to 6.36860000, will try to delete orders on bter
2015/09/16-05:28:55 ERROR: unable to delete all orders for cny on bter: exception caught: [Errno -2] Name or service not known
2015/09/16-05:28:55 INFO: adjusting nonce of bter to 1
2015/09/16-05:29:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:29:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:30:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:30:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:31:24 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:31:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:32:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:32:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:33:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:33:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:34:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:34:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:35:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:35:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:36:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:36:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:37:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:37:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:38:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:38:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:39:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:39:59 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:40:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:40:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:41:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:41:38 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:42:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:42:39 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:43:25 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:43:39 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:44:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:44:39 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:45:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:45:40 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22963472 on bter
2015/09/16-05:46:07 INFO: price of cny moved from 6.36860000 to 6.37210000, will try to delete orders on bter
2015/09/16-05:46:21 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:46:23 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23360792 on bter
2015/09/16-05:46:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:47:07 INFO: price of cny moved from 6.37210000 to 6.36890000, will try to delete orders on bter
2015/09/16-05:47:08 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:47:11 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22997528 on bter
2015/09/16-05:47:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:48:10 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22997528 on bter
2015/09/16-05:48:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:49:10 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22997528 on bter
2015/09/16-05:49:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:50:10 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22997528 on bter
2015/09/16-05:50:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:51:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:51:33 ERROR: unable to retrieve order book for cny on bter: exception caught: [Errno -2] Name or service not known
2015/09/16-05:51:33 WARNING: need to resynchronize trading bot for cny on bter because the deviation reached 27.63
2015/09/16-05:51:33 INFO: waiting 11.16 seconds to synchronize with other trading bots for cny on bter
2015/09/16-05:52:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:52:41 ERROR: unable to retrieve order book for cny on bter: exception caught: [Errno -2] Name or service not known
2015/09/16-05:52:41 INFO: price of cny moved from 6.36890000 to 6.37225000, will try to delete orders on bter
2015/09/16-05:53:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:53:27 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:53:31 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23377820 on bter
2015/09/16-05:53:31 WARNING: need to resynchronize trading bot for cny on bter because the deviation reached 20.64
2015/09/16-05:53:32 INFO: waiting 12.83 seconds to synchronize with other trading bots for cny on bter
2015/09/16-05:53:51 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23377820 on bter
2015/09/16-05:54:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:54:47 INFO: price of cny moved from 6.37225000 to 6.37530000, will try to delete orders on bter
2015/09/16-05:54:50 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:54:53 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23724056 on bter
2015/09/16-05:55:17 INFO: price of cny moved from 6.37530000 to 6.37210000, will try to delete orders on bter
2015/09/16-05:55:19 INFO: successfully deleted all orders for cny on bter
2015/09/16-05:55:23 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23360792 on bter
2015/09/16-05:55:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:56:21 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23360792 on bter
2015/09/16-05:56:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:57:22 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23360792 on bter
2015/09/16-05:57:26 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:58:22 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23360792 on bter
2015/09/16-05:58:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-05:59:21 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23360792 on bter
2015/09/16-05:59:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-06:00:21 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23360792 on bter
2015/09/16-06:00:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-06:01:21 INFO: successfully placed ask cny order of 0.5000 nbt at 7.23360792 on bter
2015/09/16-06:01:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-06:02:18 INFO: price of cny moved from 6.37210000 to 6.36885000, will try to delete orders on bter
2015/09/16-06:02:24 INFO: successfully deleted all orders for cny on bter
2015/09/16-06:02:27 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22991852 on bter
2015/09/16-06:02:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-06:03:21 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22991852 on bter
2015/09/16-06:03:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-06:04:21 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22991852 on bter
2015/09/16-06:04:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-06:05:21 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22991852 on bter
2015/09/16-06:05:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-06:06:21 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22991852 on bter
2015/09/16-06:06:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-06:07:21 INFO: successfully placed ask cny order of 0.5000 nbt at 7.22991852 on bter
2015/09/16-06:07:27 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY

I started the bot again with this result:

2015/09/16-11:31:12 ERROR: unable to delete all orders for cny on bter: exception caught: [Errno -2] Name or service not known
2015/09/16-11:31:12 INFO: adjusting nonce of bter to 1
2015/09/16-11:31:20 INFO: successfully deleted all orders for cny on bter
2015/09/16-11:31:24 INFO: waiting 4.33 seconds to synchronize with other trading bots for cny on bter
2015/09/16-11:31:34 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-11:32:09 INFO: successfully placed ask cny order of 20.9000 nbt at 7.23173484 on bter
2015/09/16-11:32:33 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-11:32:35 ERROR: submit: socket error (timed out)
2015/09/16-11:32:52 ERROR: submit: socket error (timed out)
2015/09/16-11:33:18 ERROR: submit: socket error (timed out)
2015/09/16-11:33:20 ERROR: submit: socket error (timed out)
2015/09/16-11:33:34 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-11:33:37 ERROR: submit: socket error (timed out)
2015/09/16-11:33:40 ERROR: unable to retrieve order book for cny on bter: exception caught: [Errno -2] Name or service not known
2015/09/16-11:33:41 WARNING: need to resynchronize trading bot for cny on bter because the deviation reached 31.75
2015/09/16-11:33:48 INFO: waiting 7.47 seconds to synchronize with other trading bots for cny on bter
2015/09/16-11:34:04 ERROR: submit: socket error (timed out)
2015/09/16-11:34:22 ERROR: submit: socket error (timed out)
2015/09/16-11:34:34 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-11:34:43 ERROR: submit: socket error (timed out)
2015/09/16-11:34:58 ERROR: submit: socket error (timed out)
2015/09/16-11:35:06 ERROR: submit: socket error (timed out)
2015/09/16-11:35:23 ERROR: submit: socket error (timed out)
2015/09/16-11:35:36 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY
2015/09/16-11:35:45 ERROR: submit: socket error (timed out)
2015/09/16-11:35:50 ERROR: submit: socket error (timed out)
2015/09/16-11:35:51 ERROR: submit: socket error (timed out)
2015/09/16-11:35:54 WARNING: need to resynchronize trading bot for cny on bter because the deviation reached 63.36
2015/09/16-11:35:54 INFO: waiting 5.41 seconds to synchronize with other trading bots for cny on bter
2015/09/16-11:36:02 ERROR: submit: socket error (timed out)
2015/09/16-11:36:14 ERROR: submit: socket error (timed out)
2015/09/16-11:36:34 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - APIKEY

All other bots run fine.