Skip to content
A simple script to parse over your bitmex wallet history file and give you an overview of your account.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
bfx.py
bitmex-wallet-parser.py
readme.md
requirements.pip

readme.md

Bitmex Wallet Parser by @whalepoolbtc - https://whalepool.io

About

A simple script to parse over your bitmex wallet history file and give you an overview of your account.

Donations

Please be sure to just use the bitmex whalepool affiliate link - http://bitmex.whalepool.io to support whalepool

Instructions

  • 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.

Options & Arguments

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

Date format

  • 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/

Single Chart Examples

  • 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.


Two Chart Examples

  • 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.


Three Chart Example

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

You can’t perform that action at this time.