-
-
Notifications
You must be signed in to change notification settings - Fork 305
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: [okx] support kline subscriptions #1519
Conversation
Welcome back! @bailantaotao, This pull request may get 278 BBG. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1519 +/- ##
==========================================
- Coverage 21.79% 21.78% -0.02%
==========================================
Files 605 605
Lines 43851 43874 +23
==========================================
Hits 9557 9557
- Misses 33612 33635 +23
Partials 682 682
Continue to review full report in Codecov by Sentry.
|
log.WithError(err).Error("subscribe error") | ||
func (s *KLineStream) Connect(ctx context.Context) error { | ||
if len(s.StandardStream.Subscriptions) == 0 { | ||
log.Info("no subscriptions in kline") |
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.
Warnf?
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.
Since the kline stream is not always subscribed, i print the log with info
Hi @bailantaotao, Well done! 308 BBG has been sent to your polygon wallet. Please check the following tx: https://polygonscan.com/tx/0xb9828c47706c7ab54c09e54479b6a03f843562d31c976f6df7986447aa1c8a9b Thank you for your contribution! |
No description provided.