exchange
i publish one auto trade software for bitcoin encrycoin, it can support below exchange:
i tested: "bitmex.com","hitbtc.com","okex.com","binance.com"
and i not tested but may be supported: "bitmex.com","hitbtc.com","okex.com","huobi.com","bitstamp.net","kraken.com","zb.com","bitfinex.com","binance.com","poloniex.com","coinex.com","bithumb.com","gate.io","bittrex.com","gdax.com","wex.nz","big.one"
download
your can download binary from github: https://github.com/pkrss/autotrader
if your want to get source, can send me 10 eth, then email to me to get the source.
docker
see: https://hub.docker.com/r/pkrss/autotrade/
docker environments list sample:
- name: accounts_bitmex_apiKey
value: 'your api key'
- name: accounts_bitmex_apiSecKey
value: 'your api secure key'
- name: accounts_bitmex_exchange
value: 'bitmex.com'
- name: conditions_bitmex-simple
value: '{"type": "simple","target":{"account": "bitmex","currency": "XBT","baseCurrency": "USD"},"parameter":{"leverTradeSide": "buy","leverTrade": true,"vol": 5,"buyPrice": 7649,"sellPrice": 7675}}'
- name: strategies-product
value: '{"type":"simple","orderInvalidSeconds":120,"orderSellRetry":false,"intervalSeconds":20,"conditions":["bitmex-simple"]}'
- name: sys_srvaddr
value: '0.0.0.0:8080'
- name: sys_tmp_savePath
value: '/tmp/data/save/{key}'
above accounts_{accountName}_apiKey, can change or add your self multiple account name.
conditions_{conditionName}, can change or add your self multiple condition name.
strategies-product, can change this child "conditions" value to add your own conditions name.
or direct put environment:
- name: config_json
value: {your custom conf/config.json file full content}
above {your custom conf/config.json file full content} can see herehistory
20180614 add docker support: https://hub.docker.com/r/pkrss/autotrade/
20180611 github: https://github.com/pkrss/autotrader
No comments:
Post a Comment