I’ve decided that not being able to track the liquidity of each of my NuBots is bad.
Unfortunately I have only one NBT custodial address to broadcast the liquidty.
If you use getliquidityinfo
to track the liquidity, you see the combined liquidity of my three NuBot gateway (2 at Poloniex, 1 at hitBTC).
If you are on a system with a bash (or another shell that’s alike), you can filter it conveniently this way:
nud getliquidityinfo B | grep B9gXptkoqAApF3AFrQyhUbhSzvuEudxupt -A 2
The result of that output is:
nud getliquidityinfo B | grep B9gXptkoqAApF3AFrQyhUbhSzvuEudxupt -A 2
"B9gXptkoqAApF3AFrQyhUbhSzvuEudxupt" : {
"buy" : 21433.12,
"sell" : 25111.0935
If you want to have a more precise overview, you need to investigate the output of getliquiditydetails
.
This is just a quickly hacked together script that does that on bash:
An output of that would look like this:
status of mOD NuBot session at hitbtc:
"1:NBTBTC:hitbtc:0.4.1_1464952860644_29cdbc" : {
"buy" : 0.0,
"sell" : 500.0
--
"2:NBTBTC:hitbtc:0.4.1_1464952860644_29cdbc" : {
"buy" : 1365.38,
"sell" : 418.265
status of mOD NuBot session at poloniex:
"1:NBTBTC:poloniex:0.4.1_1464943832235_3ba051" : {
"buy" : 500.0,
"sell" : 2000.0
--
"2:NBTBTC:poloniex:0.4.1_1464943832235_3ba051" : {
"buy" : 19622.05,
"sell" : 11160.2103
status of mOD NuBot session at poloniex:
"1:NBTBTC:poloniex:0.4.1_1464903918569_e146d4" : {
"buy" : 400.0,
"sell" : 800.0
--
"2:NBTBTC:poloniex:0.4.1_1464903918569_e146d4" : {
"buy" : 22.2,
"sell" : 9815.3268
status of zoro NuBot session at poloniex:
"1:NBTBTC:poloniex:0.3.2a_1464953175077_595d35" : {
"buy" : 750.0,
"sell" : 1500.0
--
"2:NBTBTC:poloniex:0.3.2a_1464953175077_595d35" : {
"buy" : 16556.52,
"sell" : 17929.8288
Unfortunately I don’t know how to tell my two NuBots at Poloniex apart.
The one that was started after the other always has the latest broadcast session.
I fear, they can only be told apart by the order sizes.
The one with
the closer spread has the buy order size 400, sell order size 800, the one with
the bigger spread has the buy order size 500, sell order size 2,000
The one with the tight spread is currently out of buyside funds. There’s no BTC on the order book.
T2 is partially on the order book, but only the first orders (the ones with the tightest offset) are reported as T1 by NuBot.