zenix
1eb03c3dba
fix: taker price, matching engine kline emit order and process order, nan in sortino and sharpe
2022-08-29 14:11:02 +09:00
c9s
5d85ceeec4
service/backtest: filter klines that will be closed in the future
2022-08-19 17:55:48 +08:00
c9s
49728622bc
service/backtest: use second instead of milliseconds for filtering
2022-08-19 17:53:45 +08:00
c9s
5e1e0c7661
service/backtest: check and filter kline by its endTime
2022-08-19 17:28:55 +08:00
c9s
0284d090d8
all: move getExchangeAttributes
2022-07-14 17:36:16 +08:00
c9s
6e562e2ede
increase batch insert size to 1000 for klines
...
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-19 17:41:52 +08:00
zenix
a5ffca7fe8
fix: gosimple alert
2022-06-17 20:19:51 +09:00
c9s
e117cc4157
optimize single symbol query for kline query
2022-06-09 15:50:23 +08:00
c9s
e023d0be5b
service: rewrite kline sync check
2022-06-08 15:10:43 +08:00
c9s
46a008bea5
move batch insert back
2022-06-07 12:28:11 +08:00
c9s
a4807d6594
fix tests
2022-06-07 01:21:27 +08:00
c9s
53e74b6262
fix timezone issue for sqlite and mysql
2022-06-07 00:48:13 +08:00
c9s
b32b852303
service: fix FindMissingTimeRanges until check
2022-06-06 18:15:36 +08:00
zenix
c7eb065995
fix: close / rollback queries/transactions on error
2022-06-06 18:57:24 +09:00
c9s
022775d0a2
service: use batch insert for kline
2022-06-06 17:21:31 +08:00
c9s
da6a209fd7
service: set PRAGMA for sqlite3
2022-06-06 14:53:37 +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
74f7e4181a
service: improve missing time range log
2022-06-06 12:15:06 +08:00
c9s
0a6deed305
service: fix QueryExistingDataRange
2022-06-06 11:46:18 +08:00
c9s
a2cfea8acb
service: add stringer to TimeRange
2022-06-06 06:27:45 +08:00
c9s
be644bb91f
fix s.SyncKLineByInterval call
2022-06-06 06:24:25 +08:00
c9s
f65b343ea6
service: clean up Verify method signature
2022-06-06 06:24:25 +08:00
c9s
41191c4db5
service: rewrite backtest verify
2022-06-06 06:24:24 +08:00
c9s
4b582830f0
remove timepoint map
2022-06-05 01:57:40 +08:00
c9s
39fcf1a51b
refactor sync command and add integration tests
2022-06-05 01:01:59 +08:00
c9s
425f8674d2
service: add kline partial sync
2022-06-04 19:15:11 +08:00
c9s
bf4d8d345e
service/backtest: implement backfill and time range scanner
2022-06-04 11:47:55 +08:00
c9s
9083881442
refactor exchange factory and solve the incorrect pkg import dependency from ftx
2022-06-04 11:47:55 +08:00
c9s
a7bd9239f2
fix: pull out time.now variable
2022-06-02 21:27:28 +08:00
c9s
a2c7ebe90c
drop unused function
2022-06-02 17:24:54 +08:00
c9s
16322e19fe
service: set kline time to UTC
2022-06-02 16:53:17 +08:00
c9s
a878f35ca1
improve and fix kline sync
2022-06-02 16:52:33 +08:00
c9s
e66eb08db4
batch: refactor batch query
2022-05-31 00:59:33 +08:00
c9s
7add014a2b
service: use upper case sql keywords
2022-05-30 18:11:17 +08:00
zenix
e81216e678
fix: TP compare direction in ewo, feature: add trade report fro ewo, fix: db lock on insertion in sqlite3
2022-05-25 16:11:19 +09:00
c9s
b9f0159537
add error handling
2022-05-20 18:57:41 +08:00
c9s
11d0823782
cmd: refactor back-test command
2022-05-11 13:59:44 +08:00
c9s
cf6da76ef0
service: add kucoin_klines to backtest insert table mapping
2021-12-26 02:40:13 +08:00
TonyQ
f62235b94e
backtest : finetune for kline scan logic to prevent hanging for
...
query
2021-12-21 20:44:20 +08:00
TonyQ
711575c6d0
backtest : fix auto sync missing the part from last db kiline to
...
end time
2021-12-19 12:14:18 +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
f1e3cc6049
add strict start time, sync time checking for preventing back-test failure
...
related to #311
2021-12-07 15:21:37 +08:00
c9s
30c7c34826
bbgo: fix kline backward query for backtest
2021-10-16 13:49:00 +08:00
c9s
b5c4fc3e4e
fix kline record insert fields
2021-06-01 01:39:23 +08:00
c9s
002b28f75a
okex: implement candlestick api and improve kline console format
2021-05-28 20:51:10 +08:00
c9s
ee68deb114
apply limit param to the queries
2021-05-08 00:57:25 +08:00