Skip to content

Commit

Permalink
Merge pull request #91 from ethanchewy/binanceplugin
Browse files Browse the repository at this point in the history
Fix NewTimeBucketKey arguments in Run Function
  • Loading branch information
rocketbitz authored Jun 22, 2018
2 parents e941c16 + 0e71449 commit 5a9579b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/binancefeeder/binancefeeder.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (bn *BinanceFetcher) Run() {
// glog.Infof("%s: %d rates between %v - %v", symbol, len(rates),
// timeStart.String(), timeEnd.String())
csm := io.NewColumnSeriesMap()
tbk := io.NewTimeBucketKey(symbol + "/" + timeStart.String() + "/" + timeEnd.String() + "/" + bn.baseTimeframe.String + "/OHLCV")
tbk := io.NewTimeBucketKey(symbol + "/" + bn.baseTimeframe.String + "/OHLCV")
csm.AddColumnSeries(*tbk, cs)
executor.WriteCSM(csm, false)
}
Expand Down

0 comments on commit 5a9579b

Please sign in to comment.