Commit Graph

18 Commits

Author SHA1 Message Date
c9s
5e1e0c7661
service/backtest: check and filter kline by its endTime 2022-08-19 17:28:55 +08:00
c9s
0715437cc5
fix lastRecordTime
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-26 13:23:04 +08:00
c9s
cace7c8f97
sync: add more debug logs 2022-06-24 17:14:30 +08:00
c9s
4f42f90b49
service: update id map when inserting record 2022-06-24 16:49:41 +08:00
c9s
1587630b7b
service: pull out record to a var 2022-06-24 15:27:51 +08:00
c9s
a78119b9ca
fix time range checking 2022-06-23 17:51:45 +08:00
c9s
4556e501da
batch: fix time range checking 2022-06-23 17:49:28 +08:00
c9s
bf0186cf55
fix batch buffer size check
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-19 17:36:28 +08:00
c9s
53e74b6262
fix timezone issue for sqlite and mysql 2022-06-07 00:48:13 +08:00
c9s
022775d0a2
service: use batch insert for kline 2022-06-06 17:21:31 +08:00
c9s
a6d18a87f5
fix: batch query exit issue
- remove errC case (this channel is closed earlier)
- add empty data range test case for finding missing time range
2022-06-06 13:25:11 +08:00
c9s
e1225d4127
add log insert option for sync 2022-06-06 12:24:18 +08:00
c9s
a7bd9239f2
fix: pull out time.now variable 2022-06-02 21:27:28 +08:00
c9s
824951c3d5
batch: add remote query profiler 2022-06-02 16:52:34 +08:00
c9s
a878f35ca1
improve and fix kline sync 2022-06-02 16:52:33 +08:00
c9s
d6f144069d
service: refactor closed order sync method 2022-06-02 02:12:38 +08:00
c9s
415450acb7
service/sync: add onLoad event support 2022-06-01 19:40:29 +08:00
c9s
279e4d8682
service: refactor sync task 2022-06-01 12:02:15 +08:00