Commit Graph

2494 Commits

Author SHA1 Message Date
c9s
41b1991843
deposit2transfer: adjust default scan interval 2024-11-12 15:53:17 +08:00
c9s
f37fab08a0
deposit2transfer: pass customized channel 2024-11-12 15:49:29 +08:00
c9s
9e2cb4bd7f
integrate livenote and slack alert into deposit2transfer 2024-11-12 15:48:17 +08:00
kbearXD
b47fc084cb FEATURE: [xalign] add notification when order quote is over alert amount 2024-11-11 17:27:49 +08:00
c9s
0b2fdd471e
livenote: support pin and expiry time 2024-11-11 16:52:09 +08:00
c9s
c289c2daf5
livenote: add test and generate diff summary for object change 2024-11-11 16:07:04 +08:00
c9s
c4c6a73774
slacknotifier: post comments in the liveobject threads 2024-11-11 15:24:45 +08:00
c9s
fc322079ba
xmaker: reset book after emitting reconnect 2024-11-08 08:37:08 +08:00
c9s
73b3c5b6dd
all: add more livenote support 2024-11-05 17:34:26 +08:00
c9s
9b77980a69
add livenote pool and livenote example strategy 2024-11-05 17:02:06 +08:00
c9s
e310ea9e4e
all: add livenote and livenoteposter, move all example strategy into pkg/strategy/example 2024-11-05 16:02:34 +08:00
c9s
d8150a17b9
xalign: move activeTransferNotificationLimiter into the strategy struct 2024-11-05 15:20:03 +08:00
c9s
d0a7e6b740
deposit2transfer: check transfer amount before transfering 2024-11-04 17:34:56 +08:00
c9s
c3b058ce38
xmaker: truncate balances before submitting orders 2024-11-04 17:23:36 +08:00
c9s
bac8d489bc
xalign: resetFaultBalanceRecords when pending deposit/withdraw was found 2024-11-04 16:13:05 +08:00
c9s
634ded1759
xalign: add more info to the notification 2024-11-04 16:08:52 +08:00
c9s
8e5bb1b6e4
xalign: improve logs 2024-11-04 16:06:17 +08:00
c9s
939a370c3b
liqmaker: fix orderPlacementStatusMetrics 2024-10-30 16:24:32 +08:00
c9s
31aea5753e
liqmaker: add market metrics updater 2024-10-30 16:24:32 +08:00
c9s
92a934b6f2
liqmaker: add more metrics 2024-10-30 16:24:31 +08:00
c9s
c3fec1cccd
liqmaker: fix stopEMA subscription 2024-10-28 18:08:34 +08:00
c9s
4d4afee6aa
liqmaker: log liquidity amount 2024-10-28 17:32:35 +08:00
c9s
2b00c7ac01
liqmaker: fix log messages 2024-10-28 17:31:21 +08:00
c9s
eae2d63ac1
all: move jitter helpr to a single package 2024-10-28 17:28:56 +08:00
c9s
48bb7a280b
liqmaker: fix nil map issue 2024-10-28 17:03:45 +08:00
c9s
74cc36121b
liqmaker: sum exposure in quote quantity (usd) 2024-10-28 15:08:09 +08:00
c9s
17d57502f1
add dbg package for debugging functions 2024-10-28 15:03:10 +08:00
c9s
dbd53429cd
liqmaker: add more logs to the liq order generator 2024-10-28 14:57:25 +08:00
c9s
2b0e4e0512
liqmaker: fix actual orders printing 2024-10-28 14:52:13 +08:00
c9s
6004114696
add test helper for price side quantity assertion 2024-10-28 14:22:34 +08:00
c9s
f4df9a09e2
liqmaker: add logger to order generator
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
2024-10-26 20:53:28 +08:00
c9s
86989b8253
liqmaker: add StopEMA 2024-10-25 12:28:43 +08:00
c9s
ced8b5f742
liqmaker: add AdjustmentOrderPriceType 2024-10-25 12:20:59 +08:00
c9s
0036a57904
liqmaker: drop unused interface 2024-10-25 12:15:36 +08:00
c9s
8df886903c
liqmaker: add liqmaker to alias 2024-10-25 12:15:18 +08:00
c9s
2508dc18f0
liqmaker: use tradingutil.UniversalCancelAllOrders 2024-10-25 12:14:37 +08:00
c9s
c3127f45ce
liqmaker: add stop functions 2024-10-25 12:03:13 +08:00
c9s
9f7521b754
xmaker: check connectivity before calling updateQuote 2024-10-24 16:18:52 +08:00
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
3ba5cbe262
xmaker: remove book copy 2024-10-22 11:45:49 +08:00
kbearXD
5878fd8aed
Merge pull request #1784 from c9s/chiahung/grid2/not-use-minQuantity
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
FEATURE: no use MAX(quantity, minQuantity) to avoid sufficient quantity
2024-10-21 16:42:22 +08:00
kbearXD
704924a905 FEATURE: no use MAX(quantity, minQuantity) to avoid sufficient quantity 2024-10-21 16:29:27 +08:00
kbearXD
ce5234b429 FEATURE: [xalign] detect active depoit. if found, skip align 2024-10-21 15:58:23 +08:00
c9s
fb96756460
xmaker: reset position started time when hedge order is submitted 2024-10-17 13:13:45 +08:00
c9s
5fbb06639d
xmaker: prune expired orders 2024-10-17 13:02:44 +08:00
c9s
bfe8ce9f2c
grid2,xmaker: prune expired trades 2024-10-17 12:53:51 +08:00
c9s
f9a75036a7
xmaker: fix disableHedge check
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
2024-10-16 17:36:05 +08:00
c9s
4f1b216fbf
xmaker: fix trade window test 2024-10-16 15:55:55 +08:00
c9s
c066a187d9
xmaker: fix TradeVolumeWindowSignal algo 2024-10-16 15:45:11 +08:00
c9s
e55676abab
xmaker: add delayHedgeCounterMetrics counter 2024-10-16 15:41:09 +08:00
c9s
165c8d99b8
xmaker: fix covered position field 2024-10-16 14:39:09 +08:00
c9s
a650534a98
xmaker: rename arbitrage option to enableArbitrage 2024-10-16 11:44:30 +08:00
c9s
0b1773b959
xmaker: pull out delay hedge logics 2024-10-15 23:00:09 +08:00
c9s
334c868117
xmaker: add enableDelayHedge option 2024-10-15 18:51:37 +08:00
c9s
1210a79fc7
xmaker: improve if condition 2024-10-15 18:45:16 +08:00
c9s
59862303aa
xmaker: reset and set position start time 2024-10-15 17:29:12 +08:00
c9s
b137707723
xmaker: use mutex protected fixedpoint for covered position 2024-10-15 16:24:35 +08:00
c9s
d940cde945
xmaker: check dust quantity 2024-10-15 13:40:31 +08:00
c9s
76a627a504
xmaker: adjust metrics bucket
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
2024-10-09 17:24:49 +08:00
c9s
11fcf8c617
xmaker: fix buckets with prometheus.ExponentialBuckets and record cancel maker orders metrics 2024-10-09 17:09:28 +08:00
c9s
6b54c90a53
xmaker: add more info into the signal logs 2024-10-09 12:47:53 +08:00
c9s
49e949dbc9
xmaker: refactor signal methods 2024-10-09 12:35:06 +08:00
c9s
cea59ef9cf
xmaker: show signal margin range 2024-10-09 12:35:06 +08:00
c9s
956ad10683
xmaker: stores calculated signal in lastAggregatedSignal 2024-10-09 12:35:06 +08:00
c9s
e70899a35d
xmaker: add more xmaker metrics and profiles 2024-10-09 12:35:06 +08:00
Lan Phan
8b17d78a48 solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07:00
narumi
3fe4568dc2 check quote balance before submitting order 2024-10-07 21:37:49 +08:00
c9s
544c172a9c
xmaker: improve fee price updating 2024-10-07 17:12:49 +08:00
c9s
2599a4bcd3
xmaker: add SubscribeFeeTokenMarkets option 2024-10-07 17:09:01 +08:00
c9s
969e813c7f
xmaker: fix profit fixer fee settings 2024-10-07 17:09:01 +08:00
c9s
2cdd9072c2
Merge pull request #1766 from c9s/c9s/refactor/account-value-calc
REFACTOR: refactor account value calculator with price solver
2024-10-07 17:08:49 +08:00
c9s
a0cdfc2b8e
xmaker: fix aggregatePriceVolumeSliceWithPriceFilter
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
2024-10-06 12:18:03 +08:00
c9s
113695eabf
Merge pull request #1749 from r03921081/task/change_circuitbreaker
Use new circuitbreaker in common strategy
2024-10-06 12:10:22 +08:00
c9s
7506fb63a8
refactor account value calculator 2024-10-05 14:22:13 +08:00
c9s
6079e7b06a
all: refactor NewAccountValueCalculator 2024-10-05 13:09:31 +08:00
c9s
5e7627cc7a
xmaker: fix signal depth metrics
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
2024-10-01 16:52:58 +08:00
c9s
3c48663032
add more tests 2024-09-30 17:32:46 +08:00
c9s
39fad2e0b5
xmaker: add depth ratio signal 2024-09-30 16:21:22 +08:00
c9s
f776914e8c
do not return when failed cleaning up orders
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
2024-09-27 21:23:11 +08:00
c9s
4661ec629d
xdepthmaker: add priceImpactRatio detection 2024-09-27 20:14:34 +08:00
c9s
be353c533b
xmaker: bind price solver with market data stream 2024-09-27 18:43:09 +08:00
c9s
e8c063c09b
xdepthmaker: support countery party 5 hedge and force full replenish 2024-09-27 18:43:09 +08:00
c9s
79b636fa02
move bbo monitor to bbgo package 2024-09-27 18:43:09 +08:00
c9s
091eb5d9c5
xdepthmaker: return when we can't clean up the open orders 2024-09-27 14:27:20 +08:00
c9s
c07661af57
all: refactor depthmaker with connectivity 2024-09-27 13:24:03 +08:00
c9s
431d6964d5
xdepthmaker: split quote worker and hedge worker 2024-09-26 17:57:12 +08:00
c9s
1b5da22c90
xdepthmaker: fix coveredPosition reduction 2024-09-25 18:16:04 +08:00
c9s
f4e905833c
xdepthmaker: improve HedgeMaxOrderQuantity check 2024-09-25 18:16:03 +08:00
c9s
42cd3cba1e
xdepthmaker: clean up todo 2024-09-25 18:16:03 +08:00
c9s
67fd15c88f
xdepthmaker: log covered position 2024-09-25 18:16:03 +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
6a5ab424c9
xdepthmaker: add hedgeMaxOrderQuantity protection 2024-09-25 15:52:23 +08:00
c9s
329b8a40d9
xdepthmaker: adjust covered position when order is canceled 2024-09-25 13:36:31 +08:00
c9s
60d5126b61
xdepthmaker: add HedgeStrategyBboQueue1 hedge method 2024-09-24 17:10:50 +08:00
c9s
59191cf6bf
xdepthmaker: support bbgo counter party 1 hedge method 2024-09-24 16:33:53 +08:00
c9s
566234d3ab
xdepthmaker: rename last price var to just price 2024-09-24 16:14:03 +08:00
c9s
e7c76ddd26
xdepthmaker: refactor hedge methods 2024-09-24 16:12:17 +08:00
c9s
61ea41d999
xdepthmaker: simplify hedge 2024-09-23 22:16:53 +08:00
c9s
b02580f9f6
xdepthmaker: remove shared mutex lock usage 2024-09-23 18:28:46 +08:00
c9s
345c92c295
all: improve UniversalCancelAllOrders and add mutex to covered position 2024-09-23 18:26:23 +08:00