mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +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
|
||||
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 `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 `binance_klines_end_time_symbol_interval` ON `binance_klines` (`end_time`, `symbol`, `interval`);
|
||||
CREATE INDEX `okex_klines_end_time_symbol_interval` ON `okex_klines` (`end_time`, `symbol`, `interval`);
|
||||
CREATE INDEX `max_klines_end_time_symbol_interval` ON `max_klines` (`end_time`, `symbol`, `interval`);
|
||||
-- +end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user