c9s / bbgo

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

FIX: [bitget] fix post only order #1577

Closed bailantaotao closed 4 months ago

bbgokarma-bot commented 4 months ago

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

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 88.88889% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 22.31%. Comparing base (c5dbd4b) to head (7ed095e). Report is 2 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/c9s/bbgo/pull/1577/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/1577?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 #1577 +/- ## ========================================== + Coverage 22.28% 22.31% +0.03% ========================================== Files 615 615 Lines 44416 44457 +41 ========================================== + Hits 9896 9921 +25 - Misses 33814 33830 +16 Partials 706 706 ``` | [Files](https://app.codecov.io/gh/c9s/bbgo/pull/1577?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/1577?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2V4Y2hhbmdlL2JpdGdldC9leGNoYW5nZS5nbw==) | `79.43% <100.00%> (+0.90%)` | :arrow_up: | | [pkg/exchange/bitget/convert.go](https://app.codecov.io/gh/c9s/bbgo/pull/1577?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2V4Y2hhbmdlL2JpdGdldC9jb252ZXJ0Lmdv) | `93.04% <84.21%> (-0.46%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/c9s/bbgo/pull/1577/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/1577?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/1577?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin). Last update [c5dbd4b...7ed095e](https://app.codecov.io/gh/c9s/bbgo/pull/1577?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 4 months ago

Hi @bailantaotao,

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

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

Thank you for your contribution!