Commit Graph

12 Commits

Author SHA1 Message Date
chiahung.lin
0d6c6666a1 fix 2024-01-08 18:25:11 +08:00
chiahung.lin
b965dbe757 use OrderExecutor.GracefulCancel to replace cancelAllOrders 2024-01-08 18:25:11 +08:00
chiahung.lin
05870c5d60 move EmitReady and add go:generate 2024-01-08 18:25:11 +08:00
chiahung.lin
006256a9df FEATURE: add callbacks and shutdown function 2024-01-08 18:25:11 +08:00
chiahung.lin
57282c30d2 FEATURE: remove Short 2023-12-28 23:04:09 +08:00
chiahung.lin
b30b023858 FEATURE: check every cuerrent state and next state is valid 2023-12-22 15:27:31 +08:00
chiahung.lin
bfd9c8ac64 FEATURE: run state machine
FEATURE: support recover

FEATURE: add order into orderStore and recover position

recover position/budget

FEATURE: support recover budget
2023-12-20 16:02:37 +08:00
chiahung.lin
eda072327c FIX: move common.Strategy to Initialize 2023-12-18 14:48:13 +08:00
chiahung.lin
e86b1bb90f REFACTOR: make all common.Strategy from pointer to value 2023-12-13 17:36:30 +08:00
chiahung.lin
e3d51777d3 rename 2023-12-13 14:16:02 +08:00
chiahung.lin
800148b271 remain only template part 2023-11-23 16:45:28 +08:00
chiahung.lin
aea3abae07 FEATURE: new strategy dca2 perparation 2023-11-23 16:32:34 +08:00