Browse Source

BaseStrategy

- refactoring
Alexey Kim 3 days ago
parent
commit
4409f31caa
1 changed files with 3 additions and 3 deletions
  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 {