Commit Graph

8495 Commits

Author SHA1 Message Date
Edwin
2049e71cf6 pkg/exchange: rm the retry 2023-11-07 14:53:00 +08:00
chiahung
df2fd170db return bool to let syncActiveOrderBook really sync or skip 2023-11-07 14:39:29 +08:00
chiahung
7de49155eb fix 2023-11-07 13:30:58 +08:00
chiahung
c8becbe4f5 bbgo.sync when syncActiveOrders 2023-11-07 10:56:19 +08:00
bailantaotao
61bbc22e76
Merge pull request #1397 from c9s/edwin/bybit/periodly-fetch-market-info
FEATURE: [bybit] to periodically fetch the fee rate
2023-11-07 09:25:33 +08:00
Edwin
f595cc9cc0 pkg/exchange: add query open orders 2023-11-06 23:40:22 +08:00
Edwin
82ac8f184f pkg/exchange: to periodically fetch the fee rate 2023-11-06 22:17:29 +08:00
chiahung
dcff850c64 FEATURE: add ttl for position/grid2.profit_stats persistence 2023-11-06 18:52:01 +08:00
chiahung
358aef770f FIX: fix skip syncing active order 2023-11-06 17:13:16 +08:00
c9s
e773bb0e52
Merge pull request #1391 from c9s/c9s/grid2-base-quote-fix 2023-11-06 10:37:21 +08:00
c9s
e614741a48
grid2: add another test case for 0 baseGridNum 2023-11-04 12:56:11 +08:00
c9s
6cce5a2268
grid2: respect s.BaseGridNum and add a failing test case 2023-11-04 12:56:11 +08:00
c9s
cdebcc9a58
add .env.local.example 2023-11-04 12:56:02 +08:00
なるみ
d4ac18241c
Merge pull request #1390 from c9s/narumi/rebalance/fix
FIX: [rebalance] fix buy quantity
2023-11-03 19:53:15 +08:00
narumi
ffea4901ed fix buy quantity 2023-11-03 15:07:24 +08:00
bailantaotao
d758efc9ff
Merge pull request #1380 from bailantaotao/edwin/bitget/add-kline
FEATURE: [bitget] support kline subscription on stream
2023-11-01 19:32:14 +08:00
bailantaotao
d42b227b9c
Merge pull request #1385 from c9s/edwin/bitget/add-tickers-api
FEATURE: [bitget] add query tickers api
2023-11-01 19:31:55 +08:00
YC
8e76804b0c
Merge pull request #1376 from c9s/feature/query-trades-pagination
FEATURE: query trades from db page by page
2023-11-01 17:07:52 +08:00
c9s
2ffc617dac
Merge pull request #1386 from c9s/c9s/refactor-wall-strategy
REFACTOR: [wall] refactor wall strategy with common.Strategy
2023-11-01 17:06:17 +08:00
c9s
9dc57f01cd
wall: refactor wall strategy with common.Strategy 2023-11-01 16:57:07 +08:00
Edwin
00d4805321 pkg/exchange: add query tickers api 2023-11-01 16:14:21 +08:00
bailantaotao
de8f24cb7b
Merge pull request #1382 from bailantaotao/edwin/bitget/refactor-ticker-account
REFACTOR: [bitget] add rate limiter for account, ticker
2023-11-01 15:46:01 +08:00
c9s
a8ddf9a8d5
Merge pull request #1384 from c9s/c9s/backtest-minor-improvements
CHORE: minor improvements on backtest cmd
2023-11-01 15:35:07 +08:00
c9s
7a48d001a2
backtest: return closed kline channel when empty symbol is given 2023-11-01 15:23:27 +08:00
c9s
470eb7dc09
cmd: skip reports for session has no trade 2023-11-01 15:22:53 +08:00
c9s
a670ba73c3
Merge pull request #1381 from HimanshuMahto/patch-2
grammatical errors in the README.md
2023-11-01 14:52:57 +08:00
なるみ
98b4bd2317
Merge pull request #1377 from c9s/narumi/rebalance/refactor
REFACTOR: [rebalance] submit one order at a time
2023-11-01 14:01:32 +08:00
Edwin
2cea089404 pkg/exchange: add rate limiter for query ticker, account 2023-11-01 13:20:46 +08:00
bailantaotao
ec8ff03c89
Merge pull request #1378 from bailantaotao/edwin/bitget/fix-symbollist
REFACTOR: [bitget] get symbol api
2023-11-01 13:19:41 +08:00
Edwin
102b662f7c pkg/exchange: support kline subscription on stream 2023-11-01 11:56:58 +08:00
Himanshu Kumar Mahto
64cad56727
grammatical errors in the README.md 2023-11-01 02:20:58 +05:30
Edwin
4bc177f21b pkg/exchange: refactor get symbol api 2023-10-31 14:48:40 +08:00
Yu-Cheng
1d2e46eca8 trade: query trades from db paginately 2023-10-31 14:20:20 +08:00
c9s
7c1060c208
Merge pull request #1375 from HimanshuMahto/patch-1 2023-10-31 14:05:27 +08:00
narumi
7c19bb9e20 submit one order at a time 2023-10-31 13:53:12 +08:00
Himanshu Kumar Mahto
b8401ee177
grammatical error in the code_of_conduct file 2023-10-31 01:51:04 +05:30
kbearXD
3491b93c53
Merge pull request #1374 from c9s/feature/grid2/fix
FIX: retry to get open orders only for 5 times and do not sync orders…
2023-10-30 17:26:38 +08:00
chiahung
d33240ec83 rename and simplify import 2023-10-30 17:17:36 +08:00
chiahung
671772a767 FIX: retry to get open orders only for 5 times and do not sync orders updated in 3 min 2023-10-30 16:28:34 +08:00
kbearXD
be4c69c365
Merge pull request #1368 from c9s/feature/grid2/merge-recover
FEATURE: merge grid recover and active orders recover logic
2023-10-30 16:11:23 +08:00
c9s
d4a4982a80
Merge pull request #1367 from shresthasurav/patch1
docs: fix typos in doc/development
2023-10-28 08:15:16 +08:00
c9s
dcd837f0f9
Merge pull request #1372 from bailantaotao/edwin/fix-precision
FIX: [bybit][kucoin] fix negative volume, price precision
2023-10-28 08:09:51 +08:00
なるみ
db1de0efb8
Merge pull request #1373 from c9s/narumi/xalign/max-amounts
FEATURE: [xalign] adjust quantity by max amount
2023-10-27 18:00:08 +08:00
bailantaotao
46b6577d50
Merge pull request #1363 from bailantaotao/edwin/bitget/add-ping
FEATURE: [bitget] support ping/pong
2023-10-27 17:33:40 +08:00
Edwin
39c3d23da3 pkg/exchange: support ping/pong 2023-10-27 16:45:41 +08:00
bailantaotao
32c75ea3b8
Merge pull request #1370 from bailantaotao/edwin/update-low-level-ping-pong
REFACTOR: [stream] move ping into stream level
2023-10-27 16:35:39 +08:00
Edwin
d07b766939 pkg/exchange: Use the same conn to avoid concurrent write issues. 2023-10-27 16:03:03 +08:00
Edwin
ba7e26c800 pkg/exchange: use NumFractionalDigits instead of math.Log10(Float64) due to precision problem 2023-10-27 15:28:35 +08:00
narumi
e8c9801535 adjust quantity by max amount 2023-10-27 15:01:41 +08:00
Edwin
2a85bbebf0 pkg/exchange: fix precision 2023-10-27 12:52:36 +08:00