Commit Graph

6236 Commits

Author SHA1 Message Date
c9s
892d4cfd1d
indicator: collect pivotlow klines 2022-12-30 19:06:23 +08:00
c9s
bea5b27402
floats: add Min and Max 2022-12-30 19:05:05 +08:00
Yo-An Lin
e6d4faea6a
Merge pull request #1035 from c9s/feature/grid2 2022-12-26 22:02:50 +08:00
c9s
c9a70d9897
grid2: add grid callbacks 2022-12-26 18:15:39 +08:00
c9s
d9312abba2
grid2: adjust maxTries to 5 2022-12-26 18:08:36 +08:00
c9s
a4f5d15334
grid2: adjust rollback duration to twice 2022-12-26 18:05:35 +08:00
Yo-An Lin
5bb590faec
Merge pull request #1034 from c9s/feature/grid2
strategy: grid2: use initial order ID to query closed order history to recover grid
2022-12-26 16:14:13 +08:00
c9s
a66cee9130
util: remove unused func 2022-12-26 16:05:21 +08:00
c9s
c07c3c62a9
util: remove unused NotZero funcs 2022-12-26 01:51:32 +08:00
c9s
ecf5ed3c85
remove empty render.go 2022-12-26 01:50:25 +08:00
c9s
e9ff0dcc66
types: fix lint issue 2022-12-26 01:49:46 +08:00
c9s
2d2d194bda
grid2: fix InstanceID for autoRange 2022-12-26 01:40:59 +08:00
c9s
8af7d6f457
grid2: use initial grid order id to query closed order history 2022-12-26 01:35:37 +08:00
c9s
6444fd5e03
grid2: remove default profit stats 2022-12-26 01:24:56 +08:00
Yo-An Lin
b5aba37809
Merge pull request #1033 from c9s/feature/grid2
strategy: grid2: improve recovering process [part 3]
2022-12-26 01:23:41 +08:00
c9s
0a6261b6b9
grid2: split more files 2022-12-26 01:04:17 +08:00
c9s
24f0f40fad
config: add autoRange config doc 2022-12-26 01:00:15 +08:00
c9s
961725f03c
grid2: support autoRange 2022-12-26 00:56:03 +08:00
c9s
54b4f593ec
grid2: validate upper price and lower price only when autoRange is not given 2022-12-26 00:29:31 +08:00
c9s
579df0cec9
types: add simple duration tests 2022-12-25 16:08:34 +08:00
c9s
f60b4630c5
grid2: add AutoRange parameter 2022-12-24 20:39:11 +08:00
c9s
d27786d5ae
types: always use pointer on duration 2022-12-24 20:39:01 +08:00
c9s
4388bc209b
types: add simple duration type for parsing [0-9]+[wd] 2022-12-24 20:37:53 +08:00
c9s
e0daf9904e
grid2: add recover time range rollback 2022-12-24 17:08:50 +08:00
c9s
cb2d9d7eb2
grid2: fix replayOrderHistory logic 2022-12-24 16:14:39 +08:00
c9s
6b75150983
refactor order related functions into core api 2022-12-24 15:58:02 +08:00
c9s
a46b3fe908
grid2: improve debugGrid func 2022-12-24 14:52:08 +08:00
c9s
8e20a55060
grid2: refactor recover functions to replayOrderHistory and reuse scanMissingPinPrices 2022-12-24 14:48:47 +08:00
c9s
1be5c11577
add v1.43.1 release note 2022-12-24 01:29:05 +08:00
c9s
53b2a0d7ab
bump version to v1.43.1 2022-12-24 01:29:05 +08:00
c9s
d18535bfb8
update command doc files 2022-12-24 01:29:05 +08:00
Yo-An Lin
b7f3d4f197
Merge pull request #1032 from c9s/feature/grid2
strategy: grid2: recover grid orders [part 2]
2022-12-24 01:28:10 +08:00
c9s
216bdb891f
grid2: skip canceled orders 2022-12-24 01:08:28 +08:00
c9s
3d9b919e24
grid2: fix grid recovering 2022-12-24 00:54:40 +08:00
c9s
8715d0aca9
grid2: prevent infinite loop 2022-12-23 23:50:30 +08:00
c9s
ae20cef8f4
grid2: add scanOrderCreationTimeRange func 2022-12-23 23:41:36 +08:00
c9s
606b4650b3
grid2: add RecoverOrdersWhenStart and fix grid recover logic 2022-12-23 19:15:46 +08:00
c9s
6bcf5f8f82
bbgo: improve active order book printing 2022-12-23 18:19:00 +08:00
c9s
fedb67171a
config: update grid2 config example 2022-12-23 18:18:45 +08:00
c9s
882c56a820
grid2: add RecoverWhenStart option 2022-12-23 17:54:30 +08:00
c9s
8a45fe522e
grid2: pull out session dependency from the recoverGrid method 2022-12-23 16:48:40 +08:00
c9s
c721274adc
grid2: implement scanMissingGridOrders 2022-12-23 15:35:26 +08:00
Yo-An Lin
74f93f80fa
Update README.md 2022-12-23 13:14:47 +08:00
c9s
3e87cbb83a
add v1.43.0 release note 2022-12-23 13:08:06 +08:00
c9s
28beca18e1
bump version to v1.43.0 2022-12-23 13:08:06 +08:00
c9s
006ac7c2b3
update command doc files 2022-12-23 13:08:05 +08:00
Yo-An Lin
8bcfb78bc0
Merge pull request #1030 from c9s/feature/grid2
WIP: Feature/grid2
2022-12-23 12:59:43 +08:00
c9s
bf87d04d57
binance: change rate limit unit to minute 2022-12-22 19:07:55 +08:00
Che-Chia (David) Chang
ed1c5c82cb
Merge pull request #1031 from chechiachang/feature/push-to-quay-io
feature: push to quay.io
2022-12-22 14:59:49 +08:00
c9s
1ea72099ed
service: fix margin sync with asset condition 2022-12-22 14:10:35 +08:00