ソースを参照

Market Account

- GetCash: refactoring
Alexey Kim 1 ヶ月 前
コミット
008b4eda2c
1 ファイル変更1 行追加1 行削除
  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