Explorar el Código

RiskManager

- add isHalted
Alexey Kim hace 3 semanas
padre
commit
8d4bd61d27
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      risk_manager.go

+ 1 - 0
risk_manager.go

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