| 1234567891011121314151617181920212223242526272829303132 | syntax = "proto3";package type.googleapis.com.CandlesPbMsg; // 替换为你的包名// 响应消息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  repeated Body value = 2; // 数据值}message Body {  int64 createate = 1;  // 创建日期  string low = 2;       // 最低价  string high = 3;      // 最高价  string open = 4;      // 开盘价  string close = 5;     // 收盘价  string amount = 6;    // 交易量  string size = 7;      // 交易额}
 |