node package manager

aila

Aila

This bot will download candles, order book, and a limited history for specified currency pairs on Poloniex and then connects to the official socket server and starts to update the internal records as information streams in. It also compensates for a lot of Poloniex idiosyncrasies and connection issues that I have encountered while building this bot.

Aila has a HTTP API that exactly mimics the necessary Poloniex public API commands. This is especially helpful for because you'll never be rate limited and you'll save valuable bandwidth and time. So, if you have an existing bot you don't need to worry because Aila is a drop-in replacement for these API commands.

Almost all data is stored locally in the tmp/ folder to make restarts faster. Only missing data will be downloaded on start/restart.

Getting started

git clone https://github.com/dparlevliet/Aila.git aila/ && \
cd aila/ && \
cp usr/config-example.js usr/config.js && \
npm install && \
npm start

Benefits

  • No rate limiting
  • Low latency
  • Faster transfer rates so faster access to data
  • Drop-in replacement for most poloniex public API requests
  • Handles Poloniex idiosyncrasies/issues for you
  • More time to spend on your bot

Supported API methods

  • returnTicker
  • returnOrderBook
  • returnTradeHistory
  • returnChartData

LICENCE

MIT License

Copyright (c) 2016 David Parlevliet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.