2
0
Эх сурвалжийг харах

RiskManager

- add current price
Alexey Kim 5 сар өмнө
parent
commit
927cb26a7a
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      risk_manager.go

+ 2 - 2
risk_manager.go

@@ -1,6 +1,6 @@
 package sentio
 
 type RiskManager interface {
-	StopLoss(symbol string) float64
-	TakeProfit(symbol string) float64
+	StopLoss(symbol string, current float64) float64
+	TakeProfit(symbol string, current float64) float64
 }