An end user specifies the conditions and actions of his strategy in the frontend (see onyxium-webapp-client). When the end user is done this strategy is send to the collector which collects all jobs. All jobs are parsed to a K-ary tree structure. Then the collector send it to the dispatcher which dispatches the job to a worker. The worker keeps running the job untill it is finished.
Install go: https://golang.org/dl/
Make sure your $GOPATH is correct.
go get https://github.com/onyxium-strategies/onyxium-strategy-worker.git
cd $GOPATH/bin
./onyxium-strategy-worker
Dependancy management during development is done with golang/dep.
Note that this is not intended for end users who are installing Go software - that's what go get
does.
Install with homebrew: brew install dep
Pull all dependencies: dep ensure
Add new dependency to project: dep ensure -add github.com/foo/bar