Ver código fonte

RiskManager

- add getters
Alexey Kim 2 meses atrás
pai
commit
b492d99477
1 arquivos alterados com 3 adições e 0 exclusões
  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)
 }