c9s / bbgo

The modern cryptocurrency trading bot framework written in Go.
https://bbgo.finance
GNU Affero General Public License v3.0
1.22k stars 294 forks source link

FEATURE: [okx] support Unsubscription and Resubscription #1496

Closed bailantaotao closed 10 months ago

bbgokarma-bot commented 10 months ago

Welcome back! @bailantaotao, This pull request may get 313 BBG.

bbgokarma-bot commented 10 months ago

Re-estimated karma: this pull request may get 326 BBG

codecov[bot] commented 10 months ago

Codecov Report

Attention: 34 lines in your changes are missing coverage. Please review.

Comparison is base (08fa1e9) 21.61% compared to head (a7aa34c) 21.59%. Report is 4 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/c9s/bbgo/pull/1496/graphs/tree.svg?width=650&height=150&src=pr&token=ZT7I56OV8K&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin)](https://app.codecov.io/gh/c9s/bbgo/pull/1496?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin) ```diff @@ Coverage Diff @@ ## main #1496 +/- ## ========================================== - Coverage 21.61% 21.59% -0.02% ========================================== Files 602 602 Lines 44081 44115 +34 ========================================== Hits 9527 9527 - Misses 33859 33893 +34 Partials 695 695 ``` | [Files](https://app.codecov.io/gh/c9s/bbgo/pull/1496?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin) | Coverage Δ | | |---|---|---| | [pkg/types/stream.go](https://app.codecov.io/gh/c9s/bbgo/pull/1496?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL3R5cGVzL3N0cmVhbS5nbw==) | `0.00% <ø> (ø)` | | | [pkg/exchange/okex/parse.go](https://app.codecov.io/gh/c9s/bbgo/pull/1496?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2V4Y2hhbmdlL29rZXgvcGFyc2UuZ28=) | `64.51% <0.00%> (-0.53%)` | :arrow_down: | | [pkg/exchange/okex/convert.go](https://app.codecov.io/gh/c9s/bbgo/pull/1496?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2V4Y2hhbmdlL29rZXgvY29udmVydC5nbw==) | `0.86% <0.00%> (-0.02%)` | :arrow_down: | | [pkg/exchange/okex/stream.go](https://app.codecov.io/gh/c9s/bbgo/pull/1496?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2V4Y2hhbmdlL29rZXgvc3RyZWFtLmdv) | `0.00% <0.00%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/c9s/bbgo/pull/1496?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/c9s/bbgo/pull/1496?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin). Last update [08fa1e9...a7aa34c](https://app.codecov.io/gh/c9s/bbgo/pull/1496?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin).
bbgokarma-bot commented 10 months ago

Hi @bailantaotao,

Well done! 336 BBG has been sent to your polygon wallet. Please check the following tx:

https://polygonscan.com/tx/0xfe195b386fb8ae33718a7250d9a07ddbb10711bdab35611643d065cc0191be49

Thank you for your contribution!