coin-bbo
A crawler to get realtime BBO messages from crypto exchanges.
How to use
const crawl = default; // eslint-disable-line import/no-unresolved { console; // eslint-disable-line no-console} async { await ;};
Quickstart
npx coin-bbo CoinbasePro --marketType Spot --pairs BTC_USD
Help
npx coin-bbo --help
API Manual
There is only one API in this library:
/** * Crawl BBO messages. * * @param exchange The crypto exchange name * @param pairs The pairs to crawl * @param bboMessageCallback The function to process BBO messages */;
Related Projects
- crypto-order, a library to place and cancel orders at crypto exchanges.