Commit Graph

87 Commits

Author SHA1 Message Date
c9s
92b1bbf3f2 expand sqlite kline table statements 2021-06-01 01:47:12 +08:00
c9s
b5c4fc3e4e fix kline record insert fields 2021-06-01 01:39:23 +08:00
c9s
4bec8984c0 add klines columns 2021-06-01 01:39:23 +08:00
zenix
2d6eb02e6c compile and update migration package 2021-04-21 11:21:15 +09:00
Jui-Nan Lin
3158cc9e49 migration: extend symbol column length to 10 2021-04-16 23:11:40 +08:00
c9s
ccbb78ce4d migration: extend tx id and address size 2021-03-14 11:18:22 +08:00
c9s
4e9973681a add migration files 2021-03-14 10:58:26 +08:00
c9s
5a7cf05701 integrate reward service into the sync service 2021-02-23 16:39:48 +08:00
c9s
fb62af05a4 add global Reward type 2021-02-23 10:08:01 +08:00
c9s
b537afc4d9 add migration sql 2021-02-23 09:23:02 +08:00
c9s
7d243e6026 add strategy column 2021-02-15 20:35:27 +08:00
c9s
32f74d8f6f move mysql migrations to migrations/mysql 2021-02-06 11:22:04 +08:00
c9s
786757a686 migrations/sqlite3: fix sqlite3 alter syntax 2021-02-06 11:22:04 +08:00
c9s
256fce484c add default 0 to not null field 2021-02-06 11:22:04 +08:00
c9s
ccb1708fd9 add script for testing sqlite3 migration 2021-02-05 14:20:07 +08:00
c9s
007b679768 add sqlite3 migrations 2021-02-05 14:15:28 +08:00
c9s
d128373842 add trade price quantity index 2021-01-29 18:28:07 +08:00
c9s
82c1e41254 add migration for margin columns 2021-01-19 23:31:04 +08:00
c9s
463a9bf1b7 fix sql syntax 2021-01-18 16:56:01 +08:00
c9s
ad78f81b10 fix unique index for binance self trade 2021-01-18 16:48:47 +08:00
c9s
293d889276 fix built-in migrations 2021-01-15 10:31:37 +08:00
c9s
2699c32b38 add rockhopper 2021-01-13 23:53:36 +08:00
c9s
c01f878c19 add symbol column length fix migration 2020-12-11 17:58:11 +08:00
c9s
28712adaeb adjust table symbol column length to 8 2020-12-11 17:53:22 +08:00
c9s
6bd3573287 add exchange field in the table so that we can reuse the kline objects for backtest 2020-11-08 12:13:34 +08:00
c9s
8823a39fc2 support backtesting kline verification 2020-11-07 00:49:17 +08:00
c9s
555fe57341 implement kline sync function from command 2020-11-06 21:40:48 +08:00
c9s
2dee3f25ce add kline tables 2020-11-06 11:58:29 +08:00
c9s
32268d1b33 adjust traded_at field precision 2020-11-05 13:41:55 +08:00
c9s
7e47f754c5 use channel to sync trades 2020-11-05 13:35:04 +08:00
c9s
9f532be5a1 make order id unique 2020-11-05 12:55:20 +08:00
c9s
7fab2e24de improve order persistence and support order data sync 2020-11-05 11:14:14 +08:00
c9s
fe16f9aa4d add is_working column 2020-11-05 11:14:14 +08:00
c9s
3816dfa9c1 add order id to trades table 2020-11-05 11:14:14 +08:00
c9s
bcff4de321 remove is_buyer and is_maker columns 2020-11-05 11:14:14 +08:00
c9s
5a566c9c6e add orders table 2020-11-05 11:14:14 +08:00
c9s
e06a480b04 add migration files 2020-10-05 17:51:01 +08:00