syntax = "proto3"; package type.googleapis.com; // 替换为你的包名 // 响应消息 message Response { string biz = 1; // 业务类型 string type = 2; // 消息类型 string base = 3; // 基础货币 string quote = 4; // 报价货币 string contractcode = 5; // 合约代码 string granularity = 6; // 粒度 Data data = 7; // 数据 int32 env = 8; // 环境标识 } // 数据消息 message Data { string typeUrl = 1; // 数据类型URL OrderVoPb value = 2; // 数据值 } message OrderVoPb { string price = 1; // 价格 string amount = 2; // 数量 string side = 3; // 交易方向,例如:"buy" 或 "sell" int64 createddate = 4; // 创建日期 int64 id = 5; // 订单ID }