# Cache local orderbook and echo best price
# btcusdt by default
npm run orderbook
# or provide the trading pair
SYMBOL=bnbusdt npm run orderbook
# get user data steam
APIKEY=xxxxxx npm run user
# Get margin account update from websocket
APIKEY=xxxxxx APISECRET=xxxxx npm run margin-user
# Get user data steam on production
APIKEY=xxxxxx APISECRET=xxxxx npm run futures-user
# On testnet
APIKEY=xxxxxx APISECRET=xxxxx WSS_BASE_URL="wss://stream.binancefuture.com/" HTTP_BASE_URL="https://testnet.binancefuture.com/" npm run futures-user
# Get user data steam - defaults to production
APIKEY=xxxxxx APISECRET=xxxxx npm run delivery-futures-user
# Get multi pairs stream, setting the pairs in src/multi-stream-depth
npm run multi-stream
npm run monitor-spot-trade
npm run monitor-spot-depth
npm run monitor-futures
npm install
# run test
npm run test
MIT