c9s
|
620e465bcf
|
refactor symbol report
|
2022-05-17 22:31:50 +08:00 |
|
c9s
|
b5f9f86944
|
define DefaultBacktestAccount
|
2022-05-17 18:45:06 +08:00 |
|
c9s
|
6acd426f07
|
refactor backtest report index function
|
2022-05-17 18:25:05 +08:00 |
|
c9s
|
1cc4c69c66
|
move and refactor functions
|
2022-05-17 18:23:09 +08:00 |
|
c9s
|
6c0165afe4
|
add report index file
|
2022-05-17 18:10:37 +08:00 |
|
c9s
|
f99e874072
|
add tsv writer
|
2022-05-17 01:33:43 +08:00 |
|
c9s
|
0ae8c295e2
|
refactor csv writer
|
2022-05-11 14:58:52 +08:00 |
|
c9s
|
e947a05cbd
|
add defer close
|
2022-05-11 14:37:45 +08:00 |
|
c9s
|
479de002a6
|
record equity curve
|
2022-05-11 14:36:18 +08:00 |
|
c9s
|
11d0823782
|
cmd: refactor back-test command
|
2022-05-11 13:59:44 +08:00 |
|
c9s
|
6e1f9d6a4e
|
add backtest exchange to the kline handler function
|
2022-05-10 19:10:16 +08:00 |
|
c9s
|
5f68064ac6
|
pull out writeJsonFile function
|
2022-05-10 18:27:23 +08:00 |
|
c9s
|
6fbb082d5f
|
support manifest json encoding in backtest report
|
2022-05-10 14:05:44 +08:00 |
|
c9s
|
7b17b1a757
|
integrate state recorder
|
2022-05-10 13:31:23 +08:00 |
|
c9s
|
2ddff59de6
|
add report header
|
2022-05-10 01:10:36 +08:00 |
|
c9s
|
f4991dbbfa
|
fix time printing
|
2022-05-10 01:09:40 +08:00 |
|
c9s
|
f6d95a49be
|
print start time and end time
|
2022-05-10 01:07:30 +08:00 |
|
c9s
|
5b443f0aeb
|
add start time and end time to the report struct
|
2022-05-10 01:06:16 +08:00 |
|
c9s
|
6965baa8dd
|
cmd: add directory error checking
|
2022-05-09 19:40:49 +08:00 |
|
c9s
|
bff73a3a80
|
format backtest report session name
|
2022-05-09 19:27:02 +08:00 |
|
c9s
|
428e208120
|
cmd: add backtest --session option to make it backward compatible
|
2022-05-09 19:14:24 +08:00 |
|
c9s
|
0780dafdc3
|
add IsBackTesting method for checking environment mode
|
2022-05-09 18:58:09 +08:00 |
|
c9s
|
234932bc0c
|
add kline dumper
|
2022-05-09 18:03:03 +08:00 |
|
c9s
|
6f16f32e16
|
optimize single exchange back-test
|
2022-05-09 17:03:01 +08:00 |
|
Yo-An Lin
|
9c08bea065
|
Fix accounts field
|
2022-05-03 17:32:10 +08:00 |
|
c9s
|
f2edd24029
|
add --sync-exchange option to override backtest sync exchanges
|
2022-05-03 12:12:39 +08:00 |
|
c9s
|
18da434e92
|
all: use thread-safe GetAccount method to get account
|
2022-04-23 15:43:11 +08:00 |
|
zenix
|
d0c3390f84
|
fix log message to be lowercases
|
2022-04-11 17:04:56 +09:00 |
|
zenix
|
fac61f27dc
|
feature: add pinescript series interface
|
2022-04-11 17:04:56 +09:00 |
|
c9s
|
830503941e
|
cmd: fix backtest sync
|
2022-04-10 00:57:55 +08:00 |
|
c9s
|
e51fb641af
|
backtest: show symbols
|
2022-04-10 00:57:55 +08:00 |
|
zenix
|
77a88aabe4
|
feature: add CancelOrders and CancelOrdersTo to executor
|
2022-03-16 21:38:09 +09:00 |
|
zenix
|
7e92f0f4e5
|
fix: remove requirements on config flag
|
2022-03-11 19:56:59 +09:00 |
|
zenix
|
25b5eddc03
|
feature: add multiple exchange support in backtest
fix: change doc, since --exchange removed from backtest
fix: test for config changes
|
2022-03-07 13:18:56 +09:00 |
|
zenix
|
8648528435
|
fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests
|
2022-02-15 14:55:19 +09:00 |
|
zenix
|
05521a98b6
|
add skeleton strategy. fix most of the tests. fix final asset value
|
2022-02-15 12:01:39 +09:00 |
|
zenix
|
abc1d535d8
|
fix bollmaker, fix pnl issues
|
2022-02-15 12:01:39 +09:00 |
|
c9s
|
bf8558e9ad
|
bollmaker: add BuyBelowNeutralSMA option
|
2022-02-01 01:40:51 +08:00 |
|
c9s
|
17187c70e7
|
cmd: print realized profit in colored text
|
2022-02-01 01:05:11 +08:00 |
|
c9s
|
c0beca78f5
|
include terminal color for back-test report
|
2022-02-01 01:00:26 +08:00 |
|
c9s
|
82adff338e
|
cmd/backtest: calculate performance in quote asset
|
2022-02-01 00:54:55 +08:00 |
|
c9s
|
007207e24f
|
all: use types.LooseFormatTime to parse loose format date time string
|
2022-01-25 00:24:12 +08:00 |
|
c9s
|
dd22776a7e
|
cmd: refactor the exchange factory function
|
2021-12-25 23:27:05 +08:00 |
|
c9s
|
442afe8eb9
|
backtest: pull out market data feeding to a function and call it in the main thread
|
2021-12-25 22:57:28 +08:00 |
|
c9s
|
49e516b80e
|
backtest: allocate public exchange (with empty key secret) for backtesting
|
2021-12-24 00:24:19 +08:00 |
|
c9s
|
f5bbe29ac6
|
cmd: fix debug flag loading and add debug log to cache function
|
2021-12-23 23:02:07 +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
|
06262f0172
|
check sync from time with start time instead of end time
|
2021-12-09 15:57:12 +08:00 |
|