项目作者: dangbert

项目描述 :
A bot that attempts to make money through trades on a cryptocurrency exhange.
高级语言: JavaScript
项目地址: git://github.com/dangbert/poloniex-bot.git
创建时间: 2017-03-08T04:01:57Z
项目社区:https://github.com/dangbert/poloniex-bot

开源协议:

下载


Right now the code only buys/sells between ETH and USDT.

I make no guarantees about the behavior of the code but it has worked fine for me so far.

If you want to run the code (note this will make trades for you on poloniex):

  • install node js
  • cd poloniex-bot && npm install
  • create a poloniex.com account and generate API keys there
  • rename sample_api_keys.js to api_keys.js and place your API keys in there
  • “const quantity” in app.js is the amount of ETH to buy/sell and you have to manually change that before running app.js
  • Start the bot:
    • node app.js
    • the intial mode specifies whether to start by placing an ETH SELL order or BUY order
    • examples:
      • node app.js 367 390 SELL
      • node app.js 367 390 BUY
  • A status will be outputed every 30 mins so you know it’s still running.

The important code is all in app.js (poloniex.js is a library I downloaded from https://github.com/premasagar/poloniex.js)

(Ignore the public folder it’s not being used)