I’ve received 5 BTC on Poloniex, which were automatically recognized by NuBot and included in the liquidity broadcast (without NuBot restart):
Mon Apr 11 10:04:25 UTC 2016
status of mOD dual side NuBot at Poloniex:
nud getliquidityinfo B | grep BFGMPykfKxXZ1otrCZcsbnTwJjKHPP9dsP -A 2
"BFGMPykfKxXZ1otrCZcsbnTwJjKHPP9dsP" : {
"buy" : 15857.27,
"sell" : 16850.2342
2,100 NBT have been withdrawn to BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js with tx ID a87a496d5bb7da4792937668c7b542ed69288854bc726e2562d0133df4dc5b7d (that withdrawal went through very fast - almost instantly! Poloniex seems to have reworked the withdrawal system and not only the web interface…). Coinpayments link http://blockexplorer.nu/ offline; I might update the link later
New liquidity status of the gateway:
Mon Apr 11 10:16:24 UTC 2016
status of mOD dual side NuBot at Poloniex:
nud getliquidityinfo B | grep BFGMPykfKxXZ1otrCZcsbnTwJjKHPP9dsP -A 2
"BFGMPykfKxXZ1otrCZcsbnTwJjKHPP9dsP" : {
"buy" : 15857.27,
"sell" : 14750.2242
Request for deposit of 16.5 BTC in exchange (based on an exchange rate of 424 NBT/BTC follows).
edit:
16.5 BTC credited by Poloniex and automatically put on order by NuBot.
Results:
Thu Apr 14 17:44:20 UTC 2016
status of mOD dual side NuBot at Poloniex:
nud getliquidityinfo B | grep BFGMPykfKxXZ1otrCZcsbnTwJjKHPP9dsP -A 2
"BFGMPykfKxXZ1otrCZcsbnTwJjKHPP9dsP" : {
"buy" : 15525.63,
"sell" : 15463.6728
8,354 NBT wait for the reset of the withdrawal limit to be withdrawn.
The gateway operation ended on day 6 after the grace period was over.
Based on a daily fee of 15 NBT
I’ll create a grant for 90 NBT.
I could have taken the fee from the account funds in compliance with the motion, but as I need a new liquidity broadcast address in a few weeks anyway (my current one is soon 6 months old), making a grant seems to be the clean way.
This gateway is one of the last lines of defence (currently operating at 7.5% buyside offset) since 2016-05-27.
But liquidity broadcasting has been disabled to make tracking the liquidity status of the NuBot gateway, that tries to tighten the spread and revive trading on Poloniex, easier.
I thought I might give a quick report here.
Unfortunately I only have one NBT address, that can be used to broadcast liquidity at the moment (“B9gXptkoqAApF3AFrQyhUbhSzvuEudxupt”), otherwise I’d just let the two NuBots just use two different ones.
It would have been useful to track all activity related to this account here right from the start. I didn’t think of that earlier. I’m sorry for that.
07:32:39.461 WARN - Putting a cap on SELL liquidity available. [Total Balance : 13160.21030798 NBT ; capped @ 6000.0 NBT] - [c.n.n.t.L.LiquidityDistributionModel:82]
07:32:39.509 INFO - SELL- OrderBook : ----- SELL-side order book :
1.007099,0.00187818,2000.0
1.009099,0.00188191,4000.0
SELL wall volume : 2000.0
SELL tier2 volume = 4000.0 NBT
Total SELL volume = 6000.0 NBT
Best price :0.00187818 (1.0070988978$)
SELL balance left = 7160.21030798 NBT----- - [c.n.n.s.S.StrategySecondaryPegUtils:228]
07:32:39.511 INFO - Trying to place 2 orders... - [c.n.n.s.S.StrategySecondaryPegUtils:229]
07:32:39.764 INFO - SELL wall order updated. ID : 2624987447 size: 2000.0 - [c.n.n.t.TradeUtils:232]
07:32:40.009 WARN - **SELL** orders re-initialized on **poloniex** : 2/2 placed successfully
total amount placed : 6000.0
Tier1 order size : 2000.0
Tier2 cumulative order size : 4000.0 (1 orders)
- [c.n.n.s.S.StrategySecondaryPegUtils:247]
07:32:41.786 INFO - Order placed = OrderToPlace{type=SELL, pair=nbtbtc, size=2000.0, price=0.00187818} - [c.n.n.m.MultipleOrdersResponse:88]
07:32:41.789 INFO - Order ID = 2624987447
- [c.n.n.m.MultipleOrdersResponse:89]
07:32:41.791 INFO - Order placed = OrderToPlace{type=SELL, pair=nbtbtc, size=4000.0, price=0.00188191} - [c.n.n.m.MultipleOrdersResponse:88]
07:32:41.792 INFO - Order ID = 2624988446
- [c.n.n.m.MultipleOrdersResponse:89]
07:32:41.795 [Strategy Secondary Task] INFO - initOrders BUY [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:178]
07:32:42.453 [Strategy Secondary Task] WARN - Putting a cap on BUY liquidity available. [Total Balance : 36.36537239 BTC ; capped @ 3.72988195 BTC] [c.n.n.t.L.LiquidityDistributionModel:82]
07:32:42.462 [Strategy Secondary Task] INFO - BUY- OrderBook : ----- BUY-side order book :
0.924898,0.00172488,500.0
0.9099,0.00169691,537.49448425
0.715921,0.00133515,962.50551616
BUY wall volume : 500.0
BUY tier2 volume = 1500.0000004099998 NBT
Total BUY volume = 2000.0000004099998 NBT
Best price :0.00172488 (0.9248979048000001$)
BUY balance left = 17499.47632883 NBT----- [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:228]
07:32:42.464 [Strategy Secondary Task] INFO - Trying to place 3 orders... [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:229]
07:32:42.709 [Strategy Secondary Task] INFO - BUY wall order updated. ID : 2624989445 size: 500.0 [com.nubits.nubot.trading.TradeUtils:232]
07:32:43.900 [Strategy Secondary Task] WARN - **BUY** orders re-initialized on **poloniex** : 3/3 placed successfully
total amount placed : 2000.0000004099998
Tier1 order size : 500.0
Tier2 cumulative order size : 1500.0000004099998 (2 orders)
[c.n.n.s.S.StrategySecondaryPegUtils:247]
07:32:47.075 [Strategy Secondary Task] INFO - Order placed = OrderToPlace{type=BUY, pair=nbtbtc, size=500.0, price=0.00172488} [com.nubits.nubot.models.MultipleOrdersResponse:88]
07:32:47.077 [Strategy Secondary Task] INFO - Order ID = 2624989445
[com.nubits.nubot.models.MultipleOrdersResponse:89]
07:32:47.079 [Strategy Secondary Task] INFO - Order placed = OrderToPlace{type=BUY, pair=nbtbtc, size=537.49448425, price=0.00169691} [com.nubits.nubot.models.MultipleOrdersResponse:88]
07:32:47.081 [Strategy Secondary Task] INFO - Order ID = 2624990444
[com.nubits.nubot.models.MultipleOrdersResponse:89]
07:32:47.083 [Strategy Secondary Task] INFO - Order placed = OrderToPlace{type=BUY, pair=nbtbtc, size=962.50551616, price=0.00133515} [com.nubits.nubot.models.MultipleOrdersResponse:88]
07:32:47.084 [Strategy Secondary Task] INFO - Order ID = 2624991443
[com.nubits.nubot.models.MultipleOrdersResponse:89]
07:32:47.086 [Strategy Secondary Task] INFO - Strategy initialization completed [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:148]
07:33:21.110 [Strategy Secondary Task] INFO - Sell-Wall size : : 2000.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:539]
07:33:21.414 [Strategy Secondary Task] INFO - Buy-Wall size : : 500.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:544]
In a nutshell: 13,160 NBT and 36.36 BTC are in this gateway.
@desrever, I’ve found a behaviour of NuBot, which I consider a bug.
I tried to prepare the future use of this gateway account: place orders at the book at a huuuuge offset 90% and beyond.
It doesn’t work like I wanted it to work.
I wanted to have a 50,000 NBT order at $0.10.
It did only place much less.
NuBot calculates the total amount of NBT that can be placed on the buy side of the order book based on the current BTC exchange rate.
It doesn’t consider the offset.
So I can only place 10,000 on the order book, if I have 20 BTC at an exchange rate of $500/BTC.
Although at an offset of 0.9 there would be enough BTC for 100,000 NBT.
At these offsets I could of course place the orders manually, but as I want to provide the sell side with orders, I need NuBot to move them according to the BTC price.
Is it much effort to adjust that in NuBot?
Basically you need to divide the Dollar value of the BTC by (1-offset; per order that is about to get placed), if you want to calculate the NBT amount that is available at these offsets.
I hope it’s just this one calculation.
I try to have NuBot manage only the sell orders, while placing buy orders manually.
The buy side currently has 3 orders at 90%, 95% and 97.5% offset, each with a volume of 50,000 NBT.
Total NBT required for those orders: 15ish
Let’s see whether the manually placed orders stay, when NuBot moves the sell orders.
The next attempt will be to have a NuBot placing the buy side orders with different API credentials.
When using the
"multiplecustodians":true,
setting, they should move the orders at the same point of time.
I’ll keep you updated.
If it is, I can run another PyBot to emulate this and running with another offset. Just let me know. It is not that hard to open 2 or 3 accounts more on Poloniex.
You know that you have to associate the accounts with each other?
Dealing with the accounts and the OTP, backing them up safely, getting the API credentials with all that email verification stuff in between and not loosing the overview is indeed the hardest part
Yes, my accounts are still at the lowest level. Can’t be bothered to provide every identity document I have to them to even get to the second level. Don’t like them scattered everywhere, too many breaches and hacks these days.