Browse Source

RiskManager

- add getters
Alexey Kim 2 months ago
parent
commit
b492d99477
1 changed files with 3 additions and 0 deletions
  1. 3 0
      risk_manager.go

+ 3 - 0
risk_manager.go

@@ -7,7 +7,10 @@ type RiskManager interface {
 
 	GetBalance() (float64, float64)
 	GetPnL() (float64, float64)
+	GetWinStreak() uint
+	GetLoseStreak() uint
 	GetProfitRate() float64
 
 	GetOrderSize(symbol string, bid float64) (float64, float64)
+	ResetState(streaks bool)
 }