Commit Graph

7555 Commits

Author SHA1 Message Date
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
dependabot[bot]
5d203ac5ba
build(deps): bump underscore, @nomiclabs/hardhat-waffle and ethereum-waffle
Removes [underscore](https://github.com/jashkenas/underscore). It's no longer used after updating ancestor dependencies [underscore](https://github.com/jashkenas/underscore), [@nomiclabs/hardhat-waffle](https://github.com/NomicFoundation/hardhat-waffle) and [ethereum-waffle](https://github.com/EthWorks/Waffle). These dependencies need to be updated together.


Removes `underscore`

Updates `@nomiclabs/hardhat-waffle` from 2.0.1 to 2.0.6
- [Release notes](https://github.com/NomicFoundation/hardhat-waffle/releases)
- [Changelog](https://github.com/NomicFoundation/hardhat-waffle/blob/main/CHANGELOG.md)
- [Commits](https://github.com/NomicFoundation/hardhat-waffle/commits)

Updates `ethereum-waffle` from 3.4.0 to 4.0.10
- [Release notes](https://github.com/EthWorks/Waffle/releases)
- [Commits](https://github.com/EthWorks/Waffle/compare/ethereum-waffle@3.4.0...ethereum-waffle@4.0.10)

---
updated-dependencies:
- dependency-name: underscore
  dependency-type: indirect
- dependency-name: "@nomiclabs/hardhat-waffle"
  dependency-type: direct:development
- dependency-name: ethereum-waffle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 12:22:00 +00:00
dependabot[bot]
98145d4dd1
build(deps): bump grpcio from 1.44.0 to 1.53.0 in /python
Bumps [grpcio](https://github.com/grpc/grpc) from 1.44.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc/releases)
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md)
- [Commits](https://github.com/grpc/grpc/compare/v1.44.0...v1.53.0)

---
updated-dependencies:
- dependency-name: grpcio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 12:20:44 +00:00
c9s
5bb2a50f21
fix lint issues 2023-08-01 20:17:20 +08:00
c9s
f095a1ab71
core: fix trade collector dead lock 2023-08-01 20:11:33 +08:00
bailantaotao
ae61e10c6a
Merge pull request #1255 from bailantaotao/edwin/query-trades
FEATURE: [bybit] add query trade api
2023-08-01 18:02:29 +08:00
Edwin
4363f0ae7b pkg/exchange: add query trade api 2023-08-01 16:31:49 +08:00
c9s
cfd5884350
Merge remote-tracking branch 'origin/v1.50' 2023-08-01 13:23:04 +08:00
c9s
82a43dcfb2
Merge pull request #1257 from c9s/c9s/max-grid2-fee-discounted
FEATURE: [grid2] fee discounted filtering
2023-07-31 21:51:41 +08:00
c9s
54e0e1024c
Merge pull request #1254 from c9s/v1.50
merge back v1.50 into main
2023-07-31 20:24:00 +08:00
c9s
4560b47556
grid2: only for positive non-zero fee 2023-07-31 18:12:28 +08:00
c9s
43b8e7870d
grid2: ignore discounted trades 2023-07-31 18:06:20 +08:00
c9s
f2109afa0e
add last 30 days to loose date support 2023-07-31 17:54:49 +08:00
Alan.sung
b0ccc7e51b use &PublicDataService{} to create it as a pointer object and rename ser to srv 2023-07-31 11:00:38 +09:00