瀏覽代碼

RiskManager

- GetBalance() (float64, float64)
- GetPnL() (float64, float64)
- GetProfitRate() float64
Alexey Kim 2 月之前
父節點
當前提交
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
 	StopLoss(symbol string, current float64, safe bool) float64
 	TakeProfit(symbol string, current float64, safe bool) float64
+
+	GetBalance() (float64, float64)
+	GetPnL() (float64, float64)
+	GetProfitRate() float64
 }