Parcourir la source

Market Account

- GetCash: refactoring
Alexey Kim il y a 1 mois
Parent
commit
008b4eda2c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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