Arke is a trading bot platform built by Openware Cryptocurrency exchange software.
To start local development:
- Clone the repo:
git clone [email protected]:rubykube/arke.git`
- Install dependencies
bundle install
Now you can run Arke using bin/arke
command.
Arke is a liquidity aggregation tool which supports copy strategy
Add platform host and credentials to config/strategy.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"
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