As a "hats off" to the mining community, I decided to post my private php bot called balancebot thats for cex.io
I did not come up with the original idea, however, the original was limited to selling NMC and was out of date (a very good concept though!)
Usage is pretty simple, Modify the first 25 lines according to what you want traded (as well as your username, api_key and secret_key.
This bot attempts to balance your balances so they are equal.
At its default settings, the bot will NOT sell or do anything, you have to tell it what you want traded.
Support is in there for balancing: BTC, GHS, FHA, FHM, NMC and LTC.
There is also support for instant selling NMC and LTC.
As an example, if you only wanted to use the bot to sell LTC and NMC to obtain only GHS, you would set those respective fields to 1 from 0.. for the above example:
$balancing_GHS=0; change the 0 to 1
$autosell_LTC=0; change the 0 to 1
$autosell_NMC=0; change the 0 to 1
Hope the script helps somebody (it's definetly helped me in the last while)
I've put it up on pastebin with ID xx6QeyDY
http://pastebin.com/xx6QeyDYThere is a bug (somewhere!) where it will try to purchase more than you have in BTC when it's trying to balance .. not entirely sure why unless its because it's including the sell orders which haven't sold.
Enjoy!
- SixOfFive