Created
May 8, 2018 10:27
-
-
Save ekam230/00a60ad4f06b6453d7506d36617a39d3 to your computer and use it in GitHub Desktop.
switch on testnet ccxt bitmex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if 'test' in bitmex.urls: | |
bitmex.urls['api'] = bitmex.urls['test'] # ←----- switch the base URL to testnet | |
print (bitmex.fetch_balance()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment