and this is profitable calculating also the trade fees? and by how much profitable?
Itās not an exact science. When someone puts an order on btc/cny that is outside the price band determined by offset and fees (~1.5%) it triggers bots to locally arbitrage off our nbt pairs. This happened a good bit in the past day. Add to the volatility the issue of pegging to cny instead of USD and we create a pretty powerful arbitrage gateway where custodians are doing the arbitrage legwork between exchanges.
well, i donāt know about this
but i am sure that low bid wall is due also to some (bug?) in bterās API or pybot which cause no payout of bid amount
although orders are set!
no one sell nbt to cnyā¦
Hey, so Iām getting confused with why thereās such a large deviation in the price of my custodians. NuPond has sell orders at 406 and 411, which is >1% deviation (should be 0.25%). Iāll check out the logs and so on when I get home tonight. Iām not convinced my custodians are really losing money, so meh.
The custodians are selling nbt to cny, $2,388 is 24-hr volume. They get to sell at a 0.4% markup, but I donāt think thatās enough. Does 1.5% seem excessive? NuRiver is trying out 3%.
Is such an activity profitable for Nu? If yes to which extent?
Do you think it could create a strong demand for NuBits?
To me, the answer is yes if there are a lot of traders that are looking to try to profit from such a scheme.
I am talking about making NuBits an arbitrage vehicle on a single exchange.
We are not even talking about arbitrage between exchangesā¦
Yah, I mean ultimately we want this. Itās a question of how much we can take on all at once, which is represented by how tight a peg we try to keep. I think we could stand to loosen the cny peg a good bit.
There was a rally in cny against usd in the last 24 hr. it was good to have cny than nbt
Youāre right! Awesome.
only bter have nbt/cny market
1.27% bid, 0.12% ask. Someoneās not getting credited properly for their 3,000 or the 1,400 nbt bid. I wonder, does a hard bot restart help? Iām not having problems getting credited on bid side. If you try a smaller offset does that help?
Edit: The price moved a little I think and now Iām crediting the one at 4024. I think the issue might be tolerance; I can probably just increase the tolerance a little to preserve the SAF, but Iād like to know why my formula isnāt working. If you arenāt getting credited properly, please try a slightly smaller offset, like 0.006 instead of 0.007.
Edit: For whatever reason all the orders are being credited properly now. The rates are 0.14% bid, 0.07% ask.
2015/10/17-06:42:08 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - 835BA98B-E192-47A4-82C2-EDE006C44540
2015/10/17-06:42:47 ERROR: unable to place ask btc order at 0.00370815 on bter: matching order at 0.00370900 detected
2015/10/17-06:43:08 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - 835BA98B-E192-47A4-82C2-EDE006C44540
2015/10/17-06:43:47 ERROR: unable to place ask btc order at 0.00370815 on bter: matching order at 0.00370900 detected
2015/10/17-06:44:08 INFO: bter - balance: 0.00000000 rate: 0.00% ppm: 0.00000000 efficiency: 0.00% rejects: 0 missings: 0 - 835BA98B-E192-47A4-82C2-EDE006C44540
2015/10/17-06:44:47 ERROR: unable to place ask btc order at 0.00370815 on bter: matching order at 0.00370900 detected
Yah, the matching order thing is something that was supposed to be fixed a long time ago but never got fixed. Basically, if you have ordermatch=true the bot is supposed to buy that matching order at 0.00370900 but it doesnāt and instead just complains that it canāt put the order up. Iāll see what I can do.
@woolly_sammoth
That is the first time I read that this doesnāt work.
@huafei do you have ordermatch=true in your config?
I had this issue several times - with ordermatch ātrueā. I can confirm that this is an unfixed issue.
The good thing about it is: it rarely occurs.
If the matching order doesnāt have much volume you can consider buying it manually - the bot would have done it anyway had it worked properly
I thought I did fix this. Basically thereās a multi Condition block. The order match=true condition is the last one in the block whereas it should be the first.
Iāll take another look and confirm that it is like that.
I may not have pulled it properly. I tried to copy and paste your entire trading.py instead of pulling so thereās some weird stuff going on on the github. Iāll check later today that we are using the same code there.
Setting that to false wonāt help, you should leave it true.
Youāre right that there was no payout. Thatās weird, Iāll check it out today and do a manual payout if needed. The bots are all still workingā¦
Edit: My nud crashed, I donāt know why, I just restarted it. Iām going to let the server keep running, it should backpay on its own tonight without me messing with it. Iām hoping it wasnāt a memory issue, Iāve already got the 2GB server that everyone else is using.
Sorry, @woolly_sammoth, I apparently didnāt copy that code. Iāll see what I can do about it.
Edit: Fixed it, it was just two āelifā statements, no big deal.