Bitmex Wallet Parser by @whalepoolbtc - https://whalepool.io
A simple script to parse over your bitmex wallet history file and give you an overview of your account.
Please be sure to just use the bitmex whalepool affiliate link - http://bitmex.whalepool.io to support whalepool
- Install pip requirements
sudo pip3.6 install -r requirements.pip
- Go to https://www.bitmex.com/app/wallet and click the 'save as CSV' on the top right. - This will download 'Wallet History - YYYY-MM-DD.csv' file. Put this file in the same location as the python script.
- run
python3.6 bitmex-wallet-parser.py
and then view the folder once complete, a chart will be saved there.
You can enter various arguments to tailer the chart that is output. The options are as follows:
Argument | Description |
---|---|
-h, --help |
show this help message and exit |
--dateformat |
Options 'UK' or 'US' - Since the csv is created clientside, you need to specify your date format'. |
--hide-wallet |
hide wallet / transaction data |
--hide-affiliate |
hide affiliate data |
--hide-trading |
hide trading data |
--private |
hide numerical values |
- The
--dateformat=".."
is required because the Wallet History file is created clientside by javascript. So your date format might be different.
Date Formats | Description |
---|---|
UK format | generated would be: %d/%m/%Y, %H:%M:%S |
US format | generated would be like: %d/%m/%Y, %I:%M:%S %p |
You can check and code in your own date format by checking your csv file and referencing on http://strftime.org/
-
Transaction history -
python3.6 bitmex-wallet-parser.py --hide-affiliate --hide-trading
-
Affiliate income -
python3.6 bitmex-wallet-parser.py --hide-wallet --hide-trading
-
Trading performance -
python3.6 bitmex-wallet-parser.py --hide-wallet --hide-trading
Add the --private
flag on any command to remove values for more privacy when sharing your charts.
-
Transaction history + Affiliate Income -
python3.6 bitmex-wallet-parser.py --hide-trading
-
Transaction history + Trading performance -
python3.6 bitmex-wallet-parser.py --hide-affiliate
-
Affiliate income + Trading performance -
python3.6 bitmex-wallet-parser.py --hide-wallet
Add the --private
flag on any command to remove values for more privacy when sharing your charts.
By default the script will produce 3 charts on the one image summarising your transaction + affiliate + trading performance
python3.6 bitmex-wallet-parser.py
For more info join @whalepoolbtc on telegram