mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
fix supportedIntervals map
This commit is contained in:
parent
8bf5c5f778
commit
9b8995acea
|
@ -129,7 +129,7 @@ func (e *Exchange) QueryTickers(ctx context.Context, symbols ...string) (map[str
|
||||||
var supportedIntervals = map[types.Interval]int{
|
var supportedIntervals = map[types.Interval]int{
|
||||||
types.Interval1m: 60,
|
types.Interval1m: 60,
|
||||||
types.Interval5m: 60 * 5,
|
types.Interval5m: 60 * 5,
|
||||||
types.Interval5m: 60 * 15,
|
types.Interval15m: 60 * 15,
|
||||||
types.Interval30m: 60 * 30,
|
types.Interval30m: 60 * 30,
|
||||||
types.Interval1h: 60 * 60,
|
types.Interval1h: 60 * 60,
|
||||||
types.Interval2h: 60 * 60 * 2,
|
types.Interval2h: 60 * 60 * 2,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user