type.googleapis.com.FundRatesPbMsg.proto 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. syntax = "proto3";
  2. package type.googleapis.com.FundRatesPbMsg; // 替换为你的包名
  3. // 响应消息
  4. message Response {
  5. string biz = 1; // 业务类型
  6. string type = 2; // 消息类型
  7. string base = 3; // 基础货币
  8. string quote = 4; // 报价货币
  9. string contractcode = 5; // 合约代码
  10. string granularity = 6; // 粒度
  11. Data data = 7; // 数据
  12. int32 env = 8; // 环境标识
  13. }
  14. // 数据消息
  15. message Data {
  16. string typeUrl = 1; // 数据类型URL
  17. repeated Body value = 2; // 数据值
  18. }
  19. message Body {
  20. string contractcode = 1; // 合约代码
  21. string markprice = 2; // 标记价格
  22. string indexprice = 3; // 指数价格
  23. string fee_rate = 4; // 费率
  24. string estimate_fee_rate = 5; // 预估费率
  25. int64 next_liquidation_interval = 6; // 下一个清算间隔
  26. string total_position = 7; // 总持仓量
  27. string index_cny = 8; // 指数价格CNY
  28. string mark_cny = 9; // 标记价格CNY
  29. int32 env = 10; // 环境标识
  30. string base = 11; // 基础货币
  31. string index_base = 12; // 指数基础货币
  32. string quote = 13; // 报价货币
  33. string base_display_name = 14; // 基础货币显示名称
  34. string index_base_display_name = 15; // 指数基础货币显示名称
  35. string quote_display_name = 16; // 报价货币显示名称
  36. string pre_delivery_price = 17; // 交割前价格
  37. int32 online = 18; // 在线状态
  38. }