Skip to content
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

websocket_service.go -> WsCombinedKlineServe Bug #58

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

EchoHuyo
Copy link

@EchoHuyo EchoHuyo commented Feb 7, 2025

修改了 WsCombinedKlineServe 方法

原因

修复了 WsCombinedKlineServe message 数据处理问题,参数symbolIntervalPair 不支持同币种不同时间。

变更内容

  • 将 message 数据处理改为成和WsKlineServe一直。
  • 将参数 symbolIntervalPair 改为[]CombinedKlineSymbolInterval{ Symbol string Interval string}。

影响范围

此修改仅影响 WsCombinedKlineServe,不会对其他功能产生影响。

测试情况

已通过单元测试。

echo added 2 commits February 7, 2025 14:54
### 修改了 `WsCombinedKlineServe` 方法
#### 原因
修复了 `WsCombinedKlineServe` message 数据处理问题,参数symbolIntervalPair 不支持同币种不同时间。

#### 变更内容
- 将 message 数据处理改为成和WsKlineServe一直。
- 将参数 symbolIntervalPair 改为[]CombinedKlineSymbolInterval{ Symbol string Interval string}。

#### 影响范围
此修改仅影响 WsCombinedKlineServe,不会对其他功能产生影响。

#### 测试情况
已通过单元测试。
@EchoHuyo
Copy link
Author

EchoHuyo commented Feb 8, 2025

Updated to solve PR #44 "fix the issue with the 'ReadMessage' thread not exiting when stopCh is triggered " He failed to solve this problem, and PR #44 still threw an exception when retesting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant