Skip to content

Commit

Permalink
Merge pull request #106 from ethanchewy/fix/binancefeeder
Browse files Browse the repository at this point in the history
Fix overcalling and getAllSymbols() exchangeinfo call
  • Loading branch information
rocketbitz authored Jul 26, 2018
2 parents 63c6d4a + 2fd62b2 commit ec2f275
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 116 deletions.
24 changes: 12 additions & 12 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

[[constraint]]
name = "github.com/alpacahq/slait"
version = "1.1.5"
version = "1.1.6"

[[constraint]]
name = "github.com/antlr/antlr4"
Expand Down
2 changes: 0 additions & 2 deletions contrib/binancefeeder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ in MarketStore configuration file.
Name | Type | Default | Description
--- | --- | --- | ---
query_start | string | none | The point in time from which to start fetching price data
query_end | string | none | The point in time from which to end fetching price data. If not set, the binancefeeder will forever grab data. If set, it will end on query_end and continually retrieve "query_end" to "query_end" data since this is a background worker and will forver run in the background.
base_currency | string | USDT | Base currency for symbols. ex: BTC, ETH, USDT
base_timeframe | string | 1Min | The bar aggregation duration
symbols | slice of strings | [All "trading" symbols from https://api.binance.com/api/v1/exchangeInfo] | The symbols to retrieve data for
Expand All @@ -37,7 +36,6 @@ bgworkers:
base_timeframe: "1Min"
base_currency: "USDT"
query_start: "2018-01-01 00:00"
query_end: "2018-01-02 00:00"
```


Expand Down
Loading

0 comments on commit ec2f275

Please sign in to comment.