- add current price
@@ -1,6 +1,6 @@
package sentio
type RiskManager interface {
- StopLoss(symbol string) float64
- TakeProfit(symbol string) float64
+ StopLoss(symbol string, current float64) float64
+ TakeProfit(symbol string, current float64) float64
}