poloniex-api-watcher
v1.0.6
Published
A simple tool for viewing the data received from the Poloniex API
Downloads
9
Readme
poloniex-api-watcher
A simple tool for viewing the data received from the Poloniex API
INSTALLATION
npm install poloniex-api-watcher -g
HOW TO RUN
poloniex-api-watcher --pairs [pair1, pair2, etc] --modes [mode1, mode2, etc] [--tofile [log file]]
EXAMPLE
(the logs will be written to the console):
poloniex-api-watcher --pairs BTC_ETC BTC_ETH USDT_BTC --modes orderBook newTrade
(the logs will be written to the file log.txt):
poloniex-api-watcher --tofile /home/me/log.txt --pairs BTC_ETC BTC_ETH USDT_BTC --modes orderBook newTrade
Types of events being processed
--modes
orderBook
orderBookModify
orderBookRemove
newTrade
Currency pairs
--pairs
BTC_ETC
BTC_ETH
ETH_ETC
and so on...
Logging mode
--tofile (optional; if exists, the logs will be written to the log.txt file)