Sfoglia il codice sorgente

RiskManager

- add `UpdatePositions`
Alexey Kim 1 mese fa
parent
commit
ee4806b53a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      risk_manager.go

+ 1 - 0
risk_manager.go

@@ -12,5 +12,6 @@ type RiskManager interface {
 	GetProfitRate() float64
 
 	GetOrderSize(symbol string, bid float64) (float64, float64)
+	UpdatePositions() error
 	ResetState(streaks bool)
 }