Skip to content

A simple npm module in order to watch a Binance PNL's user state on the leaderboard

Notifications You must be signed in to change notification settings

spartanz51/binance_leaderboard_listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binance-leaderboard-listener

A simple pnl watcher for Binance leaderboard

Installation

npm i binance-leaderboard-listener

Basic usage

const pnlWatcher = require("binance-leaderboard-listener")

const listener = pnlWatcher.listen({
    encryptedUid: <BINANCE_ENCRYPTED_USER_ID>,
    delay: <DELAY (5000)>,
    tradeType: <TRADETYPE ("PERPETUAL" for example)>
})
listener.on('update', (data) => {
  <process data...>
})

Examples

node examples/watch_changes.js

About

A simple npm module in order to watch a Binance PNL's user state on the leaderboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published