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

FEATURE: [rebalance] add balance type #1550

Closed narumiruna closed 6 months ago

bbgokarma-bot commented 6 months ago

Welcome back! @narumiruna, This pull request may get 295 BBG.

bbgokarma-bot commented 6 months ago

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

bbgokarma-bot commented 6 months ago

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

bbgokarma-bot commented 6 months ago

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

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 21.74%. Comparing base (449c0ab) to head (3ef7d3e). 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/1550/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/1550?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 #1550 +/- ## ========================================== - Coverage 21.76% 21.74% -0.02% ========================================== Files 608 609 +1 Lines 44020 44046 +26 ========================================== Hits 9579 9579 - Misses 33759 33785 +26 Partials 682 682 ``` | [Files](https://app.codecov.io/gh/c9s/bbgo/pull/1550?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/price\_type.go](https://app.codecov.io/gh/c9s/bbgo/pull/1550?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL3R5cGVzL3ByaWNlX3R5cGUuZ28=) | `0.00% <0.00%> (ø)` | | | [pkg/types/balance\_type.go](https://app.codecov.io/gh/c9s/bbgo/pull/1550?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL3R5cGVzL2JhbGFuY2VfdHlwZS5nbw==) | `0.00% <0.00%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/c9s/bbgo/pull/1550?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/1550?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin). Last update [449c0ab...3ef7d3e](https://app.codecov.io/gh/c9s/bbgo/pull/1550?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

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

bbgokarma-bot commented 6 months ago

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

bbgokarma-bot commented 6 months ago

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

bbgokarma-bot commented 6 months ago

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

bbgokarma-bot commented 6 months ago

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

bbgokarma-bot commented 6 months ago

Hi @narumiruna,

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

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

Thank you for your contribution!