2
0

market_account.go 230 B

123456789101112131415
  1. package sentio
  2. type MarketAccount interface {
  3. IsEnabled() bool
  4. GetId() string
  5. GetName() string
  6. // GetCash Cash Balance
  7. GetCash() float64
  8. // GetEquity cash + long_market_value + short_market_value
  9. GetEquity() float64
  10. }