Selaa lähdekoodia

RiskManager

- add isHalted
Alexey Kim 3 viikkoa sitten
vanhempi
commit
6cc8c0cde4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      risk_manager.go

+ 1 - 1
risk_manager.go

@@ -8,7 +8,7 @@ type RiskManager interface {
 	GetPnL() (float64, float64)
 	GetWinStreak() uint
 	GetLoseStreak() uint
-	isHalted() bool
+	IsHalted() bool
 
 	GetOrderSize(symbol string, bid float64) float64
 	UpdatePositions() error