Commit Graph

7416 Commits

Author SHA1 Message Date
bailantaotao
42bec972c1
Merge pull request #1276 from bailantaotao/edwin/add-order-info
pkg/exchange: add order event
2023-08-08 14:58:30 +08:00
Edwin
b27395f6f4 pkg/exchange: avoiding GC panic caused by a rapid creation/removal slice of pointers 2023-08-08 14:11:19 +08:00
Edwin
f664ef2262 pkg/exchange: add order event 2023-08-08 11:42:02 +08:00
bailantaotao
5349e5afbe
Merge pull request #1274 from bailantaotao/edwin/add-account-info
FEATURE: [bybit] add balance snapshot event
2023-08-08 11:41:02 +08:00
c9s
85201d0b57
Merge pull request #1271 from c9s/c9s/strategy-convert
REFACTOR: apply market.GreaterThanMinimalOrderQuantity on both convert and xalign
2023-08-08 11:14:08 +08:00
Edwin
8b68354d89 pkg/exchange: add balance snapshot event 2023-08-08 10:04:25 +08:00
bailantaotao
adcd4d7458
Merge pull request #1273 from bailantaotao/edwin/add-userdatastream-account
FEATURE: [bybit] add auth func in WebSocket
2023-08-08 10:03:15 +08:00
Edwin
3e4e46de20 pkg/exchange: to de-pointer the value in WsOpEvent and fix test assertion 2023-08-07 15:59:50 +08:00
Edwin
84fa19afee pkg/exchange: add auth function for ws 2023-08-07 14:58:20 +08:00
bailantaotao
a8697abf93
Merge pull request #1268 from bailantaotao/edwin/stream-query-book
FEATURE: [bybit] implement order book streaming
2023-08-07 11:29:10 +08:00
c9s
c3cce05bdd
xalign: apply market.GreaterThanMinimalOrderQuantity on xalign 2023-08-05 16:49:25 +08:00
c9s
8b6a8aeb7b
convert: move moq check/adjustment to types.Market 2023-08-05 16:39:03 +08:00
c9s
ce8063654d
tradingutil: add test on CollectTradeFee 2023-08-05 16:38:46 +08:00
c9s
616e9397d4
Merge pull request #1270 from c9s/c9s/strategy-convert
FEATURE: [strategy] Add convert strategy
2023-08-05 02:46:56 +08:00
c9s
4d293121d7
convert: fix pending quantity collector with trade query 2023-08-05 02:37:53 +08:00
c9s
bc8fe22e70
convert: fix collectPendingQuantity and use graceful order cancel 2023-08-05 02:15:16 +08:00
c9s
71186b6794
update readme 2023-08-05 02:02:30 +08:00
c9s
4982a858a0
config: update convert strategy sample config 2023-08-05 02:00:35 +08:00
c9s
430b22f5e9
cmd: register convert strategy 2023-08-05 02:00:22 +08:00
c9s
951672fc82
improve cancelOrders method 2023-08-05 02:00:07 +08:00
c9s
eaaab914e0
refactor order executor accessors 2023-08-05 01:59:52 +08:00
c9s
c605761c4f
add tradingutil package 2023-08-05 01:59:36 +08:00
c9s
348c8a61e4
add convert strategy 2023-08-05 01:59:20 +08:00
c9s
7d4d2f3e41
types: add truncate quote quantity method 2023-08-05 01:59:04 +08:00
c9s
f1a0ab42f3
Merge pull request #1269 from andycheng123/fix/supertrend
FIX: supertrend uses strconv instead of fmt
2023-08-04 18:13:16 +08:00
c9s
7060fd4ecb
bbgo: add simple order executor 2023-08-04 18:02:24 +08:00
Edwin
a6047f629d pkg/exchange: implement bybit stream ping 2023-08-04 18:00:50 +08:00
Andy Cheng
1130417401
fix/supertrend: use strconv instead of fmt 2023-08-04 11:07:20 +08:00
bailantaotao
8118e55b72
Merge pull request #1265 from bailantaotao/edwin/add-stream
FEATURE: [bybit] implement stream ping
2023-08-03 12:33:20 +08:00
Edwin
e1bae5dba0 pkg/exchange: implement bybit stream ping 2023-08-02 17:55:20 +08:00
bailantaotao
c1d7bdfb65
Merge pull request #1267 from bailantaotao/edwin/add-heart-beat-fn
FEATURE: add custom heart beat func to StandardStream
2023-08-02 17:54:50 +08:00
Edwin
5064615df8 pkg/exchange: add custom heart beat func to StandardStream 2023-08-02 17:47:18 +08:00
c9s
fe0a630fa8
Merge pull request #1266 from c9s/c9s/exit-ping-worker-when-err
FIX: types: exit ping worker when error is happened
2023-08-02 14:20:20 +08:00
c9s
e61db95bd8
types: exit ping worker when error is happened 2023-08-02 14:07:35 +08:00
c9s
04da8fded7
add v1.51.1 release note 2023-08-02 11:04:51 +08:00
c9s
d4abc16959
bump version to v1.51.1 2023-08-02 11:04:51 +08:00
c9s
129f673479
update command doc files 2023-08-02 11:04:51 +08:00
c9s
2af45f73b6
compile and update migration package 2023-08-02 11:04:51 +08:00
c9s
f98937c428
Merge pull request #1261 from c9s/dependabot/go_modules/golang.org/x/image-0.5.0
build(deps): bump golang.org/x/image from 0.0.0-20200927104501-e162460cd6b5 to 0.5.0
2023-08-02 01:49:59 +08:00
c9s
71d86aa483
core: add trade to the trade store when order is not matched 2023-08-02 00:41:58 +08:00
c9s
7adc786c8a
Merge pull request #1259 from c9s/c9s/fix-trade-deadlock
FIX: core: fix trade collector dead lock
2023-08-01 22:41:10 +08:00
c9s
c0e315fafe
core: fix trade collector dead lock 2023-08-01 22:22:18 +08:00
c9s
74aae687be
Merge pull request #1260 from c9s/dependabot/pip/python/grpcio-1.53.0
build(deps): bump grpcio from 1.44.0 to 1.53.0 in /python
2023-08-01 21:07:56 +08:00
c9s
3abb0d64be
Merge pull request #1264 from c9s/dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
build(deps): bump github.com/prometheus/client_golang from 1.11.0 to 1.11.1
2023-08-01 20:42:02 +08:00
dependabot[bot]
5a0c6a3067
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 12:33:38 +00:00
dependabot[bot]
027d764850
build(deps): bump golang.org/x/image
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.0.0-20200927104501-e162460cd6b5 to 0.5.0.
- [Commits](https://github.com/golang/image/commits/v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 12:33:28 +00:00
c9s
66894d4724
Merge pull request #1263 from c9s/dependabot/go_modules/github.com/gin-gonic/gin-1.9.1
build(deps): bump github.com/gin-gonic/gin from 1.7.0 to 1.9.1
2023-08-01 20:32:03 +08:00
c9s
f07111949f
Merge pull request #1262 from c9s/dependabot/npm_and_yarn/contracts/underscore-and-nomiclabs/hardhat-waffle-and-ethereum-waffle--removed
build(deps): bump underscore, @nomiclabs/hardhat-waffle and ethereum-waffle in /contracts
2023-08-01 20:31:07 +08:00
c9s
64114e48d7
CODEOWNERS: add python/ to @narumiruma 2023-08-01 20:22:40 +08:00
dependabot[bot]
f2f2b10739
build(deps): bump github.com/gin-gonic/gin from 1.7.0 to 1.9.1
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.7.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 12:22:16 +00:00