소스 검색

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)
 }