c9s / bbgo

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

TEST: [bitget] add test to query trades, cancel orders, closed orders #1572

Closed bailantaotao closed 7 months ago

bbgokarma-bot commented 7 months ago

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

bbgokarma-bot commented 7 months ago

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

bbgokarma-bot commented 7 months ago

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

bbgokarma-bot commented 7 months ago

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

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 22.27%. Comparing base (f7cce9f) to head (e810880). Report is 8 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/c9s/bbgo/pull/1572/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/1572?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 #1572 +/- ## ========================================== + Coverage 22.06% 22.27% +0.21% ========================================== Files 615 615 Lines 44413 44417 +4 ========================================== + Hits 9800 9896 +96 + Misses 33918 33815 -103 - Partials 695 706 +11 ``` | [Files](https://app.codecov.io/gh/c9s/bbgo/pull/1572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin) | Coverage Δ | | |---|---|---| | [pkg/exchange/bitget/exchange.go](https://app.codecov.io/gh/c9s/bbgo/pull/1572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2V4Y2hhbmdlL2JpdGdldC9leGNoYW5nZS5nbw==) | `78.53% <100.00%> (+24.84%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/c9s/bbgo/pull/1572/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/c9s/bbgo/pull/1572?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/1572?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin). Last update [f7cce9f...e810880](https://app.codecov.io/gh/c9s/bbgo/pull/1572?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 7 months ago

Hi @bailantaotao,

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

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

Thank you for your contribution!