Browse Source

Market Account

- GetCash: refactoring
Alexey Kim 1 month ago
parent
commit
008b4eda2c
1 changed files with 1 additions and 1 deletions
  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