ソースを参照

RiskManager

- GetOrderSize: add limit_price
Alexey Kim 2 ヶ月 前
コミット
9270e55f0a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      risk_manager.go

+ 1 - 1
risk_manager.go

@@ -9,5 +9,5 @@ type RiskManager interface {
 	GetPnL() (float64, float64)
 	GetProfitRate() float64
 
-	GetOrderSize(symbol string, bid float64) float64
+	GetOrderSize(symbol string, bid float64) (float64, float64)
 }