= TradeBot =

logic.

givens:

goal: increase BTC count by trading over time

AI:

goal-seeking
estimates of other players existence and motivations
profit means going against the average and being right
trades happen based on news (like mtgox outage)

Goals:

1. BTC Balance of X. 
    Test: does btc balance == X? Yes, Success, else strategy 1

Strategy:

 1. delta1 = difference between balance and goal. 
   +delta1 means needs btc. 
   -delta1 means divest btc. 
   compare delta1 to open orders total for buy or sell.
   delta2 = difference between delta1 and open orders
   +delta2 means needs BUY order. action: create BUY order
   -delta2 means needs SELL order. action: create SELL order

exchanges: https://bitcoinconsultancy.com/wiki/Intersango/API http://www.cryptoxchange.com/t/cryptoapi https://mtgox.com/api https://bitfloor.com/docs/api

http://nyse-group.de/bitcoin-arbitrage