4.3.0 β€’ Published 4 years ago

gdax-balance v4.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Introduction

GDAX Balance is a tool for compiling the liquid value of a GDAX account and running reports for accounting against trade history using the GDAX API. In order to use this tool, you will need to create an API key with "view" permissions (this is the only permission it needs): https://www.gdax.com/settings/api

If you don't yet have a GDAX trading account, you can sign up on Coinbase, which uses the same account system as GDAX.

Setup

  • setup a GDAX account (Login with Coinbase)
  • Get a Coinbase GDAX API key/secret (view only, and restrict to your IP address)
  • Set GDAX_KEY, GDAX_SECRET, GDAX_PASS as env vars
  • Set external (offline wallet) numbers for EXT_BTC, EXT_BCH, EXT_ETC, EXT_LTC, EXT_ETH:
    • e.g. export EXT_BTC=1 (if you have 1 BTC in an offline wallet or another exchange you want to track)
  • install Node.js (recommend using NVM at latest version: 10.0.0)
  • Install: npm i -g gdax-balance
  • Run: gdax-balance balance to see balances
⚑️   \[._.]/ - getting balances
πŸ•   etcπŸ’°  NaN <- NaN -> 🏷  NaN median: NaN price: 0
πŸ•‘   ltcπŸ’°  67.01 <- 0.01 -> 🏷  67.02 median: 67.02 price: 67
πŸ•’   bchπŸ’°  644.21 <- 0.01 -> 🏷  644.22 median: 644.22 price: 644
πŸ•“   ethπŸ’°  377.30 <- 0.01 -> 🏷  377.31 median: 377.31 price: 377
πŸ•”   btcπŸ’°  6590.77 <- 0.01 -> 🏷  6590.78 median: 6590.77 price: 6590
offline holdings:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€-─┬──────────────────────┐
β”‚ BTC@ $9254.00 = $0.00 β”‚ LTC@ $150.10 = $0.00 β”‚ ETH@ $674 = $0.00 β”‚ BCH@ $1379.79 = $0.0 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 0                     β”‚ 0                    β”‚ 0                 β”‚ 0                    β”‚
└───────────────────────┴──────────────────────┴───────────────────┴────────────────────-β”€β”˜
$USD values:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€-----─┬─────────────────────────┬─────────────────────────┬─────────────────────────┐
β”‚ USD = $0.00 β”‚ BTC@ $9254 = $0.00      β”‚ LTC@ $150 = $0.00       β”‚ ETH@ $674 = $0.00       β”‚ BCH@ $1380 = $0.00      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€-───-----───┼─────────────────────────┼─────────────────────────┼───────────────---------──
β”‚ 0.00 / 0.00 β”‚ 0.00000000 / 0.00000000 β”‚ 0.00000000 / 0.00000000 β”‚ 0.00000000 / 0.00000000 β”‚ 0.00000000 / 0.00000000 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Crypto liquid values:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ liquid USD β”‚ liquid BTC β”‚ liquid LTC β”‚ liquid ETH β”‚ liquid BCH β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€-─┼─────────-──┼────────────┼────────────┼─────────────
β”‚ 0.00       β”‚ 0.00000000 β”‚ 0.00000000 β”‚ 0.00000000 β”‚ 0.00000000 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Copy/Paste for Spreadsheet Tracking:
USD Holdings	BTC Holdings	LTC Holdings	ETH Holdings	BCH Holdings	Liquid USD	Liquid BTC	Liquid LTC	Liquid ETH	Liquid BCH
0.00	        0.00000000	    0.00000000	    0.00000000	    0.00000000	    0.00	    0.00000000	0.00000000	0.00000000	0.00000000

I Love Coffee

ko-fi

4.3.0

4 years ago

4.2.0

4 years ago

4.1.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago