type.googleapis.com.DepthPbMsg.proto 771 B

12345678910111213141516171819202122232425262728293031323334
  1. syntax = "proto3";
  2. package type.googleapis.com; // 替换为你的包名
  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. DepthPbMsg value = 2; // 数据值
  18. }
  19. message DepthPbMsg {
  20. message Body {
  21. // Body的具体字段未在提供的JavaScript代码中指定,需要根据实际序列化逻辑定义。
  22. }
  23. // 卖方深度列表
  24. repeated Body asksList = 1;
  25. // 买方深度列表
  26. repeated Body bidsList = 2;
  27. }