This application is a Websocket gateway for BitMex Websocket API.
Application uses .env
file and environment variables for configuration.
List of used environment variables:
KEY
-- BitMex API keySECRET
-- BitMex API secretURL
-- BitMex Websocket API endpoint URLEXPIRES
-- date of expiration for connections
Application can be launched using:
go run .
There is also a very simple client for testing the application locally that can be run with:
go run ./client/