12345678910111213 |
- package sentio
- 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
- GetOrderSize(symbol string, bid float64) float64
- }
|