diff --git a/protocol/const.go b/protocol/const.go index 40bdc72..1c341a8 100644 --- a/protocol/const.go +++ b/protocol/const.go @@ -1,5 +1,7 @@ package protocol +import "time" + const ( TypeConnect = 0x000D //建立连接 TypeHeart = 0x0004 //心跳 @@ -12,6 +14,11 @@ const ( TypeKline = 0x052D //K线图 ) +var ( + // ExchangeEstablish 交易所成立时间 + ExchangeEstablish = time.Date(1990, 12, 19, 0, 0, 0, 0, time.Local) +) + /* 从其他地方复制 const (