An open API service indexing awesome lists of open source software.

https://github.com/c0debrain/binance-websocket


https://github.com/c0debrain/binance-websocket

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# What is this
Simple example of using websocket to listen to Binance Candle Stick Stream, updated every minute

# Run this project
```
npm install
node index.js
```
NOTE: Wait for 1 min to see the ticker on the console.

# Create new project
```
#create a new nodejs project
npm init

#install websocket library
npm install ws --save
```

# Binance websocket endpoints doc
https://docs.binance.org/api-reference/dex-api/ws-streams.html