Commit Graph

60 Commits

Author SHA1 Message Date
c9s
b23c7a76eb
Merge pull request #1763 from lanphan/obsoleted
CHORE: solved all deprecated, comment all unused variables and functions
2024-10-22 12:33:10 +08:00
c9s
86360a7595
bbgo: fix order update compare method 2024-10-22 11:56:38 +08:00
c9s
a118eab15e
bbgo: increase DefaultCancelOrderWaitTime to 50ms 2024-10-22 11:49:44 +08:00
Lan Phan
8b17d78a48 solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07:00
c9s
0c842e0eb5
Merge pull request #1753 from c9s/c9s/xdepthmaker/improvements
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
IMPROVE: [xdepthmaker] use order query to update the canceled order, fix depth price, fix symbol column lengths, fix covered position
2024-09-26 15:06:12 +08:00
c9s
e11db4a2d1
xdepthmaker: avoid using the same depth price for the new maker order 2024-09-25 18:16:02 +08:00
c9s
b3d58a9e05
bbgo: add types.ExchangeOrderQueryService support for checking canceled orders 2024-09-25 14:13:23 +08:00
c9s
768428a7eb
bbgo: pass the actual context object instead of background context 2024-09-25 13:36:49 +08:00
Lan Phan
2a767aba71 fix OnNew event must be called before OnFilled 2024-09-20 20:01:24 +07:00
Lan Phan
1f8b2b3710 call b.EmitNew() when new order is added into activeorderbook 2024-09-14 18:26:36 +07:00
c9s
88d7783843
bbgo/activeOrderBook: filter market order when filtering existing orders 2024-08-29 00:38:44 +08:00
anywhy
9f50e256c8 fi: restore parameter when update active orde book 2024-03-14 14:48:15 +08:00
edwin
751f82bc56 pkg/bbgo: use origin order if error occurred 2024-03-05 09:45:14 +08:00
edwin
a392d8d579 pkg: add more logs 2024-03-04 22:40:25 +08:00
c9s
c870defd47
xdepthmaker: improve shutdown process 2023-12-13 16:29:07 +08:00
c9s
c170eac991
bbgo: fix active order book graceful cancel checking logics 2023-12-13 15:25:52 +08:00
c9s
115c2dc139
bbgo: refactor active orderbook 2023-12-13 14:00:53 +08:00
c9s
158c48b807
bbgo: change verbose info log to debug log 2023-12-11 20:46:17 +08:00
c9s
9f14215ce8
bbgo: reduce logs 2023-12-11 17:59:02 +08:00
c9s
b8fb2ac478
bbgo: fix active orderbook symbol order grouping 2023-12-07 16:18:24 +08:00
c9s
f03ac52ce5
activeOrderBook: use orderMap instead of orderStore 2023-12-07 16:18:24 +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
8f5f5dfeed
bbgo: add executed quantity check when order status is OrderStatusPartiallyFilled 2023-11-24 19:00:51 +08:00
c9s
fe9dc9a79d
bbgo: change pending update log level to info 2023-11-17 16:57:48 +08:00
c9s
542944b4cc
max: use websocket update time (TU) field 2023-09-17 18:29:14 +08:00
c9s
89c88c48a3
bbgo: log filled order 2023-09-17 18:25:21 +08:00
c9s
797ee4402c
types: fix pending order update comparison 2023-09-17 18:20:29 +08:00
c9s
5f8a5e47d5
activeorderbook: add pending order logs 2023-09-17 18:03:56 +08:00
c9s
c91861ca9a
bbgo: add order update time check 2023-08-17 17:31:24 +08:00
c9s
1cadaf9265
bbgo: add mutex lock to ActiveOrderBook 2023-08-17 17:16:27 +08:00
c9s
2669c3a5db
bbgo: check order exists 2023-08-17 16:28:42 +08:00
c9s
dda3f25c61
grid2,bbgo: refactor active order book and update order status when re-connected 2023-08-17 16:26:06 +08:00
c9s
7060fd4ecb
bbgo: add simple order executor 2023-08-04 18:02:24 +08:00
c9s
f1828beac8
all: move trade store and order store into pkg/core 2023-07-04 21:42:24 +08:00
c9s
b666c8bf40
bbgo: triggering pending order update event ot the handler 2023-02-23 18:08:21 +08:00
c9s
4dc4f73834
bbgo: add pending order test cases 2023-02-17 19:50:46 +08:00
c9s
10eba876c4
bbgo: simplify order symbol filtering condition 2023-02-17 19:24:08 +08:00
c9s
cf1be9fc6f
bbgo: process pending order update for active order book 2023-02-17 19:15:00 +08:00
c9s
857b5d0f30
grid2: integrate prometheus metrics 2023-01-10 20:15:51 +08:00
c9s
6bcf5f8f82
bbgo: improve active order book printing 2022-12-23 18:19:00 +08:00
c9s
f92ba9cbf1
grid2: implement recover func loading 2022-12-20 17:33:53 +08:00
c9s
dd2d48fde0
bbgo: handle order cancel event 2022-12-04 11:39:43 +08:00
c9s
04855b023a
bbgo: listen to both order signal and the wait time channel 2022-11-02 12:55:13 +08:00
c9s
3704f3f897
bbgo: emit sigchan when new order is added or an order is removed 2022-11-02 12:42:09 +08:00
c9s
1120821977
add activeOrderBook.Symbol check 2022-11-02 12:27:36 +08:00
c9s
7b9edd0456
all: rename cancelNoWait to fastCancel 2022-11-02 12:25:34 +08:00
zenix
09c85d346c feature: add cancelNoWait in GeneralOrderExecutor to make cancellation in 1s faster 2022-10-17 15:14:36 +08:00