Browse Source

Strategy

- refactor Handle(turn *Turn, market Market, rs RiskManager) error
Alexey Kim 3 months ago
parent
commit
ca19199b8e
1 changed files with 1 additions and 1 deletions
  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
 }