Commit Graph

8367 Commits

Author SHA1 Message Date
chiahung.lin
9ac8bb916d dca2: all the profit will use in the first order of the next round
fix precision problem

truncate profit first
2024-03-04 14:49:39 +08:00
c9s
7abc45e071
Merge pull request #1553 from giou-k/feat/smma-indicator
FEAT: Add SMMA indicator
2024-03-04 10:16:48 +08:00
giou-k
0013ec30db Add smma indicator and test 2024-03-01 11:36:48 +02:00
bailantaotao
6123a4a14e
Merge pull request #1551 from c9s/edwin/okx/rm-redundant-code
DELETE: [okx] rm redundant codes
2024-03-01 16:13:12 +08:00
edwin
933ba31b05 pkg/exchange: rm redundant codes 2024-03-01 13:52:38 +08:00
root
2567bd0caa set the defauinteralv alue to 1m 2024-02-28 15:02:57 +08:00
root
151722664f Use configuration instead of kine fixed interval 2024-02-28 14:41:25 +08:00
c9s
4f57c5b842
Merge pull request #1545 from c9s/feat/add-universal-cancel-all-orders
FEATURE: add universal cancel all orders api helper
2024-02-27 22:12:16 +08:00
c9s
a37289942c
add v1.57.0 release note 2024-02-27 22:02:21 +08:00
c9s
95100195ad
bump version to v1.57.0 2024-02-27 22:02:21 +08:00
c9s
5f1d242fc5
update command doc files 2024-02-27 22:02:21 +08:00
bailantaotao
e3ae3574a7
Merge pull request #1548 from c9s/edwin/bitget/refactor-log
MINOR: [bitget] refactor log
2024-02-26 12:41:32 +08:00
edwin
1e35432e21 pkg/exchange: refactor log 2024-02-26 11:40:13 +08:00
なるみ
9538a41c1b
Merge pull request #1541 from c9s/narumi/price-type
FEATURE: [rebalance] add price type
2024-02-23 20:32:09 +08:00
c9s
b72a176b91
Merge pull request #1547 from c9s/refactor/tradingutil
REFACTOR: move trading related utility functions to the tradingutil package
2024-02-23 19:25:03 +08:00
c9s
36e90cf5ca
grid2: rename filterPrice to roundAndTruncatePrice 2024-02-23 18:50:57 +08:00
c9s
24013a82ab
Merge pull request #1546 from c9s/feat/add-exchange-field-to-market
FEATURE:  add exchange field to types.Market
2024-02-23 18:49:31 +08:00
c9s
a298950be8
move trading related utility functions to the tradingutil package 2024-02-23 18:47:49 +08:00
c9s
4aca676b4d
all: add exchange field to types.Market 2024-02-23 18:36:52 +08:00
c9s
0b0bc7e179
tradingutil: return anyErr if anyErr is not nil 2024-02-23 18:33:30 +08:00
c9s
3b8a3bed5f
add universal cancel all orders api helper 2024-02-23 16:56:30 +08:00
narumi
dae445ad5c unmarshal price type 2024-02-23 16:29:26 +08:00
bailantaotao
d0ed34c4e1
Merge pull request #1544 from c9s/edwin/bitget/batch-subscribe
FIX: [bitget] batch subscribe channel
2024-02-23 16:07:49 +08:00
edwin
3a18edd5ab pkg/exchange: batch subscribe channel 2024-02-23 15:48:57 +08:00
bailantaotao
541496f3cf
Merge pull request #1542 from c9s/edwin/bitget/update-api
FIX: [bitget] use new size instead of size
2024-02-23 15:46:40 +08:00
edwin
5c7509523b pkg/exchange: use new size instead of size 2024-02-23 14:08:35 +08:00
narumi
8f2d551399 add price type 2024-02-23 14:05:25 +08:00
c9s
06c533f3d7
Merge pull request #1531 from c9s/c9s/improve-deposit2transfer-logs
improve: [deposit2transfer] improve deposit logging
2024-02-22 22:47:17 +08:00
c9s
0f001a9151
Merge pull request #1534 from c9s/edwin/okx/refine-rate-limit
FIX: [okx] refine okx rate limiter
2024-02-22 22:46:43 +08:00
c9s
945c442b92
Merge pull request #1539 from c9s/c9s/fix-and-improve-query-order-until-filled
FIX: add check for order pointer
2024-02-22 14:37:48 +08:00
c9s
75cb5dd09c
check order pointer 2024-02-22 14:26:01 +08:00
edwin
f135b6dcc4 pkg/exchange: refine okx rate limiter 2024-02-22 09:21:04 +08:00
c9s
3cee573dbd
Merge pull request #1538 from c9s/c9s/fix-and-improve-query-order-until-filled
FIX: [retry] fix and improve QueryOrderUntilFilled status check
2024-02-21 17:09:02 +08:00
c9s
c68832459d
retry: fix and improve QueryOrderUntilFilled status check 2024-02-21 16:56:11 +08:00
c9s
9ddd91aea5
Merge pull request #1537 from c9s/c9s/fix-slack-attachment
FIX: [slacknotifier] handle slack.Attachment pointer
2024-02-21 15:37:26 +08:00
c9s
ac181959e5
slacknotifier: handle slack.Attachment pointer 2024-02-21 15:24:45 +08:00
bailantaotao
9dead2edd9
Merge pull request #1536 from c9s/edwin/okx/print-more-msg
MINOR: [okx] print more logs
2024-02-20 18:45:13 +08:00
edwin
b6261c2516 pkg/exchange: add limit maker type to place order 2024-02-20 18:20:07 +08:00
edwin
516c5e8137 pkg/exchange: print more logs 2024-02-20 17:55:47 +08:00
bailantaotao
7436a7e2e1
Merge pull request #1535 from c9s/edwin/okx/allow-char-in-place-order
FIX: [okx] allow char in place order
2024-02-20 15:25:34 +08:00
edwin
3bd2d90e3c pkg/exchange: allow char in place order 2024-02-20 15:14:09 +08:00
c9s
35b15c35e6
doc: add one more example to chain the indicators together 2024-02-18 23:41:37 +08:00
c9s
97cdf42643
Merge pull request #1533 from c9s/doc/indicator-v2
DOC: update indicator documents for v2
2024-02-18 21:30:49 +08:00
c9s
f4c603a100
doc: add more v2 indicator details 2024-02-18 21:09:40 +08:00
c9s
925590cf27
doc: update indicator documents 2024-02-18 20:55:33 +08:00
bailantaotao
4bd5c62646
Merge pull request #1530 from c9s/edwin/okx/fix-trade-id
FIX: [okx] fix trade id
2024-02-15 22:33:10 +08:00
c9s
c6db392a26
deposit2transfer: improve deposit logging 2024-02-15 11:43:59 +08:00
edwin
262c05f83c pkg/exchange: fix trade id 2024-02-08 01:37:35 +08:00
なるみ
d34a4100ef
Merge pull request #1529 from c9s/narumi/atrpin/log2
CHORE: [atrpin] modify log again
2024-02-07 02:36:40 +08:00
narumi
502685f5d8 check dust quantity by taker price 2024-02-06 17:21:26 +08:00