Commit Graph

33 Commits

Author SHA1 Message Date
c9s
e92219194f
bbgo: configure persistence facade into the isolation context 2022-10-05 18:48:12 +08:00
c9s
673304bcf1
bbgo: refactor ConfigurePersistence 2022-10-05 18:46:26 +08:00
c9s
4caa457fbe
bbgo: pull out ConfigurePersistence method to simple function 2022-10-05 18:42:55 +08:00
c9s
a8d9911e36
bbgo: refactor isolation and add more tests 2022-10-04 17:23:43 +08:00
c9s
2b953ad2d1
bbgo: make PersistenceServiceFacade private 2022-10-03 18:46:02 +08:00
c9s
8a50474ad1
all: add context parameter to Sync() 2022-10-03 18:45:24 +08:00
c9s
f7e76c0518
all: remove bbgo.Persistence 2022-10-03 18:37:53 +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
3013eeccc7
move dynamic stuff to the pkg/dynamic package 2022-06-30 15:49:18 +08:00
c9s
6ef54bf2fb
call bbgo.Sync to sync persistence 2022-06-22 13:46:03 +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
221a2d9dc7
fix persistence: calling type method on z zero value 2022-06-05 01:09:31 +08:00
c9s
68d6e9e850
service: fix state loading (use correct ID method) 2022-06-03 03:10:50 +08:00
c9s
55e9c7ee25
add more test on Test_loadPersistenceFields 2022-06-03 01:57:39 +08:00
c9s
0b6f7270ff
fix: drop IsZero 2022-06-03 01:15:08 +08:00
austin362667
f9bb2ae149 bbgo: fix persistence reflect IsZero check 2022-06-01 21:57:35 +08:00
c9s
82c7c024ce
bbgo: add persistence Sync api 2022-05-05 18:18:38 +08:00
c9s
f3691489dd
add state key as the prefix 2022-05-05 18:18:38 +08:00
c9s
57c43936d6
ignore service.ErrPersistenceNotExists error 2022-05-05 14:04:44 +08:00
c9s
57a9647401
add more test case and simplify return stmt 2022-05-05 13:16:46 +08:00
c9s
4cf1f0a91a
add func type StructFieldIterator 2022-05-05 13:06:02 +08:00
c9s
30c85d2969
pull out callID method call 2022-05-05 13:05:01 +08:00
c9s
21f81dec29
implement reflect-based persistence restore and load 2022-05-05 12:53:48 +08:00
c9s
b1559bcbe3 fix persistence injection 2022-03-14 21:21:43 +08:00
Kakashi Liu
cd85edd64d Fix: fallback to memory persistence if redis not found
resolve #438
Fix bollmaker backtest error
2022-01-22 00:55:03 +08:00
c9s
a95c3b94a0 core: set default store ID 2021-03-18 17:20:07 +08:00
c9s
fa4e813729 resolve cyclic imports 2021-02-21 01:01:39 +08:00
c9s
12ed5a1efe move persistence service into the service package 2021-02-21 00:45:56 +08:00
c9s
4addf65f64 support memory persistence 2020-12-07 12:03:56 +08:00
c9s
2d98336fb6 implement Persistent API for strategy 2020-12-07 11:44:41 +08:00
c9s
341f735bc3 configure ConfigurePersistence if it's defined 2020-12-07 11:44:41 +08:00