Browse Source

MarketAccount

- refactoring
Alexey Kim 2 weeks ago
parent
commit
ea1006bbb1
1 changed files with 4 additions and 2 deletions
  1. 4 2
      market_account.go

+ 4 - 2
market_account.go

@@ -2,8 +2,10 @@ package sentio
 
 type MarketAccount interface {
 	GetId() string
+
 	GetName() string
 
-	Cash() (float64, error)
-	Equity() (float64, error)
+	GetCash() float64
+	
+	GetEquity() float64
 }