This is still a work in progress, but you are welcome to contribute
TODO:
- Withdrawal API
- Websocket streams
nimble install binance
Open a Binance account and create an API key.
Create two directories called logs
and keys
in the same directory where you'll be executing the program from. Inside keys
create two files called api.key
and secret.key
. Save your generated API key in the former and you secret key in the latter.
import binance
const apiKey = slurp("./keys/api.key")
const secretKey = slurp("./keys/secret.key")
let b = newBinanceApi(apiKey, secretKey)
if b.ping():
echo "The server is online."
else:
echo "The server is offline."
Please, do!