Commit Graph

7575 Commits

Author SHA1 Message Date
c9s
2a462c8e32
maxapi: update margin repay/load apis 2023-05-04 14:43:19 +08:00
c9s
70e3f8ec5f
max: split v3 api into files 2023-05-04 14:37:19 +08:00
c9s
f686a6de83
add v1.47.0 release note 2023-05-04 13:53:20 +08:00
c9s
b31a2994de
bump version to v1.47.0 2023-05-04 13:53:20 +08:00
c9s
b8f599c8c3
update command doc files 2023-05-04 13:53:20 +08:00
Yo-An Lin
30d82b1ea2
Merge pull request #1165 from RicoToothless/fix/supertrend/config-error 2023-04-29 02:18:17 +08:00
ricotoothless
38a7f18b32
FIX: supertrend config type error 2023-04-29 02:01:52 +08:00
Yo-An Lin
9db62ed0fc
Merge pull request #1164 from c9s/fix/grid2/trade-fee
FIX: [grid2] apply defensive programming on the order quantity
2023-04-28 16:26:20 +08:00
c9s
829edeb401
grid2: improve warning message 2023-04-28 16:16:23 +08:00
c9s
f958120fb5
grid2: remove the len check since we just iterate 2023-04-28 16:12:57 +08:00
c9s
717de67d5a
grid2: improve log and try best to return the order fee 2023-04-28 16:07:03 +08:00
c9s
5a901e929c
grid2: apply defensive programming on the order quantity 2023-04-28 16:02:28 +08:00
Yo-An Lin
32543c3773
Merge pull request #1162 from c9s/fix/profit-fixer
FIX: [grid2] emit grid profit after profit stats fix
2023-04-27 00:45:11 +08:00
c9s
32b2c43198
grid2: emit grid profit after profit stats fix 2023-04-27 00:33:42 +08:00
c9s
46a6d896a2
grid2: improve the if err syntax 2023-04-26 23:48:02 +08:00
c9s
0c72ac2386
grid2: fix typo 2023-04-26 23:37:20 +08:00
c9s
b358cec235
grid2: check if profitStats.Since.IsZero 2023-04-26 23:36:53 +08:00
c9s
f1919a2b43
grid2: check profitStats.Since for the since time range 2023-04-26 23:34:56 +08:00
c9s
2efdee9347
grid2: add timeout context to the fixer 2023-04-26 23:30:09 +08:00
c9s
bd5e98e543
grid2: add more log 2023-04-26 23:07:01 +08:00
Yo-An Lin
df236e4342
Merge pull request #1158 from c9s/improve/order-json-size
IMPROVE: types: improve order struct json size
2023-04-26 22:43:35 +08:00
Yo-An Lin
a3f7e29321
Merge pull request #1161 from c9s/fix/grid2/profit-fixer-init-order-id
FIX: [grid2] add initialOrderID check and try to fix profitStats.Since
2023-04-26 22:33:22 +08:00
c9s
68974bc0b4
grid2: fix profitstats.Since when possible 2023-04-26 22:10:45 +08:00
c9s
55c84e005b
grid2: add one more check for profitStats.InitialOrderID 2023-04-26 22:06:53 +08:00
Yo-An Lin
8c53346020
Merge pull request #1160 from c9s/fix/profit-fixer
FIX: [grid2] add profit fixer and options
2023-04-26 18:17:30 +08:00
c9s
77f6c6bb46
bbgo: lock strategy before we sync data 2023-04-26 18:07:29 +08:00
c9s
036bae692e
grid2: move emitGridReady to earlier 2023-04-26 18:07:29 +08:00
c9s
e8a761e331
grid2: add profitFixer and tests 2023-04-26 17:25:31 +08:00
Andy Cheng
4b2c5198fa
strategy/supertrend: add strategy parameter fields in profit report 2023-04-26 10:32:43 +08:00
Yo-An Lin
d0ea7d8b47
Merge pull request #1159 from c9s/fix/concurrent-write
FIX: avoid global persistenceServiceFacade concurrent write
2023-04-26 00:51:07 +08:00
c9s
3d7cdd9938
fix: drop the global persistenceServiceFacade 2023-04-26 00:42:33 +08:00
c9s
a13ad2f6ab
fix: avoid global persistenceServiceFacade concurrent write 2023-04-26 00:37:13 +08:00
c9s
a1e297e296
types: improve order struct json size 2023-04-25 19:38:31 +08:00
Yo-An Lin
152149fcee
Merge pull request #1157 from c9s/fix/load-state
FIX: add context to LoadState
2023-04-25 18:42:16 +08:00
c9s
a9b0270390
bbgo: add context to LoadState 2023-04-25 18:30:23 +08:00
Yo-An Lin
cd69232156
Merge pull request #1155 from andycheng123/improve/supertrend 2023-04-20 18:48:39 +08:00
Andy Cheng
9f8576bb38
improve/supertrend: different way to calculate order amount for backtesting 2023-04-20 18:37:48 +08:00
Andy Cheng
1fb6e79090
improve/supertrend: fix typo 2023-04-20 18:11:47 +08:00
Andy Cheng
4b8adf6ed5
improve/supertrend: adding opposite position amount to the order amount instead of closing opposite position 2023-04-20 17:53:20 +08:00
c9s
45a27ffe06
add v1.46.0 release note 2023-04-19 14:11:02 +08:00
c9s
5372fd3f30
bump version to v1.46.0 2023-04-19 14:11:02 +08:00
c9s
dec3176ea5
update command doc files 2023-04-19 14:11:02 +08:00
gx578007
a06ed9e5af
Merge pull request #1153 from c9s/grid2/feature/move-metrics
FEATURE: move metrics to defer funciton
2023-04-18 17:16:41 +08:00
chiahung
ed4e0b03e7 add open orders back to active order book if no need to recover 2023-04-18 15:47:00 +08:00
chiahung
d00a91441c FEATURE: move metrics to defer funciton 2023-04-18 15:13:20 +08:00
Andy Cheng
68f54c032a
Merge pull request #1121 from andycheng123/feature/hhllstop
Feature/hhllstop
2023-04-18 11:39:45 +08:00
Andy Cheng
c3318cbb50
exits/trailingstop: update comment 2023-04-18 11:31:51 +08:00
Yo-An Lin
5c33c764da
Merge pull request #1151 from c9s/fix/websocket-reconnect
FIX: types: do not return for normal closure
2023-04-17 16:35:05 +08:00
c9s
47e398abc3
types: do not return for normal closure 2023-04-17 16:28:38 +08:00
kbearXD
99e393e93c
Merge pull request #1147 from c9s/max/get-order/client-order-id
FEATURE: max get-order v3 api support client order id parameter
2023-04-17 12:24:18 +08:00