mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
开发
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user