Commit Graph

8713 Commits

Author SHA1 Message Date
c9s
d399b39c44
max: simplify QueryTicker 2024-03-26 18:16:57 +08:00
c9s
5769c67748
Merge pull request #1602 from c9s/narumi/rebalance/doc
DOC: add rebalance doc
2024-03-26 18:15:40 +08:00
c9s
6ac642bf32
Merge pull request #1604 from anywhy/indicator_adx
FEATURE:[indicator] add adx indicator
2024-03-26 18:13:21 +08:00
c9s
f3f21f39e5
Merge pull request #1603 from lanphan/cobra
consistent config param for all sub-commands
2024-03-26 18:12:16 +08:00
kbearXD
553976449d FEATURE: [dca2] when all open-position orders are filled, place the take-profit order 2024-03-26 15:52:04 +08:00
anywhy
88281c1520 indicator_set add adx 2024-03-23 17:17:40 +08:00
anywhy
f54d170d44 update adx indicator 2024-03-23 17:11:10 +08:00
anywhy
4b3014f683 update indicator adx test case 2024-03-23 17:11:09 +08:00
anywhy
e632fa087e update adx indicator and test case 2024-03-23 17:10:59 +08:00
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