Commit Graph

7937 Commits

Author SHA1 Message Date
c9s
46b3a81b07
xdepthmaker: add tests to the generateMakerOrders 2023-12-07 16:18:23 +08:00
c9s
263c0883d1
bbgo: solve the scale when unmarshalling the json 2023-12-07 16:18:23 +08:00
c9s
d123e89a1b
xdepthmaker: document covered position 2023-12-07 16:18:23 +08:00
c9s
1e27f53891
xdepthmaker: use hedge order executor 2023-12-07 16:18:23 +08:00
c9s
2c3792b290
xdepthmaker: update Validate() method 2023-12-07 16:18:23 +08:00
c9s
18968c67a1
xdepthmaker: remove disable hedge option 2023-12-07 16:18:23 +08:00
c9s
10a71d83f1
xdepthmaker: move global position profit handling 2023-12-07 16:18:23 +08:00
c9s
99723fc1f4
xdepthmaker: remove legacy s.activeMakerOrders 2023-12-07 16:18:23 +08:00
c9s
e0686d11c8
xdepthmaker: clean up duplicated code 2023-12-07 16:18:23 +08:00
c9s
6b28910139
xdepthmaker: refactor CrossSubscribe 2023-12-07 16:18:23 +08:00
c9s
ed63b23e2a
xdepthmaker: refactor CrossRun with CrossExchangeMarketMakingStrategy 2023-12-07 16:18:22 +08:00
c9s
e67fa19323
types: extend PeriodProfitStats fields 2023-12-07 16:18:22 +08:00
c9s
df2daf33a7
types: add PeriodProfitStats 2023-12-07 16:18:22 +08:00
c9s
53bf443b1d
xdepthmaker: first commit 2023-12-07 16:18:22 +08:00
kbearXD
9101d7ad4a
Merge pull request #1433 from c9s/kbearXD/dca2/open-maker-orders
FEATURE: prepare open maker orders function
2023-12-07 13:46:23 +08:00
chiahung.lin
6857734282 rename 2023-12-07 11:29:42 +08:00
chiahung.lin
2982be1cbc rename dca maker orders to open position orders 2023-12-07 11:27:28 +08:00
dydysy
05d446cb54 FIX: [indicator] Possibly incorrect assignment 2023-12-06 18:42:10 +08:00
chiahung.lin
c67737a6d6 use retry package 2023-12-06 16:16:17 +08:00
kbearXD
25da4cbd17
Merge pull request #1428 from c9s/feature/maxapi/new-get-open-orders
FEATURE: use max v3 new open orders api
2023-12-06 13:06:39 +08:00
chiahung.lin
4aa6ea3a46 FEATURE: use notional based to crease dca maker orders 2023-12-06 11:28:45 +08:00
chiahung.lin
60003fc472 rename somme part 2023-12-06 11:28:45 +08:00
chiahung.lin
445f0f1c4c FEATURE: prepare open maker orders function 2023-12-06 11:28:45 +08:00
chiahung.lin
c906d6a74d rename variable 2023-12-06 11:27:06 +08:00
chiahung.lin
d54b7365dd FEATURE: use types.OrderMap to avoid missing and duplicated orders 2023-12-05 20:10:37 +08:00
chiahung
a1d98e25c6 FEATURE: use max v3 new open orders api 2023-12-05 19:57:00 +08:00
kbearXD
b79bd8e48b
Merge pull request #1439 from c9s/feature/maxapi/get-closed-orders
FIX: fix list closed orders api limit
2023-12-05 19:55:22 +08:00
chiahung.lin
165e788c3d fix 2023-12-05 16:59:26 +08:00
chiahung.lin
9fab37a284 use getLaunchDate 2023-12-05 15:34:31 +08:00
chiahung.lin
21c037a877 FIX: fix list closed orders api limit 2023-12-04 20:01:54 +08:00
kbearXD
45c2ee0ed8
Merge pull request #1432 from c9s/chiahung/recover-with-origin-stats
FIX: use original status for recover
2023-11-30 15:10:52 +08:00
c9s
92b6ee0264
Merge pull request #1431 from c9s/narumi/fix-order-status-length
FIX: fix order status length
2023-11-30 14:02:29 +08:00
c9s
11a8b8b6ee
Merge pull request #1437 from anywhy/fix_exit_check
FIX: deactivate exit when position in closing
2023-11-30 10:48:21 +08:00
root
cdeb0bc908 FIX: format minimal profit to percent 2023-11-29 18:37:28 +08:00
root
a4ccad9463 FIX: deactivate exit when position in closing 2023-11-29 18:26:01 +08:00
c9s
4bf93b3bfa
Merge pull request #1430 from c9s/c9s/fix-is-newer-check
FIX: add executed quantity check when order status is partially filled
2023-11-29 17:52:39 +08:00
kbearXD
64307af921
Merge pull request #1411 from c9s/feature/dca2/new
FEATURE: new strategy dca2 perparation
2023-11-29 17:08:52 +08:00
c9s
55cbe806d9
bbgo: fix isNewerOrderUpdate check and tests 2023-11-25 13:22:03 +08:00
c9s
326a0c6128
bbgo: replace update time check with isNewerOrderUpdate func call 2023-11-24 19:00:51 +08:00
c9s
6b27722b03
bbgo: rename func isNewerOrderUpdate 2023-11-24 19:00:51 +08:00
c9s
9e663916ed
bbgo: add test case for isNewerUpdateTime 2023-11-24 19:00:51 +08:00
c9s
8afd3c9ee1
bbgo: add test Test_isNewerUpdate 2023-11-24 19:00:51 +08:00
c9s
8f5f5dfeed
bbgo: add executed quantity check when order status is OrderStatusPartiallyFilled 2023-11-24 19:00:51 +08:00
chiahung
19be49fca8 FIX: use original status for recover 2023-11-24 14:17:19 +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
narumi
c30dd24550 fix order status length 2023-11-23 14:53:22 +08:00
kbearXD
75b8be5e17
Merge pull request #1405 from c9s/chiahung/grid2/use-rest-quote
FIX: [grid2] use rest quote to place the last order when opening grid
2023-11-23 12:46:53 +08:00
kbearXD
9722c3eb49
Merge pull request #1421 from c9s/feature/maxapi/get-closed-orders
FEATURE: use new max v3 api to query closed orders by timestamp
2023-11-23 12:46:30 +08:00
bailantaotao
cec8e7d712
Merge pull request #1427 from c9s/edwin/add-rate-limiter-for-log
CHORE: add log rate limiter to stream event and use backoff retry on bybit
2023-11-22 11:01:31 +08:00