Post
Topic
Board Announcements (Altcoins)
Vircurex Shotgun Bot
by
Hunterbunter
on 30/12/2013, 15:28:47 UTC
Which brings me to hey how about a bounty for a tool one can use to say "place orders on each and every satoshi of price if possible, if not as many satoshis of price as possible, evenly spread starting at this low price going up to this high price using this many coins" ?

Basically I am spending 16+ hour days manually typing in on Vircurex offers at every satoshi of price, not just on devcoins (I already did them long ago) but now also on IXCoins and I0Coins and hey what the heck even on DOGE. In general I think it would be beneficial if all coins had offers at all possible prices, no empty satoshis of price inbetween.

I looked in Virturex FAQ for frequently asked questions about their API but didn't even see "do you even have an API" listed there.

But I think they do have one even if not active right now as I seem to recall having seen an announcement once upon  time that they were disabling the API temporarily to fix something or something like that.

In general whichever exchange one ends up using, a tool for that exchange would be useful for doing this, as a lot of the price volatility on all exchanges on all coins is simple lazienss of people just posting one offer instead of spreading their offer across every possible price to ensure no gaps thus to smooth out changes in prices.

-MarkM-

I agree that it would be great to place a spread of orders. If someone finds an API call that does this, or finds a bot that already can do this I suggest 4 shares. If it turns out you need to modify or develop a bot to do this, 24 shares for coding. Any objections, or should something be changed?


Ok I couldn't find any direct calls in the API to do just this, nor a bot, so I wrote one with the support of a wrapper I modified from github (link in file).

https://github.com/hunterbunter/vircurex-python-shotgunbot

I've tested it and it seems to be behaving as intended, except I don't have the cryptofunds on hand at the moment to put it through it's pacing on 100+ orders (they're tied up testing my volatility bot). Each order has to to have a minimum btc volume of 0.0001 btc, so while I know my bot can handle it, I'm still not sure if Vircurex is going to complain. If anyone can test it out, that'd be great, otherwise I'll wait a few days for my testing run to finish and move some funds over to test.

There's a handy delete all button on the vircurex order page which makes it easy to clear all the orders the bot creates. I was going to code this in but I don't know if it's worth it...thoughts?

Lastly, I was using powershell to develop it and didn't realize it wraps around in command prompt if you run it through there (on windows)...will put editting the text to make it more readable on my todo list.

To use the bot:

- copy/clone the files from github
- use either 'python shotgunbot.py' or '.\shotgun.py' to run it (to those who don't already have it, you need python installed for it to work)
- enter vircurex username/API password (not login password, check settings to set these, make them the same for all)
- save username/password to file, or not (to save you having to type it in every time)
- enter the currency you want to trade
- enter minimum price *in santoshis* (eg entering 65 would be 0.00000065 btc)
- enter maximum price in santoshis
- enter how much BTC you want to put up (it'll show you how much you have available), just enter if you want to use it all
- enter how much alt-currency you want to put up
- read report, y to confirm
- watch your orders either get released or fail.