aboutsummaryrefslogtreecommitdiff
path: root/markets/balance.go
diff options
context:
space:
mode:
Diffstat (limited to 'markets/balance.go')
-rw-r--r--markets/balance.go15
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 @@
1package markets
2
3import (
4 "github.com/shopspring/decimal"
5)
6
7type Balance struct {
8 Amount decimal.Decimal `json:"amount"`
9 BTCValue decimal.Decimal `json:"btcValue"`
10}
11
12type Summary struct {
13 Balances map[string]Balance
14 BTCValue decimal.Decimal
15}