فهرست منبع

BaseStrategy

- refactoring
Alexey Kim 3 روز پیش
والد
کامیت
4409f31caa
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      strategy.go

+ 3 - 3
strategy.go

@@ -45,11 +45,11 @@ func (strategy BaseStrategy) MarketId() string {
 }
 
 func (strategy BaseStrategy) PositionSymbols() map[Side]string {
-	panic("implement me")
+	return nil
 }
 
 func (strategy BaseStrategy) PositionProbabilities() map[Side]float64 {
-	panic("implement me")
+	return nil
 }
 
 func (strategy BaseStrategy) Interval() uint8 {
@@ -61,7 +61,7 @@ func (strategy BaseStrategy) Cooldown(periods uint8) time.Duration {
 }
 
 func (strategy BaseStrategy) Handle(market Market, probability Probability) error {
-	panic("implement me")
+	return nil
 }
 
 func (strategy BaseStrategy) Symbols() []string {