c9s
|
17d57502f1
|
add dbg package for debugging functions
|
2024-10-28 15:03:10 +08:00 |
|
kbearXD
|
1d0b4e5cb8
|
FEATURE: [dca2] make the take-profit order of round from order to orders
|
2024-05-30 15:53:44 +08:00 |
|
kbearXD
|
7134f51d38
|
FEATURE: [dca2] change state recovery logic
|
2024-05-24 15:12:27 +08:00 |
|
kbearXD
|
0faef68fbf
|
use types.PriceVolume
|
2024-05-21 16:06:02 +08:00 |
|
kbearXD
|
0396fc19fd
|
FEATURE: [dca2] make QueryOrderTradesUntilsuccessful take feeProcessing into consideration
|
2024-04-29 15:59:52 +08:00 |
|
kbearXD
|
2f3e0044c1
|
MINOR: [dca2] refactor and make open-position interval longer
|
2024-04-16 13:38:14 +08:00 |
|
kbearXD
|
70a10582fa
|
FEATURE: recollect position before placing the take-profit order
|
2024-04-15 16:25:56 +08:00 |
|
kbearXD
|
553976449d
|
FEATURE: [dca2] when all open-position orders are filled, place the take-profit order
|
2024-03-26 15:52:04 +08:00 |
|
kbearXD
|
a23c476ce8
|
dca2: new struct RoundCollector for testing and use flag to decide recovery
|
2024-03-15 18:41:46 +08:00 |
|
kbearXD
|
2b52211c1c
|
new function IsFilledOrderState for maxapi
|
2024-03-14 16:18:12 +08:00 |
|
kbearXD
|
91123edbd6
|
dca2: must calculate and emit profit at the end of the round
|
2024-03-14 14:32:41 +08:00 |
|
kbearXD
|
8e224739de
|
sync active orders and send metrics of order nums
|
2024-03-04 20:53:15 +08:00 |
|
chiahung.lin
|
5936cf32c7
|
FEATURE: add metrics for dca2
add log to debug
|
2024-03-04 20:53:15 +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
|
a363377c26
|
[dca2] new struct profit stats and its recover
|
2024-01-17 15:22:03 +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 |
|
chiahung.lin
|
57282c30d2
|
FEATURE: remove Short
|
2023-12-28 23:04:09 +08:00 |
|
chiahung.lin
|
59b1bb68cb
|
use stateTransition
|
2023-12-27 11:41:29 +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 |
|