Commit Graph

47 Commits

Author SHA1 Message Date
c9s
a9bff7701c
sync: avoid adding the millisecond one to the start time 2022-06-24 18:14:52 +08:00
c9s
3ad1f0e351
show trade ID in the console 2022-06-24 15:19:12 +08:00
c9s
7b60e34821
revert time range check change, it's the same lol 2022-06-23 17:59:46 +08:00
c9s
4556e501da
batch: fix time range checking 2022-06-23 17:49:28 +08:00
zenix
55fa4cc8f1 fix: apply gofmt on all files, add revive action 2022-06-17 16:06:59 +09:00
c9s
5f075af24f
batch: add DepositBatchQuery 2022-06-08 15:49:44 +08:00
c9s
53e74b6262
fix timezone issue for sqlite and mysql 2022-06-07 00:48:13 +08:00
c9s
824951c3d5
batch: add remote query profiler 2022-06-02 16:52:34 +08:00
c9s
02a8bf4c8c
remove general rate limiter from batch query since it's already handled in the exchange 2022-06-02 16:52:33 +08:00
c9s
a878f35ca1
improve and fix kline sync 2022-06-02 16:52:33 +08:00
zenix
5faab1d55c fix: change from local timezone to UTC when do syncing 2022-06-02 17:12:17 +09:00
c9s
5d98674ab5
fix withdraw sync and improve withdraw string format 2022-06-02 13:56:24 +08:00
c9s
813166dd92
add TestWithdrawBatchQuery test 2022-06-02 13:56:24 +08:00
c9s
b36be80fd7
implement withdraw batch query 2022-06-02 13:56:23 +08:00
c9s
5bb98734fb
batch: set jump if empty field 2022-06-01 19:40:29 +08:00
c9s
484fc62892
batch: set jump if empty field 2022-06-01 19:40:29 +08:00
c9s
bf92e28461
service: implement margin service for syncing margin related data 2022-05-31 17:43:17 +08:00
c9s
c3f2c9eb4a
batch: add margin loan/repay/interest batch query 2022-05-31 01:19:38 +08:00
c9s
e66eb08db4
batch: refactor batch query 2022-05-31 00:59:33 +08:00
c9s
b9f0159537
add error handling 2022-05-20 18:57:41 +08:00
c9s
b8eb036556
simplify ftx kline sync call 2022-05-20 14:06:37 +08:00
c9s
a34dbf12e2 kucoin: fix trades sync 2022-04-12 23:25:56 +08:00
c9s
ab0519c4be start time is required for syncing trades 2022-01-01 02:50:07 +08:00
c9s
eba33329d1 always sort orders and trades in the batch query 2021-12-31 14:12:41 +08:00
c9s
2a8caa3780 batch: show trade sync time range in the message 2021-12-31 13:56:53 +08:00
c9s
20c6c7eb9a all: fix trade, order sync for kucoin 2021-12-31 13:52:16 +08:00
c9s
4c263dd205 fix batch kline sync 2021-12-26 03:04:21 +08:00
c9s
cf6da76ef0 service: add kucoin_klines to backtest insert table mapping 2021-12-26 02:40:13 +08:00
TonyQ
75633dbf09 exchange/okex : implement bookticker for okex , #388 2021-12-23 12:42:13 +08:00
TonyQ
3e45035ab1 database: sqlite3 issue fix
database: upgrade gosqllite3 version for increasing variable amount limit
	types: update kline starttime/endtime field to prevent sqlite3
	time parsing issue.

	fix #215
2021-12-15 14:34:31 +08:00
TonyQ
16933555b8 backtest : auto sync missing range 2021-12-15 01:26:05 +08:00
TonyQ
20b03fe4a5 exchange: fix ftx for wrong last kline issue 2021-12-15 00:07:54 +08:00
TonyQ
8eb3eede82 fix backtest (with review) 2021-12-14 16:02:54 +08:00
c9s
4ded82c94e pull out types.Exchange interfaces to make it minimal 2021-05-27 00:05:43 +08:00
c9s
859bf35255 set sync-from from config by default 2021-05-05 16:45:17 +08:00
c9s
a70d5cbcdc fix kline sync conditions 2021-05-05 16:33:15 +08:00
c9s
8fea2022e5 adjust rate limit for backtest data syncing 2021-05-02 17:46:08 +08:00
c9s
dd87bde785 fix reward sync time range issue 2021-03-18 01:15:38 +08:00
c9s
4a415a43b3 fix reward query 2021-03-18 00:46:10 +08:00
c9s
75c6a2791c reduce log 2021-03-14 11:18:22 +08:00
c9s
1d29009133 fix max trade query ordering and sql query ordering for query last 2021-02-25 13:55:04 +08:00
c9s
14830c442c refactor and implement reward sync and query 2021-02-23 22:53:00 +08:00
c9s
eaad414706 adjust max api call rate limiting 2021-02-22 15:01:05 +08:00
c9s
dd13b9a8bf remove start time query condition for trade sync since starting from trade id = 1 works 2021-02-19 14:18:50 +08:00
c9s
3a89b0a714 improve trade sync 2021-02-18 18:20:18 +08:00
c9s
654ad62f36 remove type assert 2021-02-18 17:42:14 +08:00
c9s
0ba595bd55 Fix trade sync for self trades
MAX uses one single trade for presenting self trade.

BINANCE uses two trade records for presenting self trade. the trade
creation time are the same.
2021-02-18 17:37:49 +08:00