syntax = "proto3"; package type.googleapis.com.FundRatesPbMsg; // 替换为你的包名 // 响应消息 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 { string contractcode = 1; // 合约代码 string markprice = 2; // 标记价格 string indexprice = 3; // 指数价格 string fee_rate = 4; // 费率 string estimate_fee_rate = 5; // 预估费率 int64 next_liquidation_interval = 6; // 下一个清算间隔 string total_position = 7; // 总持仓量 string index_cny = 8; // 指数价格CNY string mark_cny = 9; // 标记价格CNY int32 env = 10; // 环境标识 string base = 11; // 基础货币 string index_base = 12; // 指数基础货币 string quote = 13; // 报价货币 string base_display_name = 14; // 基础货币显示名称 string index_base_display_name = 15; // 指数基础货币显示名称 string quote_display_name = 16; // 报价货币显示名称 string pre_delivery_price = 17; // 交割前价格 int32 online = 18; // 在线状态 }