poloniex-api-watcher

1.0.6 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i poloniex-api-watcher

Weekly Downloads

6

Version

1.0.6

License

MIT

Unpacked Size

7 kB

Total Files

5

Last publish

Collaborators

  • vadiminshakov