浏览代码

RiskManager

- add current price
Alexey Kim 5 月之前
父节点
当前提交
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
 }