Running and Deployment Instructions

As was already stated in Chapter 3, High-Frequency Bitcoin Price Prediction from Historical Data, you need Java 1.8+ and SBT as the dependencies. Then follow these instructions:

  • Download the app. I named the code PlayML.zip.
  • Unzip the file and you will get the folder ScalaML.
  • Go to the PlayML project folder.
  • Run $ sudo sbt run to download all the dependencies and run the app.

Then the application can be accessed at http://localhost:9000/, where we can upload the IBM stock and option prices and, of course, provide other config parameters:

Figure 17: The UI of options trading using QLearning

Now, if you ...

Get Scala Machine Learning Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.