diff options
Diffstat (limited to 'markets/balance.go')
-rw-r--r-- | markets/balance.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/markets/balance.go b/markets/balance.go new file mode 100644 index 0000000..cd46ac9 --- /dev/null +++ b/markets/balance.go | |||
@@ -0,0 +1,15 @@ | |||
1 | package markets | ||
2 | |||
3 | import ( | ||
4 | "github.com/shopspring/decimal" | ||
5 | ) | ||
6 | |||
7 | type Balance struct { | ||
8 | Amount decimal.Decimal `json:"amount"` | ||
9 | BTCValue decimal.Decimal `json:"btcValue"` | ||
10 | } | ||
11 | |||
12 | type Summary struct { | ||
13 | Balances map[string]Balance | ||
14 | BTCValue decimal.Decimal | ||
15 | } | ||