Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
victorl2 committed Apr 20, 2021
1 parent 37c716a commit 23421cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kate/backtester.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewBacktester(mystrategy Strategy, dataHandler *DataHandler) *Backtester {
func NewCustomizedBacktester(mystrategy Strategy, dataHandler *DataHandler, options BacktestOptions) *Backtester {
exchangeHandler := NewExchangeHandler(options.Market, options.MakerFeePercentage, options.TakerFeePercentage,
options.percentagePerTrade)
dataHandler.setWindow(int(options.PriceWindow))
dataHandler.SetWindow(int(options.PriceWindow))
return &Backtester{
exchangeHandler: exchangeHandler,
dataHandler: dataHandler,
Expand Down

0 comments on commit 23421cd

Please sign in to comment.