소스 검색

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