Commit Graph

7060 Commits

Author SHA1 Message Date
c9s
74daa76e75
grid2: fix grid num calculation 2023-01-16 18:34:08 +08:00
zenix
0b71f2f1d2 fix: query price range from volume profile trades on every updates. will make it slower on updates 2023-01-16 12:37:51 +09:00
Fredrik
c8f934cafb Rename variables 2023-01-15 10:25:22 +01:00
Fredrik
f1fbf537c4 Added functions to supertrend 2023-01-14 18:13:18 +01:00
Fredrik
96405658c9 Added indicators 2023-01-14 18:13:18 +01:00
zenix
746279d0a7 Fix klingerOscillator, add test for it 2023-01-12 19:37:36 +09:00
Yo-An Lin
915f1b7b5a
Merge pull request #1049 from c9s/feature/grid2-metrics
feature: grid2: make OpenGrid, CloseGrid api public
2023-01-12 14:47:10 +08:00
c9s
46eb590a9f
grid2: OpenGrid, CloseGrid 2023-01-12 14:33:09 +08:00
Yo-An Lin
65bb4eb244
Merge pull request #1048 from c9s/feature/grid2-metrics
feature: grid2: integrate prometheus metrics
2023-01-11 00:56:13 +08:00
c9s
668bf2d847
grid2: remove strategyInstance since we have custom labels 2023-01-11 00:47:36 +08:00
c9s
0d47afd5fd
grid2: add order side to the metrics label 2023-01-10 21:41:10 +08:00
c9s
75919a0bf1
grid2: reset metricsGridOrderPrices 2023-01-10 21:21:35 +08:00
c9s
857b5d0f30
grid2: integrate prometheus metrics 2023-01-10 20:15:51 +08:00
Yo-An Lin
9ee4fa0064
Merge pull request #1047 from c9s/narumi/add-rsi
feature: add RSI to StandardIndicatorSet
2023-01-07 19:25:56 +08:00
Yo-An Lin
42977c52ad
Merge pull request #1043 from c9s/feature/redis-ns
feature: service: add redis namespace support
2023-01-05 19:17:15 +08:00
c9s
5765969573
service: add redis namespace support 2023-01-05 19:07:15 +08:00
なるみ
5ccdab34be add RSI to StandardIndicatorSet 2023-01-05 18:36:09 +08:00
Yo-An Lin
f03cc3c5de
Update README.md 2022-12-30 07:47:09 +08:00
Yo-An Lin
02862e0e96
Merge pull request #1036 from c9s/narumi/create-log-dir 2022-12-28 17:25:07 +08:00
なるみ
a238da3dc4 create log dir to avoid error 2022-12-28 17:15:30 +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