This commit is contained in:
钱纯净
2024-10-14 22:56:54 +08:00
parent f26c8027d0
commit 68a04b7ed7
4 changed files with 66 additions and 7 deletions

View File

@@ -1,8 +1,22 @@
package protocol
type Exchange uint8
func (this Exchange) Uint8() uint8 { return uint8(this) }
const (
Connect = 0x000d //建立连接
Handshake = 0xdb0f //握手
ExchangeSH Exchange = iota //上海交易所
ExchangeSZ //深圳交易所
)
const (
Control = 0x01
)
const (
Connect = 0x000d //建立连接
Handshake = 0xdb0f //握手
SecurityQuote = 0x053e // 行情信息
)
const (