Commit Graph

10 Commits

Author SHA1 Message Date
kbearXD
0faef68fbf use types.PriceVolume 2024-05-21 16:06:02 +08:00
kbearXD
6676e1e452 FEATURE: [dca2] store price quantity pairs of the open-position orders into persistence 2024-05-20 14:37:23 +08:00
chiahung.lin
dfb65ba9e3 [dca2] add dev mode field for dev
use pointer

IsNewStrategy -> IsNewAccount

[dca2] recover at cancelling stage

new var recoverSinceLimit

fix profit stats round bug
2024-02-05 16:19:53 +08:00
chiahung.lin
d13d882fc4 remove unused log
remove running field
2024-01-23 15:53:20 +08:00
chiahung.lin
1b33308450 fix bug and new field running to help to test 2024-01-18 15:39:56 +08:00
chiahung.lin
a363377c26 [dca2] new struct profit stats and its recover 2024-01-17 15:22:03 +08:00
chiahung.lin
6e661c805a fix 2024-01-10 14:37:07 +08:00
chiahung.lin
d3bc37f45e use CommonCallback and pull PersistenceTTL out 2024-01-09 16:01:10 +08:00
chiahung.lin
21e87079b5 FEATURE: ProfitStats for dca2 2024-01-08 18:25:11 +08:00
chiahung.lin
faaaaabce3 FEATURE: rename and use specific profit stats 2024-01-08 18:25:11 +08:00