Get your positions and orders status with a simple command.
- Go 1.10 : https://golang.org/doc/install.
- Tested on Windows 10, Linux 18.10
You should put your API key in a bitmex.apikey file on the same level as main.go or the executables provided. If you decide to fork the project, there's already a reference in .gitignore so don't worry about that.
Syntax :
id:myverypersonalbitmexid
secret:myveryveryverypersonalbitmexsecret
Add a line break
cd ~/go/src/
git clone https://github.com/2lazy2debug/bitmex-status-cli
cd bitmex-status-cli
go get github.com/fatih/color
go run main.go
You can get a built package on the releases tab. Just download it, and execute it after creating a bitmex.apikey file.
If you haven't joined BitMEX yet (why are you here then?) and you want 10% discount on fees : https://www.bitmex.com/register/1TTdTj
