Hello Sukrim
The API give you the platform right? Can't you calculate the fees from that? (although it might change when you actually pass the trade but not much?
Or maybe you have something else in mind?
No, from the order book API I cannot calculate how many BTC I will have in my account after I buy some. To do that I would need (ideally exposed via the API as well, as you seem to change that from time to time) to know how high the fees on each of your platforms are and which of the orders belong where.
Maybe I understood something wrong, but to my understanding https://bitfinex.com/api/v1/book/btcusd gives me the order book of bitfinex, bitstamp and mtgox combined. Just checked, it seems to be only bitfinex...
I wanted to do 2 things with bots:
1) Triangular arbitrage between LTC, BTC and USD (e.g. at the same time buy some LTC for BTC, sell this amount of LTC for USD and buy some BTC for the USD amount from the LTC - if there was a good opportunity, I'd now have more BTC than before and the same LTC and USD balances)
2) Convert interest from lending automatically to the other currency via a market order (ideally look at interest from both (soon all three) currencies and then just trade the remainder). This is definitely not possible atm. since I cannot see interest there (well, you could poll for changes in the deposit wallet...) or move funds between wallets.
The first one might be possible, but not very efficient as it is a bit hard on your platform to safely trade on Bitstamp/MtGox. I can get the order book from their API but I am not sure how quick you are with forwarding orders... so it is not too clear how much I really get if I buy something via you there.
Anyways, I guess I'll anyways have to add your API to some libraries first.