Commit Graph

137 Commits

Author SHA1 Message Date
c9s
5c88abe72f
add rsicross strategy 2023-07-09 21:23:42 +08:00
c9s
a13ad2f6ab
fix: avoid global persistenceServiceFacade concurrent write 2023-04-26 00:37:13 +08:00
c9s
a9b0270390
bbgo: add context to LoadState 2023-04-25 18:30:23 +08:00
c9s
2fbe90b1e7
bbgo: fix: pass isolated context to SaveState() call 2023-03-15 22:50:50 +08:00
c9s
2378951c85
bbgo: should get isolation from the ctx when saving state 2023-03-15 22:47:40 +08:00
zenix
17825fbde1 fix: rate settings in telegram, make elliottwave draw async 2022-10-27 17:35:50 +09:00
zenix
675f84dccf fix: SerialMarketDataStore together with backtests 2022-10-27 17:35:50 +09:00
c9s
2b953ad2d1
bbgo: make PersistenceServiceFacade private 2022-10-03 18:46:02 +08:00
c9s
f7e76c0518
all: remove bbgo.Persistence 2022-10-03 18:37:53 +08:00
c9s
4a37273065
bbgo: remove Persistence injection 2022-10-03 16:31:04 +08:00
c9s
59287b5116
all: support context isolation 2022-10-03 16:01:08 +08:00
c9s
a940e88016
add IsolationContext 2022-10-03 15:33:46 +08:00
c9s
77ca1a9c75
bbgo: register onShutdown from the trader 2022-10-03 15:33:46 +08:00
c9s
76b0f5518d
bbgo: let trader handles the shutdown handlers 2022-10-03 15:33:46 +08:00
c9s
c86b29e6dc
all: resolve import cycle 2022-08-23 02:12:26 +08:00
zenix
5e7ea71613 feature: withdraw print config functionality from drift to be a general function 2022-08-18 17:38:27 +09:00
c9s
3959e288fd
all: refactor standard indicator helper and fix tests 2022-07-26 18:35:50 +08:00
c9s
de62d9dd67
bbgo: fix injection 2022-07-21 12:33:29 +08:00
c9s
c78ba6a539
bbgo: fix strategy struct field injection phase 2022-07-21 12:18:09 +08:00
c9s
ab83805b34
bbgo: add StrategyShutdown interface 2022-07-19 17:13:35 +08:00
c9s
8af2f2f83f
add defaulter interface 2022-07-19 16:59:56 +08:00
c9s
910c17a567
dynamic: implement CallWithMatch for dynamic calls
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-07-01 13:09:30 +08:00
c9s
527070d13d
all: rewrite and clean up graceful shutdown api 2022-06-30 15:49:18 +08:00
c9s
cf0ca70d24
move and rename isSymbolBasedStrategy 2022-06-30 15:49:18 +08:00
c9s
3013eeccc7
move dynamic stuff to the pkg/dynamic package 2022-06-30 15:49:18 +08:00
c9s
7c9ad535fd
bbgo: call global persistence facade to sync data 2022-06-21 14:32:43 +08:00
c9s
58c819bd75
bbgo: pull out PersistenceServiceFacade to singleton 2022-06-21 01:05:13 +08:00
c9s
eacd1f1ae6
all: rewrite notification api
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-19 12:29:36 +08:00
zenix
a5ffca7fe8 fix: gosimple alert 2022-06-17 20:19:51 +09:00
c9s
68d6e9e850
service: fix state loading (use correct ID method) 2022-06-03 03:10:50 +08:00
c9s
7b17b1a757
integrate state recorder 2022-05-10 13:31:23 +08:00
c9s
7378c63cb7
cmd: call SaveState and LoadState for normal run 2022-05-05 14:28:42 +08:00
c9s
57c43936d6
ignore service.ErrPersistenceNotExists error 2022-05-05 14:04:44 +08:00
c9s
21f81dec29
implement reflect-based persistence restore and load 2022-05-05 12:53:48 +08:00
c9s
18eab1fbd3
move graceful shutdown to a single file 2022-05-05 09:56:21 +08:00
c9s
b1559bcbe3 fix persistence injection 2022-03-14 21:21:43 +08:00
c9s
917684aa27 bbgo: inject environment object 2022-03-06 18:28:40 +08:00
c9s
b1ba5386b3 fix bbgo.Notifiability injection 2022-03-06 16:09:15 +08:00
c9s
3a15738fec pull out default persistence selector 2022-03-06 14:06:19 +08:00
c9s
1f1c26a9e5 bbgo: inject more service objects 2022-03-05 13:37:27 +08:00
c9s
c1ac738ca0 bbgo: add doc comment for parseStructAndInject 2022-03-05 12:59:47 +08:00
c9s
bdcae5b763 bbgo: add more injection types 2022-03-05 12:49:53 +08:00
c9s
47023729ec bbgo: rewrite field injection 2022-03-05 12:39:39 +08:00
c9s
a6053e0e59 bbgo: move inject function to injection.go 2022-03-05 03:20:20 +08:00
c9s
cd6b37ac3b bbgo: skip unexported fields for injection 2022-03-05 03:19:45 +08:00
c9s
fa7bab2c3a bbgo: improve dynamic injection 2022-03-05 02:51:43 +08:00
c9s
db4d8a31bc bbgo: implement parseStructAndInject 2022-03-05 02:33:25 +08:00
c9s
2255f3ed0a bollmaker: check dust order for stop 2022-01-29 17:44:42 +08:00
c9s
99af5d3971 bollmaker: implement TrailingStopController 2022-01-29 02:22:20 +08:00
c9s
93722e6db3 implement position closer interaction 2022-01-15 02:52:46 +08:00