2
0
Эх сурвалжийг харах

MarketAccount

- refactoring
Alexey Kim 7 сар өмнө
parent
commit
ea1006bbb1

+ 4 - 2
market_account.go

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