Ver código fonte

Strategy

- refactor Handle(turn *Turn, market Market, rs RiskManager) error
Alexey Kim 3 meses atrás
pai
commit
ca19199b8e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      strategy.go

+ 1 - 1
strategy.go

@@ -11,5 +11,5 @@ type Strategy interface {
 	MaxTradeDuration() time.Duration
 	Interval() uint8
 
-	Handle(market Market, turn *Turn) error
+	Handle(turn *Turn, market Market, rs RiskManager) error
 }