Browse Source

RiskManager

- add `UpdatePositions`
Alexey Kim 1 tháng trước cách đây
mục cha
commit
ee4806b53a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)
 }