c9s / bbgo

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

TEST: [bitget] add tests for query account, place order #1560

Closed bailantaotao closed 6 months ago

bbgokarma-bot commented 6 months ago

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

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 21.98%. Comparing base (07e288c) to head (ceb3091). Report is 7 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/c9s/bbgo/pull/1560/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/1560?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 #1560 +/- ## ========================================== + Coverage 21.82% 21.98% +0.16% ========================================== Files 614 615 +1 Lines 44316 44374 +58 ========================================== + Hits 9670 9754 +84 + Misses 33958 33927 -31 - Partials 688 693 +5 ``` | [Files](https://app.codecov.io/gh/c9s/bbgo/pull/1560?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin) | Coverage Δ | | |---|---|---| | [...xchange/bitget/bitgetapi/v2/place\_order\_request.go](https://app.codecov.io/gh/c9s/bbgo/pull/1560?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2V4Y2hhbmdlL2JpdGdldC9iaXRnZXRhcGkvdjIvcGxhY2Vfb3JkZXJfcmVxdWVzdC5nbw==) | `0.00% <ø> (ø)` | | | [pkg/exchange/bitget/exchange.go](https://app.codecov.io/gh/c9s/bbgo/pull/1560?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2V4Y2hhbmdlL2JpdGdldC9leGNoYW5nZS5nbw==) | `43.38% <100.00%> (+21.42%)` | :arrow_up: | ... and [5 files with indirect coverage changes](https://app.codecov.io/gh/c9s/bbgo/pull/1560/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/1560?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/1560?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin). Last update [07e288c...ceb3091](https://app.codecov.io/gh/c9s/bbgo/pull/1560?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 6 months ago

Hi @bailantaotao,

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

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

Thank you for your contribution!