Jelajahi Sumber

Market Account

- GetCash: refactoring
Alexey Kim 1 bulan lalu
induk
melakukan
008b4eda2c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      market_account.go

+ 1 - 1
market_account.go

@@ -8,7 +8,7 @@ type MarketAccount interface {
 	GetName() string
 
 	// GetCash Cash Balance
-	GetCash() float64
+	GetCash(IgnoreBuyingPower bool) float64
 
 	// GetEquity cash + long_market_value + short_market_value
 	GetEquity() float64