bitmex-go icon indicating copy to clipboard operation
bitmex-go copied to clipboard

error when change BasePath to testnet

Open anotar opened this issue 5 years ago • 3 comments

Because i want to test my strategy, when i changed the BasePath in configuration.go from "https://www.bitmex.com/api/v1" to "https://testnet.bitmex.com/api/v1", and try running testBuy function in main.go, the log printed like this: {"error":{"message":"Signature not valid.","name":"HTTPError"}} Please let me know how do i fix this error. Also, there's a difference between main.go in the release ver 2.0.1 and the github lastest code, i don't know why there's difference.

anotar avatar Aug 08 '18 11:08 anotar

You released ver 2.0.1 at Jan, but you fixed this problem last year. now i really don't know what's going on. i'm using ver 2.0.1 so i'll get the source code again but try with installing from github.

anotar avatar Aug 08 '18 11:08 anotar

Lastly, i really appreciate you to make this project.

anotar avatar Aug 08 '18 12:08 anotar

@0xkardux please use master branch to get latest code and don't hesitate to let me know if you have any problem.

qct avatar Aug 09 '18 01:08 qct