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

MarketAccount

- add IsEnabled
Alexey Kim 1 жил өмнө
parent
commit
2a0dd0b55d

+ 5 - 1
market_account.go

@@ -1,11 +1,15 @@
 package sentio
 package sentio
 
 
 type MarketAccount interface {
 type MarketAccount interface {
+	IsEnabled() bool
+
 	GetId() string
 	GetId() string
 
 
 	GetName() string
 	GetName() string
 
 
+	// GetCash Cash Balance
 	GetCash() float64
 	GetCash() float64
-	
+
+	// GetEquity cash + long_market_value + short_market_value
 	GetEquity() float64
 	GetEquity() float64
 }
 }