Commit Graph

8704 Commits

Author SHA1 Message Date
anywhy
474a8ab864 indicator: add adx 2024-03-23 17:10:24 +08:00
Lan Phan
29874db5b8 consistent config param for all sub-commands 2024-03-22 14:41:53 +07:00
narumi
0466f0d237 add rebalance doc 2024-03-22 14:52:17 +08:00
c9s
693b641612
Merge pull request #1596 from c9s/release/v1.58 2024-03-22 13:33:11 +08:00
c9s
c9f17645f6
Merge pull request #1600 from lanphan/minor1 2024-03-22 13:30:52 +08:00
Lan Phan
ef518cd9aa add vscode launch file for run/debug easier in vscode 2024-03-22 11:38:52 +07:00
Lan Phan
e2c754040d update default value for config param of backtest cmd to have same value with root cmd 2024-03-22 11:07:02 +07:00
c9s
abd9f86113
Merge pull request #1597 from Newtoniano/close-short-positions 2024-03-21 09:40:24 +08:00
Newtoniano
17368b9585 add short position close logic 2024-03-20 18:48:08 +01:00
chiahung
ae859a7b28 add v1.58.0 release note 2024-03-19 16:36:45 +08:00
chiahung
a1dd9e5d99 bump version to v1.58.0 2024-03-19 16:36:45 +08:00
chiahung
b1dc962efa update command doc files 2024-03-19 16:36:45 +08:00
c9s
d58461d1cf
Merge pull request #1593 from c9s/c9s/xalign-add-test-cases
FIX: [xalign] add more complex test case for xalign strategy
2024-03-19 16:07:57 +08:00
kbearXD
819fc59340
Merge pull request #1594 from c9s/kbearXD/dca2/round-collector
FIX: [dca2] fix order group id not set issue
2024-03-19 16:03:41 +08:00
kbearXD
25baf49e13 dca2: fix order group id not set issue 2024-03-19 15:51:36 +08:00
c9s
aced149ee8
xalign: add more complex test case for xalign strategy 2024-03-19 15:29:18 +08:00
kbearXD
b0bbf3c529
Merge pull request #1589 from c9s/kbearXD/dca2/pause-next-round-and-set-ttl
dca2: add ttl for persistence and nextRoundPaused flag
2024-03-19 14:31:57 +08:00
c9s
3e14c14111
Merge pull request #1592 from c9s/c9s/fix-xalign-side-for-reversed-quote
FIX: [xalign] correct the base/quote currency balance name when it's reversed
2024-03-19 10:37:37 +08:00
c9s
c11f886718
xalign: correct the base/quote currency balance name when it's reversed 2024-03-19 00:31:00 +08:00
bailantaotao
22221a8ba9
Merge pull request #1591 from c9s/edwin/okx/update-endpoint
FIX: [okx] update okx url
2024-03-18 19:07:53 +08:00
edwin
98d565c46f pkg/exchange: update okx url 2024-03-18 18:56:37 +08:00
c9s
cbf957c7ce
add priceVolume helper InQuote 2024-03-18 17:50:39 +08:00
c9s
97c48e5bb4
add AdjustQuantityByMinQuantity to types.Market 2024-03-18 17:50:24 +08:00
kbearXD
bcc29bd056 dca2: add ttl for persistence and nextRoundPaused flag 2024-03-18 17:35:47 +08:00
kbearXD
3f44092ff4
Merge pull request #1586 from c9s/kbearXD/dca2/round-collector
dca2: new struct RoundCollector for testing and use flag to decide re…
2024-03-18 17:34:41 +08:00
c9s
4eabb82f77
Merge pull request #1587 from avoidaway/main
chore: remove repetitive words
2024-03-18 16:50:40 +08:00
c9s
e621938649
Merge pull request #1582 from anywhy/fix_marketactiveorders
Fix: Restore parameters  when update active order book
2024-03-18 16:40:12 +08:00
c9s
ee21e9ea62
Merge pull request #1588 from c9s/c9s/xalign-add-check-expected-balance
FIX: [xalign] check if the quote balance will be used up and below the expected balance
2024-03-18 14:44:36 +08:00
c9s
7f1e876be0
xalign: check if the quote balance will be used up and below the expected balance line 2024-03-18 12:47:48 +08:00
avoidaway
917451d2ec chore: remove repetitive words
Signed-off-by: avoidaway <cmoman@126.com>
2024-03-16 16:08:52 +08:00
kbearXD
a23c476ce8 dca2: new struct RoundCollector for testing and use flag to decide recovery 2024-03-15 18:41:46 +08:00
c9s
239f7ea5dd
slacknotifier: increase slack notification burst to 3 2024-03-15 18:24:44 +08:00
c9s
d3a1a973b6
Merge pull request #1585 from c9s/c9s/fix-xalign-side-for-reversed-quote
FIX: [xalign] fix reversed market
2024-03-15 17:22:43 +08:00
c9s
1d314daa22
xalign: skip same currency 2024-03-15 15:59:43 +08:00
c9s
6831c40371
xalign: fix reversed market 2024-03-15 15:57:17 +08:00
c9s
f618485536
max: remove the extra user agent from the http headers 2024-03-15 15:22:37 +08:00
c9s
f785398249
max: adjust max rate limiters 2024-03-15 15:22:37 +08:00
kbearXD
14fd4ea449
Merge pull request #1584 from c9s/kbearXD/dca2/profit
dca2: use GeneralBackoff not GeneralLiteBackoff
2024-03-15 11:38:20 +08:00
kbearXD
62d6e79193 dca2: use GeneralBackoff not GeneralLiteBackoff 2024-03-15 11:24:20 +08:00
bailantaotao
3300b71cba
Merge pull request #1583 from c9s/edwin/okx/query-recent-trades
FEATURE: [okx] query recent trades
2024-03-15 09:43:29 +08:00
anywhy
a26f489dad add test case 2024-03-14 22:41:58 +08:00
edwin
2ae1933d7b pkg/exchange: use 3 days trade api if start time - now < 3 days 2024-03-14 17:21:17 +08:00
edwin
38bd5479f2 pkg/exchange: gen 3 day and regen history transaction api 2024-03-14 17:20:58 +08:00
kbearXD
3981970667
Merge pull request #1580 from c9s/kbearXD/dca2/profit
FIX: [dca2] must calculate and emit profit at the end of the round
2024-03-14 16:42:07 +08:00
kbearXD
2b52211c1c new function IsFilledOrderState for maxapi 2024-03-14 16:18:12 +08:00
anywhy
9f50e256c8 fi: restore parameter when update active orde book 2024-03-14 14:48:15 +08:00
kbearXD
fb2a46e1c4 use backoff retry 2024-03-14 14:32:41 +08:00
kbearXD
91123edbd6 dca2: must calculate and emit profit at the end of the round 2024-03-14 14:32:41 +08:00
bailantaotao
3a98660e0c
Merge pull request #1581 from c9s/edwin/bybit/return-order-directly-after-placing-the-order
MINOR: [okx][bitget] remove the query after place order
2024-03-14 12:26:32 +08:00
edwin
d75e7eb63f pkg/exchange: rm redundant code 2024-03-14 12:15:40 +08:00