|
@@ -7,7 +7,10 @@ type RiskManager interface {
|
|
|
|
|
|
GetBalance() (float64, float64)
|
|
GetBalance() (float64, float64)
|
|
GetPnL() (float64, float64)
|
|
GetPnL() (float64, float64)
|
|
|
|
+ GetWinStreak() uint
|
|
|
|
+ GetLoseStreak() uint
|
|
GetProfitRate() float64
|
|
GetProfitRate() float64
|
|
|
|
|
|
GetOrderSize(symbol string, bid float64) (float64, float64)
|
|
GetOrderSize(symbol string, bid float64) (float64, float64)
|
|
|
|
+ ResetState(streaks bool)
|
|
}
|
|
}
|