Commit Graph

262 Commits

Author SHA1 Message Date
c9s
40d0b59dfa
xmaker: allocate isolated market data stream 2024-11-16 14:09:54 +08:00
c9s
e379e4c97d
all: handle AllAuthedC timeout from the caller
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
2024-11-15 02:03:22 +08:00
c9s
1071c68a1a
xmaker: adjust auth timeout to 3min 2024-11-15 00:57:36 +08:00
c9s
aea21f1bdd
xmaker: add s.makerUserDataConnectivity 2024-11-15 00:18:15 +08:00
c9s
c395dc8a9a
xmaker: check sourceMarkets 2024-11-14 21:16:41 +08:00
c9s
e47609e8a1
all: call SetMetricsInfo when the circuit breaker instance exists 2024-11-14 16:31:08 +08:00
c9s
6e4b23f6b4
circuitbreaker: extend circuitbreaker metrics label with symbol field, add on panic callback 2024-11-14 16:26:17 +08:00
c9s
fc322079ba
xmaker: reset book after emitting reconnect 2024-11-08 08:37:08 +08:00
c9s
c3b058ce38
xmaker: truncate balances before submitting orders 2024-11-04 17:23:36 +08:00
c9s
eae2d63ac1
all: move jitter helpr to a single package 2024-10-28 17:28:56 +08:00
c9s
9f7521b754
xmaker: check connectivity before calling updateQuote 2024-10-24 16:18:52 +08:00
c9s
3ba5cbe262
xmaker: remove book copy 2024-10-22 11:45:49 +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
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
11fcf8c617
xmaker: fix buckets with prometheus.ExponentialBuckets and record cancel maker orders metrics 2024-10-09 17:09:28 +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
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
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
39fad2e0b5
xmaker: add depth ratio signal 2024-09-30 16:21:22 +08:00
c9s
be353c533b
xmaker: bind price solver with market data stream 2024-09-27 18:43:09 +08:00
c9s
61ea41d999
xdepthmaker: simplify hedge 2024-09-23 22:16:53 +08:00
c9s
26b1fd2ae7
xmaker: fix price initialization 2024-09-16 00:29:37 +08:00
c9s
34ef50d889
xmaker: refactor and clean up tryArbitrage 2024-09-09 22:03:06 +08:00
c9s
52925c5643
xmaker: calculate balance for arbitrage 2024-09-09 18:12:46 +08:00
c9s
b4f2748892
xmaker: fix sides 2024-09-09 18:03:03 +08:00
c9s
ceda1e06b9
xmaker: implement tryArbitrage 2024-09-09 17:49:53 +08:00
c9s
90749f4873
xmaker: pull out s.UseDepthPrice dependency 2024-09-09 15:04:56 +08:00
c9s
77dfe213e5
xmaker: pull out getLayerPrice and add test against the method 2024-09-09 14:41:41 +08:00
c9s
f24a96c8c3
xmaker: refactor getInitialLayerQuantity for quantity multiplier 2024-09-07 14:19:07 +08:00
c9s
6ad16b7488
xmaker: add EnableArbitrage option and makerBook 2024-09-07 13:47:34 +08:00
c9s
e14f09a914
xmaker: add sourceDepthLevel option 2024-09-06 21:47:43 +08:00