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

feature: support extra migration packages #1510

Closed c9s closed 9 months ago

bbgokarma-bot commented 9 months ago

Welcome back! @c9s, This pull request may get 289 BBG.

bbgokarma-bot commented 9 months ago

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

bbgokarma-bot commented 9 months ago

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

bbgokarma-bot commented 9 months ago

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

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (4152926) 21.90% compared to head (3d7371a) 21.92%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/c9s/bbgo/pull/1510/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/1510?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 #1510 +/- ## ========================================== + Coverage 21.90% 21.92% +0.01% ========================================== Files 602 602 Lines 43913 43922 +9 ========================================== + Hits 9620 9629 +9 - Misses 33593 33596 +3 + Partials 700 697 -3 ``` | [Files](https://app.codecov.io/gh/c9s/bbgo/pull/1510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin) | Coverage Δ | | |---|---|---| | [pkg/bbgo/config.go](https://app.codecov.io/gh/c9s/bbgo/pull/1510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2JiZ28vY29uZmlnLmdv) | `40.30% <ø> (ø)` | | | [pkg/bbgo/bootstrap.go](https://app.codecov.io/gh/c9s/bbgo/pull/1510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2JiZ28vYm9vdHN0cmFwLmdv) | `0.00% <0.00%> (ø)` | | | [pkg/exchange/max/stream.go](https://app.codecov.io/gh/c9s/bbgo/pull/1510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2V4Y2hhbmdlL21heC9zdHJlYW0uZ28=) | `0.00% <0.00%> (ø)` | | | [pkg/service/database.go](https://app.codecov.io/gh/c9s/bbgo/pull/1510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL3NlcnZpY2UvZGF0YWJhc2UuZ28=) | `0.00% <0.00%> (ø)` | | | [pkg/bbgo/environment.go](https://app.codecov.io/gh/c9s/bbgo/pull/1510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin#diff-cGtnL2JiZ28vZW52aXJvbm1lbnQuZ28=) | `1.28% <0.00%> (-0.03%)` | :arrow_down: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/c9s/bbgo/pull/1510/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/1510?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/1510?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yo-An+Lin). Last update [4152926...3d7371a](https://app.codecov.io/gh/c9s/bbgo/pull/1510?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

Hi @c9s,

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

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

Thank you for your contribution!