]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git/blob - markets/balance.go
Display short positions.
[perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git] / markets / balance.go
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 }