Iâm sorry, you missed the restime -> reset_timer. I can try to add something into the code to accept both if youâd rather.
Oh, also I think we should go to 0.5 hr default reset.
Iâm sorry, you missed the restime -> reset_timer. I can try to add something into the code to accept both if youâd rather.
Oh, also I think we should go to 0.5 hr default reset.
Doh!
Will fix that laterâŚ
âŚsed will do it in fact
Done: https://github.com/Lamz0rNewb/alp-collection/tree/nagalim
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?
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
for example:
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:
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
Update:
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)
This is because the bot first try to place an order at full height and if that fails a fallback mechanism kicks in that puts only 99% of the available fund in the order book.
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.