V module to connect with Binance API.
- sign requests with HMAC-SHA-256
- get server time
- get account info
- get exchange information
- buy and sell spot market orders
You can install this module using v:
v install vanillaiice.vbinance
You can then import it in your project by doing:
import vanillaiice.vbinance
Also, you can add the following in your v.mod file:
dependencies: ['vanillaiice.vbinance']
To run tests, make sure you have zzktm.vdotenv installed, and an .env file containing your Binance secret key and api key for testnet.
v test .
vanillaiice
BSD-3-Clause