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

[dca2] add dev mode field for dev #1515

Closed kbearXD closed 9 months ago

bbgokarma-bot commented 9 months ago

Welcome back! @kbearXD, This pull request may get 251 BBG.

CLAassistant commented 9 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


chiahung.lin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (565cdef) 21.78% compared to head (3f6fffa) 21.77%.

:exclamation: Current head 3f6fffa differs from pull request most recent head dfb65ba. Consider uploading reports for the commit dfb65ba to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/c9s/bbgo/pull/1515/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/1515?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 #1515 +/- ## ========================================== - Coverage 21.78% 21.77% -0.01% ========================================== Files 604 605 +1 Lines 43885 43879 -6 ========================================== - Hits 9559 9556 -3 + Misses 33643 33642 -1 + Partials 683 681 -2 ``` | [Files](https://app.codecov.io/gh/c9s/bbgo/pull/1515?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin) | Coverage Δ | | |---|---|---| | [pkg/strategy/dca2/profit\_stats.go](https://app.codecov.io/gh/c9s/bbgo/pull/1515?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL3N0cmF0ZWd5L2RjYTIvcHJvZml0X3N0YXRzLmdv) | `0.00% <0.00%> (ø)` | | | [pkg/strategy/dca2/open\_position.go](https://app.codecov.io/gh/c9s/bbgo/pull/1515?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL3N0cmF0ZWd5L2RjYTIvb3Blbl9wb3NpdGlvbi5nbw==) | `45.56% <0.00%> (-6.61%)` | :arrow_down: | | [pkg/strategy/dca2/strategy.go](https://app.codecov.io/gh/c9s/bbgo/pull/1515?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL3N0cmF0ZWd5L2RjYTIvc3RyYXRlZ3kuZ28=) | `0.82% <0.00%> (-0.04%)` | :arrow_down: | | [pkg/strategy/dca2/recover.go](https://app.codecov.io/gh/c9s/bbgo/pull/1515?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL3N0cmF0ZWd5L2RjYTIvcmVjb3Zlci5nbw==) | `37.35% <52.72%> (+2.24%)` | :arrow_up: | ... and [12 files with indirect coverage changes](https://app.codecov.io/gh/c9s/bbgo/pull/1515/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/1515?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/1515?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin). Last update [565cdef...dfb65ba](https://app.codecov.io/gh/c9s/bbgo/pull/1515?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 9 months ago

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

bbgokarma-bot commented 9 months ago

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

bbgokarma-bot commented 9 months ago

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

bbgokarma-bot commented 9 months ago

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

bbgokarma-bot commented 9 months ago

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

bbgokarma-bot commented 9 months ago

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

bbgokarma-bot commented 9 months ago

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

bbgokarma-bot commented 9 months ago

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

bbgokarma-bot commented 9 months ago

Hi @kbearXD,

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

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

Thank you for your contribution!