API for automatical buying and selling coins in Java I need to create a simple bot for buying and selling coins and the programming language needs to be Java due to some technical specifications.
These are the functions which I need from that API:

buy(args)
sell(args)
getCurrentPrice(args)

If you know any API-s which are reliable and suitable for Java, please let me know.
Pretty much every exchange offers their own APIs for trading.  Take a look at kraken.