Commit Graph

60 Commits

Author SHA1 Message Date
c9s
79bfdbf9b6 compile and update migration package 2022-03-18 14:04:01 +08:00
c9s
9b31d6425d migrations: fix default symbol char length 2022-03-14 21:21:58 +08:00
c9s
157d1f3bbe migrations: update position table columns 2022-03-14 21:21:58 +08:00
c9s
a8b35867a5 migrations: merge pnl, strategy migration 2022-03-14 21:21:58 +08:00
c9s
32a5cd9f85 migrations: merge orders,trades migration 2022-03-14 21:21:58 +08:00
c9s
98f5416661 merge order_id migration into the table create sql 2022-03-14 21:21:58 +08:00
c9s
ac675d0099 add position table and service 2022-03-14 21:21:58 +08:00
c9s
f0d500bbaa add positions table migration 2022-03-14 21:21:58 +08:00
c9s
09dea3938d implement profit insert 2022-03-04 19:24:40 +08:00
c9s
bb52fcb48f update profit table columns 2022-03-04 16:40:01 +08:00
c9s
51e97284cf add profits table migration 2022-03-04 15:58:59 +08:00
c9s
f72221e804 fix klines table migration 2021-12-26 02:40:00 +08:00
c9s
ce07c3eda4 migrations: clean up and add kucoin klines table 2021-12-26 02:30:45 +08:00
TonyQ
4eb5a099ae account: add nav_history_details and account_service for #302 2021-12-14 08:09:18 +08:00
TonyQ
1118453b96 doc: update readme document for migration 2021-12-11 10:41:15 +08:00
Yo-An Lin
9f14d00f3c Merge pull request #340 from tony1223/feature/336-kline-table
backtest: add ftx kline table
2021-12-11 02:30:06 +08:00
Yo-An Lin
edcb8a3327 Merge pull request #339 from tony1223/bug/338-refine_client_order_id
orders: update client_order_id (client_id) column length
2021-12-11 02:29:31 +08:00
TonyQ Wang
776f82fcd5 Merge branch 'main' into feature/336-kline-table 2021-12-11 02:26:01 +08:00
TonyQ
8bb702223a orders: update client_order_id (client_id) column length for
#338
2021-12-11 02:23:39 +08:00
TonyQ
5fb50fa2cb exchange:
backtest: add ftx kline table
2021-12-11 02:11:01 +08:00
c9s
5cc9e74823 add is_futures column migration sql 2021-12-08 19:39:00 +08:00
TonyQ
93611c46eb fix #288 for adding migration 2021-12-04 02:05:02 +00:00
c9s
c6aebb37df add kline indexes for sqlite3 2021-06-01 01:48:11 +08:00
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