Arke is a liquidity gathering framework
Arke
Arke is a trading bot platform built by Openware Cryptocurrency exchange software.
Development
Setup
To start local development:
- Clone the repo:
git clone git@github.com:rubykube/arke.git</code></pre>
- Install dependencies
<pre><code class="lang-shell">bundle install</code></pre>
Now you can run Arke using
bin/arke command.
Example usage
Arke is a liquidity aggregation tool which supports copy strategy
Add platform host and credentials to
config/strategy.yaml
<pre><code class="lang-yaml">strategy: type: 'copy' market: 'ETHUSD' target: driver: rubykube host: "http://www.example1.com" name: John key: "xxxxxxxxxx" secret: "xxxxxxxxxx" sources: - driver: source1 host: "http://www.example2.com" name: Joe key: "xxxxxxxxxxx" secret: "xxxxxxxxxxxx" - driver: source2 host: "http://www.example2.com" name: Joe key: "xxxxxxxxxxx" secret: "xxxxxxxxxxxx"</code></pre>
To open development console, use
bin/arke console`
Now your configuration variables can be reached with
Arke::Configuration.get(:variable_name) or
Arke::Configuration.require!(:variable_name)
For example, to get target host:
Arke::Configuration.require!(:target)['host']
#For api key: Arke::Configuration.require!(:target)['key'] Arke::Configuration.require!(:target)['secret']
To start trading bot type
bin/arke start