Ver Fonte

RiskManager

- GetOrderSize: remove returning candle's open price
Alexey Kim há 1 mês atrás
pai
commit
c25fa59e13
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      risk_manager.go

+ 1 - 1
risk_manager.go

@@ -9,7 +9,7 @@ type RiskManager interface {
 	GetWinStreak() uint
 	GetLoseStreak() uint
 
-	GetOrderSize(symbol string, bid float64) (float64, float64)
+	GetOrderSize(symbol string, bid float64) float64
 	UpdatePositions() error
 	ResetState(streaks bool)
 }