This challenge actually seems fun, and doesn't take that much time. I'll give it a try.
Also, I noticed that in the java code, there's a Long variable "timeOut" passed to many of the methods, but never used. Have you guys found a use for it? I think it's the maximum time you can take each turn.
Yes, the bot is expected to commit orders within 2 seconds.
If I understand correctly, you can access System.currentTimeMillis() which gives you the current time. I might be mistaken though.
http://www.java-forums.org/advanced-java/14441-timeout-method-execution.htmlSee post #3, first part.