[Passed] Grant to provide liquidity using NuBot on hitBTC - the begin of modPuddle

Oh noes!
You exposed me!

voted

This grant passed. Bot is prepared, hitBTC account funded and operation will start with this BTC price:

16:07:07.801 [priceTriggerTask] INFO  - Price Updated. bitfinex:1 BTC = 246.44 USD [com.nubits.nubot.tasks.PriceMonitorTriggerTask:353]

That means

  • 750 NBT will be put on sell side
  • 3.044 NBT will be put on ask side.

edit:
NuBot effectively started operation at

Mon Oct 12 16:16:20 UTC 2015 , 4 , 2 , 2 , 250.0,250.00000033,cf2081ac3fa0 : { SELL 250.0@0.004081} 5f70b5b4ac41 : { SELL 500.0@0.004142} d6e1fcf4ef57 : { BUY 250.0@0.004032} 629895e122ac : { BUY 498.986@0.003971}

Current status:

nud -unit=B getinfo
{
    "version" : "v2.0.1-unk-beta",
    "protocolversion" : 2000000,
    "walletversion" : 1,
    "walletunit" : "B",
    "balance" : 1.0,
    "newmint" : 0.0,
    "stake" : 0.0,
    "parked" : 0.0,
    "blocks" : 567474,
[...]
nud getliquidityinfo B | grep "BBZ4h88BwYCyE9q268LoArps6eodq9PDGH" -A 2
        "BBZ4h88BwYCyE9q268LoArps6eodq9PDGH" : {
            "buy" : 750.05,
            "sell" : 750.0
1 Like

The first 23 hours of - as far as I can see - flawless operation have passed.

Hereā€™s a snapshot of the current situation:

Tue Oct 13 15:11:39 UTC 2015
[...]
nud -unit=B getinfo | grep "version" -A 8
    "version" : "v2.0.1-unk-beta",
    "protocolversion" : 2000000,
    "walletversion" : 1,
    "walletunit" : "B",
    "balance" : 1.0,
    "newmint" : 0.0,
    "stake" : 0.0,
    "parked" : 0.0,
    "blocks" : 568854,
    "moneysupply" : 4625113.6491,
    "totalparked" : 2006.33,
[...]
nud getliquidityinfo B | grep "BBZ4h88BwYCyE9q268LoArps6eodq9PDGH" -A 2
        "BBZ4h88BwYCyE9q268LoArps6eodq9PDGH" : {
            "buy" : 0.11,
            "sell" : 1511.937
[...]        
nud getliquiditydetails B | grep "BBZ4h88BwYCyE9q268LoArps6eodq9PDGH" -A 17
    "BBZ4h88BwYCyE9q268LoArps6eodq9PDGH" : {
        "1:NBTBTC:hitbtc:0.3.2_1444582453882_5ce12a" : {
            "buy" : 0.0,
            "sell" : 0.0
        },
        "1:NBTBTC:hitbtc:0.3.2_1444665981291_6022eb" : {
            "buy" : 0.0,
            "sell" : 250.0
        },
        "2:NBTBTC:hitbtc:0.3.2_1444582453882_5ce12a" : {
            "buy" : 0.0,
            "sell" : 0.0
        },
        "2:NBTBTC:hitbtc:0.3.2_1444665981291_6022eb" : {
            "buy" : 0.11,
            "sell" : 1261.937
        }
    },

Liquidity status status of modPuddle

Wed Oct 14 17:36:09 UTC 2015
nud -unit=B getinfo | grep version -A 8
    "version" : "v2.0.1-unk-beta",
    "protocolversion" : 2000000,
    "walletversion" : 1,
    "walletunit" : "B",
    "balance" : 1.0,
    "newmint" : 0.0,
    "stake" : 0.0,
    "parked" : 0.0,
    "blocks" : 570389,
    "moneysupply" : 4625112.9069,
    "totalparked" : 2006.33,
nud getliquidityinfo B | grep BBZ4h88BwYCyE9q268LoArps6eodq9PDGH -A 2
        "BBZ4h88BwYCyE9q268LoArps6eodq9PDGH" : {
            "buy" : 0.11,
            "sell" : 1511.937

Balancing the funds initiated##

As the buy side is below 45% of total funds, balancing happens

Price:

17:49:55.528 INFO  - Price Updated. blockchain:1 BTC = 254.5 USD - [c.n.n.t.PriceMonitorTriggerTask:353]

750 NBT equivalent in BTC will be put into buy side.
Based on 254.5 NBT/BTC that equals to 2.947 BTC.

As the hitBTC sell side is much bigger than the hitBTC buy side, inter exchange balancing will be done (instead of trading the NBT into NuLagoonā€™s buy side).
Poloniex has at the time of balancing a significantly higher ask volume and will be used for the balancing.

Ask order target  35737.96 NBT filled of maximum 20000 NBT ( 178.69% )
Bid order target  14659.23 NBT filled of maximum 20000 NBT ( 73.3% )

Liquidity status status of modPuddle after balancing##

Wed Oct 14 18:10:09 UTC 2015
nud -unit=B getinfo | grep version -A 8
    "version" : "v2.0.1-unk-beta",
    "protocolversion" : 2000000,
    "walletversion" : 1,
    "walletunit" : "B",
    "balance" : 1.0,
    "newmint" : 0.0,
    "stake" : 0.0,
    "parked" : 0.0,
    "blocks" : 570433,
    "moneysupply" : 4625112.8869,
    "totalparked" : 2006.33,
nud getliquidityinfo B | grep BBZ4h88BwYCyE9q268LoArps6eodq9PDGH -A 2
        "BBZ4h88BwYCyE9q268LoArps6eodq9PDGH" : {
            "buy" : 751.69,
            "sell" : 750.0

You made money :smile:

1 Like

Between exchanging and transferring the BTC the price went up :wink:

But in fact we lost money.
The 3.044 BTC from the start are now only 2.947 BTC. The 3.044 BTC would be worth 774.698 NBT at the rate of 254.5 NBT/BTC.
23 NBT in the red on the second day.
The transfer fees are tiny, but the 0.2% fee at poloniex was paid from my own pocket, which is another 1.5 NBT.

Iā€™m not too excited about the current balance, but about the NuBot operation in general :smile:

But fortunately I get a share of the (future) reward for the liquidity operation and the two other guys bear the risks :stuck_out_tongue:

Minus 1.5 NBT for me.
Minus 23 NBT for the fund owners.
Operating a liquidity pool is obviously the more reliable business^^

Shareholders donā€™t account in BTC, they account in NBT. If we account for the 1.5 NBT fee loss, you broke even. When the price starts going down or remains stable weā€™ll see how much you really lose. Whoā€™s to say the fund owners wouldnā€™t have sold in this time and lost out on that 23 NBT? In my opinion, funds can only be lost or gained in the moment of rebalance, and only from the perspective of NBT worth. The result will be that when BTC goes down youā€™ll have to account for some hard losses.

1 Like

Itā€™s day two, BTC is in the last days more volatile than before, there are some more days to go.
The final balance will be after day 30 and not earlier.

Only 8 days left of the current operation.

Time for a summary.

Technical part

The internet access worked well as far as I can tell.
The RaspberryPi was running fine.
The CPU load was only high during startup of NuBot, RAM consumption was moderate and nud and NuBot were running on the same RaPi.
The temperature of the RaPi remained below 40Ā°C (in an environment of 20Ā°C).

I had some issues with broadcasting liquidity once, and ran into another issue recently (which isnā€™t fixed yet).
The NuBot documentation might need some tweaks and quality management, but overall it was a great experience to work with NuBot and @desrever!

hitBTC was running reliably, the API was performing well.

That much about technical summary.
I dare say that running nud (2.0.1) and NuBot (0.3.2) on a RaspberryPi 2 works great with little effort and little energy costs (RaPi running at below 3 Watts)

Now the (preliminary) economical summary.

That assessment is correct - from a NSR holdersā€™ persective or from the perspective of people who prefer a stable crypto currency over volatile ones.
If itā€™s non-shareholders providing liquidity they might account in BTC - especially if you want to attract liquidity on the buy side!

The current liquidity situation of modPuddle is
750 NBT, 2.4 BTC

The value in NBT is still above 1,500 NBT (BTC rate at the time of writing 390 NBT):750 NBT + 2.4 BTC * 390 NBT/BTC = 1,686 NBT

If you calculate that in BTC, the funds would be worth roughly 4.32 BTC (1,686 NBT / 390 NBT/BTC = 4.32 BTC) at the moment.
Even if the complete compensation of 225 NBT would be distributed to the fund providers (which isnā€™t the case as I get some of the compensation for my efforts), they would end up with less BTC than before (225 NBT / 390 NBT/BTC = 0.58 BTC -> 4.32 BTC + 0.58 BTC = 4.9 BTC).

The fund providers already indicated that they are not going to provide this operation with funds for another round.
And I understand their reasoning.
They started with close to 6 BTC, half of which were converted to NBT.
From their perspective they have lost more than 1.1 BTC or above 400 USD in this month.

Considering that this operation was at a relatively high compensation rate (due to the uncertain exchange risks), I need to come to the conclusion that this operation was a total failure for the liquidity providers.
The compensation was not sufficient to provide the liquidity providers with an incentive to contine.
The only perspon who earned money from it is me, 25 NBT.
The lesson I learned is more valuable than the 25 NBT and the money was not the reason to do this - obviously.

I consider pulling funds from ALP to continue the operation as I have long ago started to calculate in NBT. I have not yet come to a conclusion with how many funds I can continue the operation and what terms Iā€™m going to offer.

Is there demand for modPuddle on hitBTC or is Nu comfortable with having NuLagoon provide liquidity there?

If they sold half the BTC immediately, then they really came in with <3 BTC and 750 NBT. They have lost ~0.5 BTC. In return they are given 225 NBT, or ~0.5 BTC at current prices. From my perspective, they came out about even and are just sore that they did that initial sell of half their funds to get to a balanced pool. That sell technically occurred before operations began, and should not be included in the summary.

Unfortunately itā€™s not up to me or you to tell them how they need to account that.

Iā€™ve heard complaints about the funds being worth less (BTC) than when the operation started. They knew about that risk and they took it. They didnā€™t ask me to terminate the operation (of course they kew about the terms), but indicated they donā€™t want to provide liquidity after the 30 days.

If they had kept the ~6 BTC, they still had 6 BTC worth 2,340 USD.
I canā€™t deny that this is a valid perspective.

If the terms of the operation hadnā€™t stated very strictly that the operation continues no matter what happens, they might have pulled the funds days ago.

Imagine a hypothetical currency that does nothing but increase in price at a fast rate. Imagine Nu started pegging it. Nu would have to pay buy side custodians a higher rate than the increasing price to make it worth their while if they account from the perspective of that currency.

Sounds to me like they are accounting in nbt as btc falls and btc as btc rises. This will always look like a loss from all perspectives. Putting all your eggs in one basket gives more profit in hindsight, sure, but also vastly more risk in practice. No offense to your friends, but good riddence to bad economics.

1 Like

You donā€™t have to convince me.
As I indicated before I consider continuing the operation with funds currently being in ALPs.
I know about the risks and donā€™t account in BTC.

Iā€™m happy with getting a compensation for my NBT that would otherwise sit idle in my wallet.

But as it happens those who need to be attracted to stuff BTC in the buy sides might account in BTC - why else should they have them instead of NBT?

Nu shouldnā€™t ignore the fact that a lot of people are accounting differently and maybe even irrational, for it will not prevent them from making strange choices.
Nu needs to be prepared for that or do you expect that in times of stress the buy side is provided by NSR holders? With what funds?
I see a potential danger for the liquidity of tiers 1 to 3, because if the shit hits the fan, only tier 4 and 6 are available to provide the lower tiers with BTC (in one way or another).

I very much hope that we have a bunch of fixed cost ALPs soon as they are well-suited to address that by offering a variable compensation - the more compensation, the less funds are on tier 1.

I guess itā€™s the way that the btc was stuffed into the pool. As weā€™ve discussed, it was that initial sell to balance the pool that caused them so much sorrow. If instead they had provided 100% buy side and Nu had matched them with 1,500 nbt and simply forced you to burn 1,500 at the end of the month, I think the numbers would very much have worked out the way I stated.

The issue with actually doing that, of course, is that Nu has no way of forcing you to burn nbt. If btc drops in value precipitously, it is possible that the total funds in the pool could drop below 50% of the original value, meaning the participants would have to fork over more money from pocket. Without any way to make that happen, a default is probable.

You are right - it might have worked better starting with 100% on buy sideā€¦

i donā€™t know about you but my sell side as an ALP custodian is decreasing
although BTCā€™s value is increasing!
not only i am not loosing money but i have a high profit! a very strange behavior i would say!
edit: it seems that the reason is the high BTC volatility :slight_smile:

1 Like

You donā€™t have to convince me.

Nor do I think we have to convince those who account in and only in BTC.

Liquidity provision for Nubits is a special kind of investment that is part BTC and part NBT; you earn NBT interests but at the same time you ā€œriskā€ holding a BTC position of less than 100% which causes you to earn less during a BTC surge. Plenty of people would be content of this kind of investment; itā€™s worse than being able to catch a falling knife but much better than catching it on the blade. We just have to make it clearer that all our interests do are to insure against losses of NBT value.

By the way, if the BTC/NBT spreads do follow 0ec0be7f113a0bf6ff603545a974cd6410458e00 then liquidity providers have earned several thousand USD over the past week in spreads, more than 1000 USD just in the past 24 hours (>220k volume). Enough to cover a large part of LP interests.

1 Like

While I totally agree, they also probably lost more than that in the volatility. The real gain is something like (spread - volatility)*volume, but the ā€˜volatilityā€™ term is super hard to quantify.

1 Like