Skip to content

v0.4.0-beta.23

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Jun 07:05
· 47 commits to main since this release
aad1087

Minor Changes

  • 716185b: 收紧并扩展公开行为:OrderSnapshot.type / raw order type 归一为小写 OrderType 并通过 rawType 保留 venue 原始串;SDK 生成的 client order id 加入进程级熵;account getter 返回冻结快照;stop() 兑现 graceful drain、timeout 和 stopped client 清理,并在停止后通过 assertStarted 拦截新命令。

    新增 Binance PAPI 风控面:私有流 riskLevelChange 会发布 account.risk_level_changeRiskSnapshot 新增 riskLevel,并用事件中的 riskRatio、equity 和 maintenance margin 字段实时回填风险快照。

Patch Changes

  • 716185b: 修复内部事件流和恢复流程:AsyncEventBus 的并发 next() pending reader 现在按 FIFO 队列唤醒,close() 会结束全部等待中的 reader;market resumeStreams() 改为并发恢复订阅,并保留每条流自己的错误隔离。