Commit Graph

48 Commits

Author SHA1 Message Date
Edwin
fb5cc41aea migrations: add bybit klines 2023-08-15 17:39:32 +08:00
c9s
f13e39ad1d
avoid running truncate table in the migration script 2022-06-17 13:57:15 +08:00
c9s
bf92e28461
service: implement margin service for syncing margin related data 2022-05-31 17:43:17 +08:00
c9s
79fbad1266
migrations: add margin_liquidations table 2022-05-31 17:31:15 +08:00
c9s
17e575df33
add margin history migrations 2022-05-31 17:16:42 +08:00
c9s
f9dd76d4cb
add migration script to add unique index for kline tables 2022-05-20 16:30:29 +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
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
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