瀏覽代碼

RiskManager

- add `UpdatePositions`
Alexey Kim 1 月之前
父節點
當前提交
ee4806b53a
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)
 }