Well, the debugging of the exchange data gathering went faster than expected. It just sort of worked after a few minor issues.
http://209.126.70.170/exchange_data has a Mac only version that will create an exchanges subdirectory and start gathering data for the pairs in the MGW.conf file which needs to be in your home directory.
You will need around 12 hours of data to be able to see good charts, so if you have a Mac, hopefully you can start gathering the data while I finish the display stuff.
Here is a sample MGW.conf file between the "###" lines
###
{
"MAINNET":1, "ORIGBLOCK":"16232361214057123821",
"active":["DOGE"],
"coins":[
{"name":"BTC","conf":"/home/root/.bitcoin/bitcoin.conf","asset":"4551058913252105307","txfee":0.0001,"NXTfee_equiv":0.0001,"rpc":"127.0.0.1:8332","blockheight":300797,"forkblockheight":308539,"minconfirms":3,"estblocktime":600},
{"name":"LTC","conf":"/home/root/.litecoin/litecoin.conf","asset":"2881764795164526882","txfee":0.001,"NXTfee_equiv":0.01,"rpc":"127.0.0.1:9332","blockheight":564980,"forkblockheight":594965,"minconfirms":5,"estblocktime":150},
{"name":"DRK","conf":"/home/root/.darkcoin/darkcoin.conf","asset":"17353118525598940144","txfee":0.01,"NXTfee_equiv":0.01,"rpc":"127.0.0.1:9998","blockheight":49594,"forkblockheight":0,"minconfirms":7,"estblocktime":150},
{"name":"BTCD","useaddmultisig":1,"nohexout":1,"conf":"/home/root/.BitcoinDark/BitcoinDark.conf","asset":"11060861818140490423","txfee":0.0001,"NXTfee_equiv":0.1,"rpc":"127.0.0.1:14632","blockheight":16000,"forkblockheight":0,"minconfirms":3,"estblocktime":60},
{"name":"DOGE","conf":"/home/root/.Dogecoin/dogecoin.conf","asset":"11749590149008849562","txfee":1.0,"NXTfee_equiv":200.0,"rpc":"127.0.0.1:22555","blockheight":250000,"forkblockheight":0,"minconfirms":3,"estblocktime":60}
],
"timezone":"-3",
"bittrex":[["BTCD","BTC"]],"cryptsy":[["BTCD","BTC"],["NXT","BTC"]],"poloniex":[["BTCD","BTC"],["NXT","BTC"]],"bter":[["NXT","BTC"]],"mintpal":[["LTC","BTC"]],"NXT":[["BTC","NXT"]]
}
###
You really only need the last part where the exchanges are listed. For "NXT" as the exchange, only coins specified in the "coins" field will work and the second part needs to be "NXT". For all the other exchanges, you should be able to put in any coin that they trade, though you probable need to put it in the right order to match how they are trading it.
Supported exchanges: "NXT", "bittrex", "cryptsy", "poloniex","bter" and "mintpal"
The time displayed will adjust by the "timezone" specified hours and should take into account daylight savings for USA peoples
The program loads the orderbooks of the specified pairs, no more frequently than once per second to an exchange and additionally no more frequently than once per ten seconds for a specific pair. This should get most all of the price changes without getting you blacklisted by the exchanges for abusing their API. Each time the top of the orderbook changes, it prints out the details and also adds an entry to a binary file.
Tomorrow, I will process this file and start getting some simple charts displayed to verify proper data and then finally I can code some tradebot logic, hopefully on Sunday
James
P.S. Please post any bugs that you find, it is really strange that it just worked the first time for all the exchanges, especially since they all have different syntax, especially mintpal and NXT