mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
add kline indexes for sqlite3
This commit is contained in:
parent
92b1bbf3f2
commit
c6aebb37df
|
@ -82,9 +82,9 @@ CREATE TABLE `max_klines`
|
||||||
|
|
||||||
-- +begin
|
-- +begin
|
||||||
CREATE INDEX `klines_end_time_symbol_interval` ON `klines` (`end_time`, `symbol`, `interval`);
|
CREATE INDEX `klines_end_time_symbol_interval` ON `klines` (`end_time`, `symbol`, `interval`);
|
||||||
CREATE INDEX `klines_end_time_symbol_interval` ON `binance_klines` (`end_time`, `symbol`, `interval`);
|
CREATE INDEX `binance_klines_end_time_symbol_interval` ON `binance_klines` (`end_time`, `symbol`, `interval`);
|
||||||
CREATE INDEX `klines_end_time_symbol_interval` ON `okex_klines` (`end_time`, `symbol`, `interval`);
|
CREATE INDEX `okex_klines_end_time_symbol_interval` ON `okex_klines` (`end_time`, `symbol`, `interval`);
|
||||||
CREATE INDEX `klines_end_time_symbol_interval` ON `max_klines` (`end_time`, `symbol`, `interval`);
|
CREATE INDEX `max_klines_end_time_symbol_interval` ON `max_klines` (`end_time`, `symbol`, `interval`);
|
||||||
-- +end
|
-- +end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user