java version of bitcoin strategy trading