[Passed] NBT entry gateway on Poloniex provided by @masterOfDisaster

Adding to my datafeed.

Very sorry for the delay. Voted.

The grant passed, I updated my NBT entry / BTC exit gateway to broadcast liquidity information using the custodial address BETwD8nSjtj9ADSvej2na34xmsMYwPRymv and now NuBot is running again:

nud getliquiditydetails B | grep BETwD8nSjtj9ADSvej2na34xmsMYwPRymv -A 9
    "BETwD8nSjtj9ADSvej2na34xmsMYwPRymv" : {
        "1:NBTBTC:poloniex:0.3.2a_1449093980642_dd6880" : {
            "buy" : 0.0,
            "sell" : 0.0
        },
        "2:NBTBTC:poloniex:0.3.2a_1449093980642_dd6880" : {
            "buy" : 0.26,
            "sell" : 0.0998
        }
    },

In case of emergency for the peg locally on Poloniex, this NuBot can be used to inject NBT on T1 at Poloniex.
The terms from the grant apply.

Relevant parameters of the config file are:

  "dualside": true,
[...]
  "submitliquidity": true,
  "nubitaddress": "BETwD8nSjtj9ADSvej2na34xmsMYwPRymv",
[...]
  "bookDisabletier2": true,
[...]
  "bookSellwall": 1000.0,
  "bookSellOffset": 0.005,
  "bookSellInterval": 0.015,
  "bookSellMaxVolumeCumulative" : 0,
  "bookSellType": "exp",
  "bookSellSteepness": "low",
[...]
  "bookBuywall": 0.0,
[...]

If somebody is planning to operate this kind of gateway on other exchanges (or Poloniex) I’m pleased to help with additional configuration parameters that I left out here.

1 Like

I thought this might be a good place to track the usage of the gateway.

First time used (10,000 NBT deposited):




Second time used (10,000 NBT deposited):



Third time used (10,000 NBT deposited):

All available BTC funds (3.21) on the gateway account have been transferred to the FLOT T4 BTC multisig address 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.
11,762 NBT in Nu property are at the moment in the gateway account.

4 Likes

The 11,762 have been traded for in total 25.72 BTC.
15 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.
The rest will follow as soon as the withdrawal limit has been reset.

update:
The last 10.723 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.

Round three NBT entry gateway use complete.

2 Likes

Round four

15,000 NBT credited at 2015-12-27 21:28:

Currency	Amount	Address	Date	Status
NBT	15000.00000000	BNCaRW9ZjSLeGkwCfMb48izHy2tXLAVR2i	2015-12-27 21:28:08	COMPLETE

No NBT have been traded so far.
1,000 NBT on orders.


Status at 2015-12-28
15,000 NBT have been traded for 35.3 BTC.
Withdrawing the BTC needs to wait until the NBT from the “NBT exit gateway” have been withdrawn as both gateways share the withdrawal limit.


Status at 2015-12-29
4 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.
31.3 BTC wait for the reset of the withdrawal limit.


Status at 2015-12-30
16 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.
15.3 BTC wait for the reset of the withdrawal limit.


Status at 2015-12-31
15.335 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.

Round four complete

Summary:
15,000 NBT have been traded for 35.335 BTC. The average price was 424.51 NBT/BTC.

Round five

10,000 NBT credited at 2016-01-04 08:25:

Currency	Amount	Address	Date	Status
NBT	10000.00000000	BNCaRW9ZjSLeGkwCfMb48izHy2tXLAVR2i	2016-01-04 08:25:27	COMPLETE

Status at 2016-01-05
3,231 NBT have been traded for 7.4 BTC.
7 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG


Updated status at 2016-01-05
6,769 NBT have been traded for 15.6 BTC. No more NBT are available.
9 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.

7.2 BTC wait for the reset of the withdrawal limit.


Updated status at 2016-01-06
7.2 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.

Round five complete

Summary:
10,000 NBT have been traded for 23.2 BTC. The average price was 431 NBT/BTC.

2 Likes

Important update in the OP (more detailed information can be found here):

This gateway is now on standby.

Round six

10,000 NBT credited at 2016-01-12 12:36

Currency	Amount	Address	Date	Status
NBT	10000.00000000	BNCaRW9ZjSLeGkwCfMb48izHy2tXLAVR2i	2016-01-12 12:36:03	COMPLETE

Status at 2016-01-12
Gateway is up and running; 3,000 NBT are on order; no NBT have been traded so far.


Status at 2016-01-13

The gateway ran dry in the early hours of this day (UTC).
Another deposit of 10,000 NBT was initiated and processed within half an hour.

10,000 NBT credited at 2016-01-13 06:32

Currency	Amount	Address	Date	Status
NBT	10000.00000000	BNCaRW9ZjSLeGkwCfMb48izHy2tXLAVR2i	2016-01-13 06:32:36	COMPLETE

20,000 NBT have been traded for 45.9 BTC. No more NBT are available.

16 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.
29.9 BTC wait for the reset of the withdrawal limit.


Status at 2016-01-14

16 BTC have been withdrawn to 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG.
13.9 BTC wait for the reset of the withdrawal limit.


Summary:
20,000 NBT have been traded for 45.9 BTC. The average price was 435 NBT/BTC.


Status at 2016-01-15 (retroactive entry)

10,000 NBT credited at 2016-01-15 14:54:53 UTC
20,000 NBT credited at 2016-01-15 23:00:10 UTC

Currency	Amount	Address	Date	Status
NBT	20000.00000000	BNCaRW9ZjSLeGkwCfMb48izHy2tXLAVR2i	2016-01-15 23:00:10	COMPLETE
NBT	10000.00000000	BNCaRW9ZjSLeGkwCfMb48izHy2tXLAVR2i	2016-01-15 14:54:53	COMPLETE

Status at 2016-01-17 (retroactive entry)

27.083 NBT on sell side
19.8 BTC (approx $7,623) on buy side


Status at 2016-01-18

6,800 NBT have been withdrawn to FLOT NBT multisig address BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js to reduce the risk for Nu funds (will update with link as soon as the withdrawal has been processed).

1 NBT has been withdrawn to FLOT NBT multisig address BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js (for testing purposes, because the 6,800 NBT withdrawal took longer than usual)

20.283 NBT on sell side (3,000 on order book)
19.8 BTC ($7,623) on buy side

3,000 NBT are on order until sell and buy side are balanced.
Then this gateway will be turned in dual side mode and the current dual side NuBot (formerly known as buy side gateway will be relieved from funds to further reduce risk for Nu funds.)


Status at 2016-01-19

5,000 NBT have been withdrawn to FLOT NBT multisig address BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js.

https://blockexplorer.nu seems to be down again… So don’t wonder about the alternative link.

The amount is reduced compared to earlier withdrawals, because this account shares the withdrawal limit with my main account.


Status at 2016-01-20

9,735 NBT on sell side
33.8 BTC on buy side ($13,858 at the time of writing)

Withdrawal was done on the other NuBot account (formerly known as NBT exit/buy side gateway): [Passed] NBT EXIT gateway on Poloniex provided by @masterOfDisaster


Status at 2016-01-21

15,637 NBT on sell side
19.4 BTC on buy side ($8,051 at the time of writing)

5,000 NBT have been withdrawn to FLOT NBT multisig address BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js. (will update with tx ID once I have it)

4 Likes

Epic work from your side!
I really would like to thank you for all your efforts to maintain the peg.
That is impressive.
Hopefully the dual-side bot would decrease the weight on your shoulders.
As a side note, I was wondering.
Do you have an idea of how many sales (NuBits) Nu made over the weekend (thanks to your efforts)?

1 Like

You are welcome!

It’s not only tiring for me, but for the whole FLOT to always be ready to create, sign, execute transactions.
The weight from operating the gateways goes on top of it.
I really hope the dual side mode eases the situation.

I suppose the calculation should include the prevented damage for the brand image (hard to calculate), proceeds from trading and the losses from being used as hedge.

I’m quite sure that in the end Nu lost a calculable amount of money by being used as hedge.
When BTCUSD was crashing, the sell side was drained - Nu lost money by receiving volatile BTC, which had a smaller value each minute.
And when BTCUSD started to recover, the buy side was drained - Nu lost money by receiving stable NBT while BTCUSD was rising.

But Nu made an incalculable amount of money by having kept the track record in good shape.

1 Like

You wrote somewhere that you sold 30k worth of nubits.
Maybe those 30k vanished in trading heat completely but the peg is intact and even stronger.
Is my understanding correct?

I haven’t made precise calculations, but the order of magnitude of loss by being used as hedging instrument, should rather be hundreds of Dollars, than thousands.
Each of my gateway threads contains a detailed accounting of when and how many NBT or BTC get deposited and how many get withdrawn (or wait for being withdrawn).
There should be no unexplainable gap.
If there’s something in question, I can provide the trade logs.

Current status of the gateways:

status of sell side gateway:
nud getliquidityinfo B | grep BETwD8nSjtj9ADSvej2na34xmsMYwPRymv -A 2
        "BETwD8nSjtj9ADSvej2na34xmsMYwPRymv" : {
            "buy" : 8648.76,
            "sell" : 19295.3866
status of buy side gateway:
nud getliquidityinfo B | grep BFGMPykfKxXZ1otrCZcsbnTwJjKHPP9dsP -A 2
        "BFGMPykfKxXZ1otrCZcsbnTwJjKHPP9dsP" : {
            "buy" : 9342.79,
            "sell" : 11919.2544

Which is in total close to $50,000 in NBT and BTC. 6,800 NBT were withdrawn yesterday. That should be close to what has been deposited to the gateways.

In difference to what I announced here:

the former sell side gateway is already dual sided - with an immense offset for the buy side.
If the funds are on exchange (and prone to specific risk), we can already use them…

I made an extensive back-of-the-envelope calculation calculation. Here’s the result:

###Deposits and withdrawals

  • sell side gateway
    10,000 NBT deposited at 2016-01-12 12:36
    10,000 NBT deposited at 2016-01-13 06:32
    10,000 NBT deposited at 2016-01-15 14:54
    20,000 NBT deposited at 2016-01-15 23:00
    16 BTC withdrawn at 2016-01-13 18:31
    16 BTC withdrawn at 2016-01-14 21:11
    6,800 NBT withdrawn at 2016-01-18 12:50
    5,000 NBT withdrawn at 2016-01-19 12:49

  • buy side gateway
    20 BTC deposited at 2016-01-09 00:03
    50 BTC deposited at 2016-01-17 03:47
    6,800 NBT withdrawn at 2016-01-11 12:36

  • in total

  • NBT
    50,000 NBT deposited
    18,600 NBT withdrawn
    31,400 NBT difference

  • BTC
    70 BTC deposited
    32 BTC withdrawn
    38 BTC difference

  • The total of funds currently being at both gateways needs to be compared with the value of
    36,400 NBT and
    38 BTC.


Status of the gateways at 2016-01-19, 18:15 UTC

  • sell side gateway
    14,200 NBT
    22 BTC

  • buy side gateway
    11,900 NBT
    24 BTC

  • in total
    26,100 NBT
    46 BTC

If you sell 8 BTC now (at $385; to relate the total to the 38 BTC that result from the “Deposits and withdrawals”) that creates ~3,000 NBT proceeds.
Which makes the status of the gateways:
29,100 NBT
38 BTC

2,300 NBT seem to be missing, but you need to take into account that not only the hedging, but the reduced value of the BTC play a role. If you could sell 8 BTC at $435, the difference would be below 2,000 NBT.
In the end it looks like keeping the peg on Poloniex during the BTC rollercoaster cost Nu $2,000 and made me some years older.

The question’s are:
was it worth spending the $2,000 to keep the track record of NBT in a good shape?
Would the damage to Nu’s image have exceeded $2,000?

I have no answer to these questions. My gut feeling tells me, it was worth it. I couldn’t know the price of that before, but knowing in advance that it’d cost Nu $2,000 wouldn’t have shied me away from breaking the terms to prevent the peg from breaking.

I miss an extensive dicussion about that (mis)behaviour (using proceeds from gateways to put them on the order book instead of withdrawing them in slavish obedience) in the forum.
I might be able to live with a pardon - considering my motive and the results.
I can’t live with just maintaining silence about it.

This must not create a precedent for breaking terms!

5 Likes

As the gateway sides were almost balanced due to withdrawals, it has been changed to dual side mode with an equal, but big offset (0.015, 0.015) to create a line of defense if the ALP fail to provide liquidity:

Former sell side gateway, now dual side NuBot:

21:57:50.984 [pool-1-thread-1] WARN  - Initiating price subscription. Streamer will push a notification when price changes more than 0.2%. Initial price to track: 380.35 USD [c.n.n.s.Subscriber:181]
21:57:51.016 [pool-1-thread-1] INFO  - Computing USD prices with sellOffset:0.015$ and buyOffset:0.015  : buy @ 1.0162999999999998 buy @ 0.984 [com.nubits.nubot.streamclient.Subscriber:426]
21:57:51.028 [pool-1-thread-1] INFO  - Actual prices from bitfinex (using 1 BTC = 380.35 USD) : sell @ 0.00267201 BTC; buy @ 0.00258709 BTC [com.nubits.nubot.streamclient.Subscriber:436]
21:57:51.035 [pool-1-thread-1] INFO  - setBuyPricePEG : 0.00258709 [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegTask:228]
21:57:51.041 [pool-1-thread-1] INFO  - set setSellPricePEG : 0.00267201 [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegTask:219]
21:57:51.049 [pool-1-thread-1] INFO  - Started BotTask Strategy Secondary Task [com.nubits.nubot.tasks.BotTask:57]
21:57:51.068 [Strategy Secondary Task] WARN  - Initializing strategy [c.n.n.s.S.StrategySecondaryPegTask:137]
21:57:51.075 [Strategy Secondary Task] INFO  - setting up ordermanager [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegTask:138]
21:57:51.101 [pool-1-thread-1] WARN  - Subscribing to websocket push updates from streamer @ tcp://stream.tradingbot.nu:5561 [c.n.n.s.Subscriber:103]
21:57:51.111 [Strategy Secondary Task] INFO  - Sell-Wall size :  : 0.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:538]
21:57:51.131 [Strategy Secondary Task] INFO  - Buy-Wall size :  : 0.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:543]
21:57:51.413 [sendLiquidity] WARN  - Liquidity is not being sent : orders are not yet initialized [c.n.n.t.SubmitLiquidityinfoTask:147]
21:57:56.660 [Strategy Secondary Task] INFO  - initOrders SELL [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:177]
21:57:57.978 [Strategy Secondary Task] WARN  - Putting a cap on SELL liquidity available. [Total Balance  : 14295.3766118 NBT ; capped @  6000.0 NBT] [c.n.n.t.L.LiquidityDistributionModel:85]
21:57:57.992 [Strategy Secondary Task] INFO  - SELL- OrderBook : ----- SELL-side order book :
1.016002,0.00267123,2000.0
SELL wall volume : 2000.0
SELL tier2 volume = 0.0 NBT
Total SELL volume = 2000.0 NBT
Best price :0.00267123 (1.0160023305$)
SELL balance left = 12295.3766118 NBT-----  [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:227]
21:57:57.999 [Strategy Secondary Task] INFO  - Trying to place 1 orders... [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:228]
21:57:58.302 [Strategy Secondary Task] INFO  - SELL wall order updated. ID : 1200328532 size: 2000.0 [com.nubits.nubot.trading.TradeUtils:231]
21:57:58.322 [Strategy Secondary Task] WARN  - **SELL** orders re-initialized on  **poloniex** :  1/1 placed successfully
total amount placed : 2000.0
Tier1 order size : 2000.0
Tier2 cumulative order size : 0.0 (0 orders)
 [c.n.n.s.S.StrategySecondaryPegUtils:246]
21:58:05.830 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
21:58:35.829 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
21:59:05.829 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
21:59:10.353 [Strategy Secondary Task] INFO  - Order placed = OrderToPlace{type=SELL, pair=nbtbtc, size=2000.0, price=0.00267123} [com.nubits.nubot.models.MultipleOrdersResponse:88]
21:59:10.358 [Strategy Secondary Task] INFO  - Order ID = 1200328532
 [com.nubits.nubot.models.MultipleOrdersResponse:89]
21:59:10.365 [Strategy Secondary Task] INFO  - initOrders BUY [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:177]
21:59:16.333 [Strategy Secondary Task] WARN  - Putting a cap on BUY liquidity available. [Total Balance  : 22.46430129 BTC ; capped @  15.77494413 BTC] [c.n.n.t.L.LiquidityDistributionModel:85]
21:59:16.343 [Strategy Secondary Task] INFO  - BUY- OrderBook : ----- BUY-side order book :
0.984,0.00258709,2000.0
BUY wall volume : 2000.0
BUY tier2 volume = 0.0 NBT
Total BUY volume = 2000.0 NBT
Best price :0.00258709 (0.9839996815$)
BUY balance left = 6544.29699565 NBT-----  [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:227]
21:59:16.350 [Strategy Secondary Task] INFO  - Trying to place 1 orders... [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:228]
21:59:16.703 [Strategy Secondary Task] INFO  - BUY wall order updated. ID : 1200335525 size: 2000.0 [com.nubits.nubot.trading.TradeUtils:231]
21:59:16.724 [Strategy Secondary Task] WARN  - **BUY** orders re-initialized on  **poloniex** :  1/1 placed successfully
total amount placed : 2000.0
Tier1 order size : 2000.0
Tier2 cumulative order size : 0.0 (0 orders)
 [c.n.n.s.S.StrategySecondaryPegUtils:246]
21:59:35.829 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
22:00:01.394 [sendLiquidity] WARN  - Liquidity is not being sent : orders are not yet initialized [c.n.n.t.SubmitLiquidityinfoTask:147]

Offset has been adjusted to a quite asymmetric one due to this:

06:57:11.704 [pool-1-thread-1] WARN  - Streamer :command shift walls. newprice: 376.58 [c.n.n.s.Subscriber:191]
06:57:11.723 [pool-1-thread-1] INFO  - Computing USD prices with sellOffset:0.003$ and buyOffset:0.017  : buy @ 1.0042999999999997 buy @ 0.982 [com.nubits.nubot.streamclient.Subscriber:332]
06:57:11.736 [pool-1-thread-1] INFO  - Actual prices from blockchain (using 1 BTC = 376.58 USD) : sell @ 0.0026669 BTC; buy @ 0.00260768 BTC [com.nubits.nubot.streamclient.Subscriber:343]
06:57:11.741 [pool-1-thread-1] WARN  - Strategy received a price change notification. [c.n.n.s.S.StrategySecondaryPegTask:162]
06:57:25.868 [sendLiquidity] WARN  - Liquidity info submitted:
        tier=1 buy=1500.00000096 sell=3000.0 identifier=1:NBTBTC:poloniex:0.3.2a_1453272301642_6fdbe4 response={"submitted":true}
        tier=2 buy=6959.61 sell=11295.3766118 identifier=2:NBTBTC:poloniex:0.3.2a_1453272301642_6fdbe4 response={"submitted":true} [c.n.n.t.SubmitLiquidityinfoTask:144]
06:57:37.595 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
06:58:07.595 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
06:58:25.711 [pool-1-thread-1] WARN  - Shift needed on **poloniex** - Reason : BTC Streaming server sent shift command. [c.n.n.s.S.StrategySecondaryPegTask:199]
06:58:25.718 [pool-1-thread-1] INFO  - Immediately try to cancel all orders [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:312]
06:58:31.356 [pool-1-thread-1] WARN  - Order 1204250606 deleted succesfully [c.n.n.t.w.PoloniexWrapper:536]
06:58:32.131 [pool-1-thread-1] WARN  - Order 1204245611 deleted succesfully [c.n.n.t.w.PoloniexWrapper:536]
06:58:32.639 [pool-1-thread-1] WARN  - Orders deleted [c.n.n.s.S.StrategySecondaryPegUtils:322]
06:58:33.665 [pool-1-thread-1] INFO  - initOrders SELL [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:177]
06:58:34.519 [pool-1-thread-1] WARN  - Putting a cap on SELL liquidity available. [Total Balance  : 14295.3766118 NBT ; capped @  6000.0 NBT] [c.n.n.t.L.LiquidityDistributionModel:85]
06:58:34.527 [pool-1-thread-1] INFO  - SELL- OrderBook : ----- SELL-side order book :
1.004004,0.00266611,3000.0
SELL wall volume : 3000.0
SELL tier2 volume = 0.0 NBT
Total SELL volume = 3000.0 NBT
Best price :0.00266611 (1.0040037038$)
SELL balance left = 11295.3766118 NBT-----  [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:227]
06:58:34.535 [pool-1-thread-1] INFO  - Trying to place 1 orders... [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:228]
06:58:34.819 [pool-1-thread-1] INFO  - SELL wall order updated. ID : 1204262594 size: 3000.0 [com.nubits.nubot.trading.TradeUtils:231]
06:58:34.827 [pool-1-thread-1] WARN  - **SELL** orders re-initialized on  **poloniex** :  1/1 placed successfully
total amount placed : 3000.0
Tier1 order size : 3000.0
Tier2 cumulative order size : 0.0 (0 orders)
 [c.n.n.s.S.StrategySecondaryPegUtils:246]
06:58:37.595 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
06:59:07.594 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
06:59:26.351 [sendLiquidity] WARN  - Liquidity is not being sent, a wall shift is happening. Will send on next execution. [c.n.n.t.SubmitLiquidityinfoTask:152]
06:59:37.595 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
06:59:45.590 [pool-1-thread-1] INFO  - Order placed = OrderToPlace{type=SELL, pair=nbtbtc, size=3000.0, price=0.00266611} [com.nubits.nubot.models.MultipleOrdersResponse:88]
06:59:45.596 [pool-1-thread-1] INFO  - Order ID = 1204262594
 [com.nubits.nubot.models.MultipleOrdersResponse:89]
06:59:45.600 [pool-1-thread-1] INFO  - initOrders BUY [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:177]
06:59:51.432 [pool-1-thread-1] WARN  - Putting a cap on BUY liquidity available. [Total Balance  : 22.46430129 BTC ; capped @  15.93286951 BTC] [c.n.n.t.L.LiquidityDistributionModel:85]
06:59:51.437 [pool-1-thread-1] INFO  - BUY- OrderBook : ----- BUY-side order book :
0.982,0.00260768,1500.0
BUY wall volume : 1500.0
BUY tier2 volume = 0.0 NBT
Total BUY volume = 1500.0 NBT
Best price :0.00260768 (0.9820001343999999$)
BUY balance left = 6959.606579789999 NBT-----  [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:227]
06:59:51.442 [pool-1-thread-1] INFO  - Trying to place 1 orders... [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:228]
06:59:51.720 [pool-1-thread-1] INFO  - BUY wall order updated. ID : 1204270586 size: 1500.0 [com.nubits.nubot.trading.TradeUtils:231]
06:59:51.727 [pool-1-thread-1] WARN  - **BUY** orders re-initialized on  **poloniex** :  1/1 placed successfully
total amount placed : 1500.0
Tier1 order size : 1500.0
Tier2 cumulative order size : 0.0 (0 orders)
 [c.n.n.s.S.StrategySecondaryPegUtils:246]

Status of the former gateways at 2016-01-20, 18:30 UTC

  • former sell side gateway
    9,735 NBT
    33.8 BTC

  • former buy side gateway
    20,868 NBT
    1.9 BTC

  • In total
    30,603 NBT
    35.7 BTC

sidenote:
if you look at yesterday’s status and multiply the 46 BTC in total with $385 (yesterday’s BTC rate at the time of writing), the total value of yesterday’s funds on Poloniex was
$17,710 (BTC) + $26,100 (NBT) = $43,810

Today’s status (BTC at $408 at the time of writing):
$14,565 (BTC) + $30,603 (NBT) = $45,168

While it looks like Nu made money trading on Poloniex (and to some degree that might be true due to the offset), the main benefit was not having lost all BTC when the price was down and started going up (and now still having BTC when they are worth more than yesterday).
Having increased the offset of the NuBots to around 1% prevented having all BTC funds being traded to NBT while allowing to keep the peg quite closely.

I made another calculation - yesterday’s BTC funds (46) with today’s price ($408):
$18,768 (BTC) + $26,100 (NBT) = $44,868

It looks like Nu made $300 during today’s rollercoaster!
Is my math flawed?

Current configuration of one NuBot has a lowered offset for sell side (0.4%) - as incentive for trading NBT for BTC (the BTC funds are only 1/3 of the total funds).

1 Like

Status at 2016-01-21 00:50 UTC

Parametric order book could be enabled again recently.

Current settings:

Resulting in e.g. this set of orders (at a price level of ~$420 per BTC)::

I will let the dual side NuBot run with these settings for a while.
I feel like I’ve reached a point where not much room for improvement is left.

Overview of balances:
20.5 BTC
15,241 NBT

If the balance stays like this, I’ll schedule a deposit of BTC with FLOT while withdrawing NBT instead of offering cheap NBT on the market to balance.
The remaining BTC should provide sufficient buffer to do this without urgency - in difference to the last deposits to the gateway accounts.

As the thread doesn’t get bumped when I edit an embedded post, here’s the current status of the associated exchange account:

This makes a total of
28,257 NBT on sell side
29 BTC on buy side ($12,035) at the time of writing

I’m going to initiate a (this time non emerency!) deposit of BTC (to both “gateway” accounts) if the BTC funds are depleted any further, while I continue withdrawing NBT (depending on the balance from one account or both) after the reset of the withdrawal limit

OP has been updated with

This gateway is out of order until further notice.

Clearing was reported here: