Commit Graph

9173 Commits

Author SHA1 Message Date
c9s
eb91f9d77f
dynamic: fix compare for fixedpoint and time.Time 2024-11-07 18:05:19 +08:00
c9s
bdc89ca579
dynamic: implement Compare() and add tests to Compare() 2024-11-07 17:15:10 +08:00
c9s
7b94c785ba
dynamic: compareStruct and compareSimpleValue 2024-11-07 16:31:02 +08:00
c9s
87b302da03
dynamic: add dynamic compare 2024-11-07 15:21:58 +08:00
c9s
83c181c56e
Merge pull request #1804 from c9s/c9s/xalign/improvements
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
2024-11-05 18:54:29 +08:00
c9s
73b3c5b6dd
all: add more livenote support 2024-11-05 17:34:26 +08:00
c9s
0e2eb8ba54
livenote: cache object id 2024-11-05 17:04:59 +08:00
c9s
0471cb2340
cmd: fix and add example strategy import 2024-11-05 17:03:54 +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
822c2bd5e0
Merge pull request #1803 from c9s/c9s/d2t/check-transfer-amount
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
FIX: [deposit2transfer] check transfer amount before transferring
2024-11-04 17:57:14 +08:00
c9s
d0a7e6b740
deposit2transfer: check transfer amount before transfering 2024-11-04 17:34:56 +08:00
c9s
6f1b216e14
Merge pull request #1802 from c9s/c9s/xmaker/truncate-balances
FIX: [xmaker] truncate balances before submitting orders
2024-11-04 17:32:26 +08:00
c9s
c3b058ce38
xmaker: truncate balances before submitting orders 2024-11-04 17:23:36 +08:00
c9s
1d6e850ac7
Merge pull request #1801 from c9s/c9s/xalign-logs
IMPROVE: [xalign] improve logs
2024-11-04 16:23:08 +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
b55b41dd60
Merge pull request #1799 from c9s/c9s/liqmaker/metrics-and-tests
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
FEATURE: [liqmaker] add more metrics
2024-10-30 16:51:53 +08:00
c9s
dd71548668
upgrade github.com/prometheus/client_golang 2024-10-30 16:24:32 +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
a9eb903f01
Merge pull request #1798 from anywhy/binance_position_risk_api_v3
FEATURE:update binance positionRisk api to v3
2024-10-30 14:00:29 +08:00
anywhy
5b3f8b52e0 update binance positionRisk api to v3 2024-10-29 18:48:15 +08:00
c9s
58133d94ba
Merge pull request #1743 from lanphan/printconfig
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
add new tag ignore to prevent printing specific field
2024-10-28 21:13:13 +08:00
c9s
39d3dc0aac
Merge pull request #1797 from c9s/c9s/liqmaker/metrics-and-tests
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
FIX: [liqmaker] fix stopEMA subscription
2024-10-28 18:18:43 +08:00
c9s
c3fec1cccd
liqmaker: fix stopEMA subscription 2024-10-28 18:08:34 +08:00
c9s
0c1f8f8c07
Merge pull request #1796 from c9s/c9s/liqmaker/metrics-and-tests
IMPROVE: [liqmaker] improve interval checking and tickers
2024-10-28 17:43:31 +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
7f905a2956
Merge pull request #1795 from c9s/c9s/liqmaker/metrics-and-tests
IMPROVE: add test helper for price side quantity assertion
2024-10-28 16:16:05 +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
a48b8f6544
Merge pull request #1792 from c9s/c9s/liqmaker/stops
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
FEATURE: [liqmaker] add stop functions
2024-10-25 12:51:37 +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
441476c678
Merge pull request #1789 from c9s/kbear/xalign/fix-log
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
FIX: add slackAttachment method on Deposit
2024-10-24 16:35:28 +08:00
c9s
95ad164f2c
Merge pull request #1790 from c9s/c9s/xmaker/check-connectivity
FIX: [xmaker] check connectivity before calling updateQuote
2024-10-24 16:29:47 +08:00