Commit Graph

42 Commits

Author SHA1 Message Date
c9s
04f552b169
add unique index for sqlite 2022-05-20 16:36:25 +08:00
c9s
f9dd76d4cb
add migration script to add unique index for kline tables 2022-05-20 16:30:29 +08:00
Raphanus Lo
e968688e7f fix sqlite column modification 2022-05-13 10:20:47 +08:00
Raphanus Lo
075028f8fc Fix symbol length in profits
This change fixes "Error 1406: Data too long for column 'symbol' at row 1"
for pair symbol longer than 8 chars.

Fixes #608
2022-05-12 18:24:14 +08:00
c9s
30c9d251fe
change column to net_asset_in_* to avoid confusion 2022-05-04 19:13:55 +08:00
c9s
f196cc9ccd
change balance_in_usd and balance_in_btc to signed 2022-05-04 19:05:45 +08:00
c9s
bb9a787575
add interest and fix net asset column 2022-05-04 18:58:32 +08:00
c9s
9333d063ec
update migration sql 2022-05-04 14:40:52 +08:00
c9s
c26cee4bc2
add session name column 2022-05-03 19:26:41 +08:00
c9s
816f05cd88
migrations: add margin info columns to nav table 2022-05-03 16:48:02 +08:00
c9s
82bdfa7db8 add the migration sql 2022-04-20 12:17:26 +08:00
c9s
a0e49fb2ba migrations: make fee column signed for ftx 2022-04-19 12:19:14 +08:00
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
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
TonyQ Wang
776f82fcd5 Merge branch 'main' into feature/336-kline-table 2021-12-11 02:26:01 +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
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
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