Commit Graph

80 Commits

Author SHA1 Message Date
c9s
ed6a401dec
add funding_fees table migrations 2024-03-21 14:37:19 +08:00
c9s
cfa0468867
for create table statement dont use txn 2024-01-19 15:28:56 +08:00
narumi
c30dd24550 fix order status length 2023-11-23 14:53:22 +08:00
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
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
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