소스 검색

RiskManager

- GetBalance() (float64, float64)
- GetPnL() (float64, float64)
- GetProfitRate() float64
Alexey Kim 4 달 전
부모
커밋
ce313302f6
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      risk_manager.go

+ 4 - 0
risk_manager.go

@@ -4,4 +4,8 @@ type RiskManager interface {
 	EnsureVolatility(symbol string) bool
 	EnsureVolatility(symbol string) bool
 	StopLoss(symbol string, current float64, safe bool) float64
 	StopLoss(symbol string, current float64, safe bool) float64
 	TakeProfit(symbol string, current float64, safe bool) float64
 	TakeProfit(symbol string, current float64, safe bool) float64
+
+	GetBalance() (float64, float64)
+	GetPnL() (float64, float64)
+	GetProfitRate() float64
 }
 }