hi, a question related to ask/bid sides.
i see sometimes that an ask or bid side vanishes while running an ALP pair.
do you advise to manually keep the balance of ask/bid sides (every now and then) or leave it to balance it self?
hi, a question related to ask/bid sides.
That can happen due to volume beyond target - as far as I understand how ALP works…
no, i didn’t mean due to spread value, i mean due to filling order
i bid 100 and i ask 100 (perfect balance)
the other day, i see that i bid 200 and no ask (due to filling ask order)
then should i let it as it is or should i do some manually balancing?
This is one of the questions being discussed in several threads
You can try to balance your sides with other pools on other exchanges.
This is causing a “switching problem” :
That can only be resolved by buying NBT from Nu (in case there’s too little overall NBT bis liquidity) or selling NBT to Nu (in case there’s too much overall NBT bis liquidity).
It can be mitigated to some degree if tier 3 is used. But resolving it is only possible with tier 4 liquidity.
For an overview of the tiered liquidity model have a look if here, if you are not already familiar with it and don’t know what I’m referring to.
If you try to balance tier 1,2,3 with other pools all you do is pass the imbalance around.
thanks. i am afraid i don’t understand the part:
"That can only be resolved by buying NBT from Nu (in case there’s too little overall NBT bis liquidity) or selling NBT to Nu (in case there’s too much overall NBT bis liquidity)."
you mean using other exchanges that have sufficient liquidity?
No, that will not help.
If the liquidity is imbalanced network wide you can only balance it with Nu:
by trading NBT with Nu - buy NBT from Nu or sell NBT to Nu.
who is “Nu”? how can i do that?
This is starting to derail the thread, but since you asked:
“Nu” is the Nu network, represented by the NSR holders.
One way to make that happen would be ongoing seeded auctions.
As long as there are funds in tier 2 and 3 to balance, liquidity providers might use those layers.
Looking only at tier 1 or tier 2 and 3 as well is a matter of discussion.
But whether you count only tier 1 or tier 1-3 you can look at the liquidity situation of Nu.
You calculate the network wide liquidity of all ALP and MLP operations compensated by Nu.
If there’s need to balance liquidity, seeded auctions might come into play:
- in times of more buy side liquidity NBT were offered by multi signature custodians who sell the NBT on behalf of “Nu”. In those auctions the NBT (from Nu) are traded for NSR (from LPs or Nu customers).
- in times of more sell side liquidity NSR were offered by multi signature custodians who sell the NSR on behalf of “Nu”. In those auctions the NSR (from Nu) are traded for NBT (from LPs or Nu customers).
To get an understanding how seeded auctions work, please have a look at its predecessor unseeded auctions.
In my opinion, the answer for ALP is do whatever gets you paid. If you find all your funds are sell side but you’re still getting full compensation, leave it. If one side’s at target and the other side isn’t, arbitrage off another nbt pool that is unbalanced the other way. If all pools are having the same problem then the shareholders need to step in like MoD was saying.
The cny pool on bter has 4000 buy and only 1000 sell right now, just so y’all know.
Even furthering the derailing, but it’s just too good an opportunity for this plug:
there is a way to incentivize balancing:
The balance follows the ratio of the fixed amounts on buy and sell side that are granted by Nu for providing liquidity…
Trouble with (at least) the “Universal ALP bot collection” running on cryptsy.
More information here: NuRiver Pool on Cryptsy for NBT/USD & NBT/BTC and in the subsequent posts.
I added a “KNOWN ISSUES” section to the initial posts until that is fixed (and that hopefully stays empty for most of the time)
edit: and it’s gone just like it came - the bot kept running and I recognized it’s placing orders again:
2015/09/24-15:28:36 INFO: price of btc moved from 0.00428807 to 0.00427917, will try to delete orders on cryptsy 2015/09/24-15:28:39 INFO: successfully deleted all orders for btc on cryptsy 2015/09/24-15:29:09 INFO: successfully placed bid btc order of "X" nbt at "Y" on cryptsy
I will keep this in the “known issues” section, though.
and it came again
something random! who knows!
keep the funds for hitbtc and southX
BTW, @woolly_sammoth I noticed that that ‘if’ statement that inludes a logger.info saying ‘decreasing bid limit’ activates whenever rate is zero, even when we don’t want it to. It’s trying to tell if the rate is less than the user set ‘interest’ but when 0 liquidity is placed the rate is 0% and it triggers this statement. To fix it (I think) I added an ‘and’ to the conditional that rate needs to be >0 before it starts decreasing limits. I’m fairly certain this will have unintended consequences, but I think those are negligible compared to how much better the performance is with this adjusted conditional.
Thanks for the look @Nagalim. I’ve been very cautious about changing anything in that area of the code. As you say, it tends to have unintended consequences in tests. The >0 conditional does make sense though. I’ll take another look with that in mind
An update was pushed to the cryptsy wrapper following the latest changes in https://github.com/inuitwallet/nu-pool/blob/extra-cryptsy-logging/python/exchanges.py#L330.
The update aims at solving issues with placing orders at cryptsy via API.
It appears like changes in cryptsy’s fee structure caused the trouble.
Thank you, @woolly_sammoth for (hopefully!) resolving this issue.
Only https://github.com/Lamz0rNewb/alp-collection/tree/experimental-0.51 contains this adjustment until further tests have shown that it’s safe to apply it to the other branches as well.
i am getting the same “insufficient…” message but after a while i see the orders in place and ‘balance’ increasing!
(without any message that orders are indeed placed)
The latest commit on https://github.com/Lamz0rNewb/alp-collection/tree/experimental-0.51 adjusted the bot for the fixed cost test run on bter, because the operation is on the btc and not on the cny pair.
- removed nupond_bter_btc_fix_payout_test because nupond_bter_btc is now fixed cost
- added southx usd trading bot
@masterOfDisaster and my repository are merged at this point. When I pulled in some of the changes @woolly_sammoth made, one of them was a change of the way the bot auto-restarts. I am not satisfied with the new implementation and plan to revert back to the old one. The new restart does not seem to actually reset all the values, so my bots often end up getting stuck even through a bot restart.