-
Notifications
You must be signed in to change notification settings - Fork 2
1. Server setup
Flashbot is typically deployed as a collection of processes on a single server. The first process we'll run is a data ingest service using one of the built-in data sources: GDAX trade streams. Later on we'll make use of these raw trade streams in our strategies to build time series and indicators.
It's assumed that you are running a fresh installation of Ubuntu 14.04, but the instructions also work on Windows, Mac OS, and other Linux distributions. Please open an issue if you notice any issues on other platforms.
Go to the Flashbot releases page and copy the link to the latest flashbot.jar release. Download it to your home directory:
$ cd ~
$ wget <link here>Now we want to start collecting live trades from GDAX. Since the GDAX market data source comes built-in with Flashbot, we can start data ingest with a single command:
$ nohup java -jar flashbot.jar ingest --sources=gdax > ~/ingest.log 2>&1 &This runs a GDAX data ingest server as a background process. We can tail the logs to see what it's up to:
$ tail ~/ingest.log