NuRiver Pool on Cryptsy for NBT/USD & NBT/BTC

Nothing changed as my tests passed. It was just an effort to ensure that everyone is using the latest version of the code.
Is your bot still displaying the failure?

Yes, still the same error:

2015/09/24-08:04:32 INFO: starting PyBot for btc on cryptsy
2015/09/24-08:04:36 INFO: successfully deleted all orders for btc on cryptsy
2015/09/24-08:04:36 INFO: waiting 8.19 seconds to synchronize with other trading bots for btc on cryptsy
2015/09/24-08:04:48 ERROR: unable to place bid btc order of "X" nbt at 0.00427678 on cryptsy: Insufficient BTC in account to complete this order.

edit: it would veeeery helpful to have a version number in the relevant files, e.g. client.py, exchanges.py, trading.py etc.

I’m trying to replace these files in my bot with the one from you…

MoD, you are using your NU pool version? the experimental one?
your version is the only one i can run, the “official” one always gives me the error: "server missing in pool.conf"
i wonder what you have changed in your github files !

I’m using “my” pool version. I forked it from @Nagalim’s version, who forked it from @woolly_sammoth.
Something might have got lost…
I try to figure it out.
github noobs at work… :frowning:

no, please don’t try to “fix” your forked version, it is the only one that works for me :wink:

Apparently it doesn’t work for cryptsy any longer which might be related to the wrapper being not properly included in it.
I was hoping for a release of all available bots in one place. And by “all available bots” I mean working versions of them.
I stop cluttering this thread and continue with posting results in Universal ALP bot collection - forked (and hopefully improved) @Nagalim edition :)

One more post here, because it’s directly related to NuRiver on cryptsy.
I’ve tried https://github.com/inuitwallet/nu-pool/archive/1.22.zip

The error message when starting unix/client is

2015/09/24-08:53:35 ERROR: server missing in /tmp/tmp.5f7KEZIXoB

The end of the pool.conf is

server=45.55.43.33:3334
unit=btc
exchange=cryptsy
1 Like

apologies. This was raised by @Nagalim a few days ago (sorry for not replying to that too).
I had tried to reverse some of the logic in the client.py to avoid the large amount of nested ifs. I reverted it but neglected to revert the first reversed conditional which checks for the ‘server’ parameter.

I’ve fixed it and re-released. Apologies

I don’t know what’s wrong here. Am I overlooking something obvious?

I downloaded https://github.com/inuitwallet/nu-pool/archive/0.121.zip
I unzipped it.
I adjusted nu-pool-0.121/unix/pool.conf
I started ./client from nu-pool-0.121/unix/

This is the result:

nu-pool-0.121/unix $ ./client
2015/09/24-09:56:26 INFO: starting PyBot for btc on cryptsy
2015/09/24-09:56:29 INFO: successfully deleted all orders for btc on cryptsy
2015/09/24-09:56:29 INFO: waiting 0.20 seconds to synchronize with other trading bots for btc on cryptsy
2015/09/24-09:56:33 ERROR: unable to place bid btc order of "X" nbt at 0.00430516 on cryptsy: Insufficient BTC in account to complete this order.
^C2015/09/24-09:56:36 INFO: stopping trading bots, please allow the client up to 1 minute to terminate
2015/09/24-09:56:38 INFO: stopping PyBot for btc on cryptsy
2015/09/24-09:56:38 INFO: successfully deleted all orders for btc on cryptsy

me too!
but someone has placed bid orders already!
Ask order target 0 NBT filled of maximum 1500 NBT ( 0% )
Bid order target 1225.54 NBT filled of maximum 1500 NBT ( 81.7% )

I didn’t change anything, but recognized that the bot is placing orders again on the nuriver btc/nbt pair:

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

you lucky son of … :stuck_out_tongue:
i am getting the same “no funds” error no matter what version i am using!

That’s valuable information as we now know that it’s unlikely to be caused by a change of cryptsy’s API if it works for me again, but not for you!

ninjaedit: can you try to change the funds available for the bot?
Unfortunately it doesn’t have a limit for the bid side (only for the ask side). But you can put an insane (unlikely to be filled) order in another btc pair to “park” some of the funds.
That’s the only thing that changed at my bot: the available funds.
That’s why I’m recommending to try this…

thanks, but didn’t work :frowning:

The error is back at my bot as well - and this time I haven’t done anything!

2015/09/24-15:59:31 INFO: starting PyBot for btc on cryptsy
2015/09/24-15:59:34 INFO: successfully deleted all orders for btc on cryptsy
2015/09/24-15:59:34 INFO: waiting 10.02 seconds to synchronize with other trading bots for btc on cryptsy
2015/09/24-15:59:48 ERROR: unable to place bid btc order of "X" nbt at 0.00425506 on cryptsy: Insufficient BTC in account to complete this order.

I don’t know what’s going on… Nothing changed, except for the BTC price (and something on cryptsy’s API?)

So…I’m going to need to shut down my server to update?

Restarting the server can be done with literally 5 seconds of downtime. Get everything prepared then run:

killall python
nuhop ./server.py &

Then you just need to do a manual payout using pay.py. However, I’m not sure there’s a fix for this cryptsy issue yet, so don’t go updating until we have a fix.

As far as I can see the issue is only with the client. The server shouldn’t need to be updated.
The problem for me is that my tests placed the orders correctly. I’ll add more logging around the area of trouble and we’ll see what that reveals

@woolly_sammoth
Well the client is giving me the insufficient funds error again…
ERROR: unable to place bid usd order of XXXX nbt at 0.99500000 on cryptsy: Insufficient USD in account to complete this order.

That must be because Cryptsy dropped their trade fees in favor of transaction fees???

fortunately something that can be changed in ‘exchanges.py’ where fees and orders are set :wink:
i am not so good programmer to get it done :frowning: