-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: [strategy] add stable coin market maker #1197
Conversation
Welcome back! @c9s, This pull request may get 345 BBG. |
Codecov Report
@@ Coverage Diff @@
## main #1197 +/- ##
==========================================
- Coverage 20.98% 20.80% -0.18%
==========================================
Files 503 505 +2
Lines 34859 35023 +164
==========================================
- Hits 7315 7288 -27
- Misses 26999 27190 +191
Partials 545 545
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Re-estimated karma: this pull request may get 827 BBG |
Re-estimated karma: this pull request may get 826 BBG |
Re-estimated karma: this pull request may get 905 BBG |
Re-estimated karma: this pull request may get 972 BBG |
Re-estimated karma: this pull request may get 977 BBG |
Re-estimated karma: this pull request may get 982 BBG |
Re-estimated karma: this pull request may get 987 BBG |
Re-estimated karma: this pull request may get 997 BBG |
Re-estimated karma: this pull request may get 1021 BBG |
Re-estimated karma: this pull request may get 1031 BBG |
Re-estimated karma: this pull request may get 1036 BBG |
Re-estimated karma: this pull request may get 1041 BBG |
Re-estimated karma: this pull request may get 1046 BBG |
func (s *Strategy) initializePriceRangeBollinger(session *bbgo.ExchangeSession) { | ||
kLines := indicator.KLines(session.MarketDataStream, s.Symbol, s.PriceRangeBollinger.Interval) | ||
closePrices := indicator.ClosePrices(kLines) | ||
s.boll = indicator.BOLL2(closePrices, s.PriceRangeBollinger.Window, s.PriceRangeBollinger.K) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new indicator usage
Re-estimated karma: this pull request may get 1061 BBG |
Re-estimated karma: this pull request may get 1060 BBG |
Re-estimated karma: this pull request may get 1074 BBG |
Re-estimated karma: this pull request may get 1079 BBG |
Hi @c9s, Well done! 1084 BBG has been sent to your polygon wallet. Please check the following tx: https://polygonscan.com/tx/0xb5237dfe5cbe3bf5d0d315564cb25002bcbe6aec4f7d452a2875d380ccee6026 Thank you for your contribution! |
No description provided.