- Runs on node.js (latest LTS version)
- Maximum of 2 external libraries allowed (less the better) (sub-dependencies do not count here)
- No binance/crypto related libraries allowed
- SPOT testnet available at https://testnet.binance.vision
- SPOT mainnet available at https://www.binance.com
- SPOT documentation available at https://binance-docs.github.io/apidocs/spot/en/#change-log
- Log to console current non 0 asset balances available on the SPOT account (testnet)
- Open a single userData websocket (with all the requirement logic to keep the listenKey active)
- Keep your local asset balances state up to date based on the data coming from userData
- Log the asset balances again on every balance change
- Open 10 *@trade websockets for the 10 pairs with the highest volume in the last 24h on the SPOT exchange (mainnet)
- Determinate the 10 pairs dynamically (no hard-coded pairs)
- Measure event time => client receive time latency and log (min/mean/max) to console every 1 minute
-
Run init script
make init
-
Setup
apiKey
andapiSecret
tosrc/secrets.js
-
Show actual balance
./bin/balance.js
-
Show trades with the highest volume pairs in the last 24h
./bin/trades.js
-
Create order (to demonstrate the balance update)
./bin/order.js