|
|
@@ -554,6 +554,361 @@ func (x *Erms2ArbitrageStrategy) GetASName() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
+// ERMCP_AREASPOT 企业现货表
|
|
|
+type ErmcpAreaSpot struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ //mkey: 1 2
|
|
|
+ WrStandardID *uint32 `protobuf:"varint,1,opt,name=WrStandardID" json:"WrStandardID,omitempty"` // 现货商品ID
|
|
|
+ AreaUserID *uint32 `protobuf:"varint,2,opt,name=AreaUserID" json:"AreaUserID,omitempty"` // 所属机构
|
|
|
+ OriBuyPlanQty *float64 `protobuf:"fixed64,3,opt,name=OriBuyPlanQty" json:"OriBuyPlanQty,omitempty"` // 期初采购计划数量
|
|
|
+ OriBuyPricedQty *float64 `protobuf:"fixed64,4,opt,name=OriBuyPricedQty" json:"OriBuyPricedQty,omitempty"` // 期初采购合同已定价数量
|
|
|
+ OriSellPlanQty *float64 `protobuf:"fixed64,5,opt,name=OriSellPlanQty" json:"OriSellPlanQty,omitempty"` // 期初销售计划数量
|
|
|
+ OriSellPricedQty *float64 `protobuf:"fixed64,6,opt,name=OriSellPricedQty" json:"OriSellPricedQty,omitempty"` // 期初销售合同已定价数量
|
|
|
+ BuyPlanQty *float64 `protobuf:"fixed64,7,opt,name=BuyPlanQty" json:"BuyPlanQty,omitempty"` // 采购计划数量
|
|
|
+ BuyPricedQty *float64 `protobuf:"fixed64,8,opt,name=BuyPricedQty" json:"BuyPricedQty,omitempty"` // 采购合同已定价数量
|
|
|
+ SellPlanQty *float64 `protobuf:"fixed64,9,opt,name=SellPlanQty" json:"SellPlanQty,omitempty"` // 销售计划数量
|
|
|
+ SellPricedQty *float64 `protobuf:"fixed64,10,opt,name=SellPricedQty" json:"SellPricedQty,omitempty"` // 销售合同已定价数量
|
|
|
+ TotalSpotQty *float64 `protobuf:"fixed64,11,opt,name=TotalSpotQty" json:"TotalSpotQty,omitempty"` // 现货头寸总量 = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
|
|
|
+ UpdateTime *Date `protobuf:"bytes,12,opt,name=UpdateTime" json:"UpdateTime,omitempty"` // 更新时间
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) Reset() {
|
|
|
+ *x = ErmcpAreaSpot{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_mtp2_proto_msgTypes[4]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ErmcpAreaSpot) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_mtp2_proto_msgTypes[4]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use ErmcpAreaSpot.ProtoReflect.Descriptor instead.
|
|
|
+func (*ErmcpAreaSpot) Descriptor() ([]byte, []int) {
|
|
|
+ return file_mtp2_proto_rawDescGZIP(), []int{4}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetWrStandardID() uint32 {
|
|
|
+ if x != nil && x.WrStandardID != nil {
|
|
|
+ return *x.WrStandardID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetAreaUserID() uint32 {
|
|
|
+ if x != nil && x.AreaUserID != nil {
|
|
|
+ return *x.AreaUserID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetOriBuyPlanQty() float64 {
|
|
|
+ if x != nil && x.OriBuyPlanQty != nil {
|
|
|
+ return *x.OriBuyPlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetOriBuyPricedQty() float64 {
|
|
|
+ if x != nil && x.OriBuyPricedQty != nil {
|
|
|
+ return *x.OriBuyPricedQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetOriSellPlanQty() float64 {
|
|
|
+ if x != nil && x.OriSellPlanQty != nil {
|
|
|
+ return *x.OriSellPlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetOriSellPricedQty() float64 {
|
|
|
+ if x != nil && x.OriSellPricedQty != nil {
|
|
|
+ return *x.OriSellPricedQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetBuyPlanQty() float64 {
|
|
|
+ if x != nil && x.BuyPlanQty != nil {
|
|
|
+ return *x.BuyPlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetBuyPricedQty() float64 {
|
|
|
+ if x != nil && x.BuyPricedQty != nil {
|
|
|
+ return *x.BuyPricedQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetSellPlanQty() float64 {
|
|
|
+ if x != nil && x.SellPlanQty != nil {
|
|
|
+ return *x.SellPlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetSellPricedQty() float64 {
|
|
|
+ if x != nil && x.SellPricedQty != nil {
|
|
|
+ return *x.SellPricedQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetTotalSpotQty() float64 {
|
|
|
+ if x != nil && x.TotalSpotQty != nil {
|
|
|
+ return *x.TotalSpotQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaSpot) GetUpdateTime() *Date {
|
|
|
+ if x != nil {
|
|
|
+ return x.UpdateTime
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+// ERMCP_AREAEXPOSURE 企业敞口表
|
|
|
+type ErmcpAreaExposure struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ //mkey: 1 2
|
|
|
+ //nkey: 1
|
|
|
+ MiddleGoodsID *uint32 `protobuf:"varint,1,opt,name=MiddleGoodsID" json:"MiddleGoodsID,omitempty"` // 套保品种
|
|
|
+ AreaUserID *uint32 `protobuf:"varint,2,opt,name=AreaUserID" json:"AreaUserID,omitempty"` // 所属机构
|
|
|
+ OriBuyPlanQty *float64 `protobuf:"fixed64,3,opt,name=OriBuyPlanQty" json:"OriBuyPlanQty,omitempty"` // 期初采购计划数量
|
|
|
+ OriBuyPricedQty *float64 `protobuf:"fixed64,4,opt,name=OriBuyPricedQty" json:"OriBuyPricedQty,omitempty"` // 期初采购合同已定价数量
|
|
|
+ OriSellPlanQty *float64 `protobuf:"fixed64,5,opt,name=OriSellPlanQty" json:"OriSellPlanQty,omitempty"` // 期初销售计划数量
|
|
|
+ OriSellPricedQty *float64 `protobuf:"fixed64,6,opt,name=OriSellPricedQty" json:"OriSellPricedQty,omitempty"` // 期初销售合同已定价数量
|
|
|
+ OriBuyFutureQty *uint64 `protobuf:"varint,7,opt,name=OriBuyFutureQty" json:"OriBuyFutureQty,omitempty"` // 期初买入期货数量
|
|
|
+ OriSellFutureQty *uint64 `protobuf:"varint,8,opt,name=OriSellFutureQty" json:"OriSellFutureQty,omitempty"` // 期初卖出期货数量
|
|
|
+ BuyPlanQty *float64 `protobuf:"fixed64,9,opt,name=BuyPlanQty" json:"BuyPlanQty,omitempty"` // 采购计划数量
|
|
|
+ BuyPricedQty *float64 `protobuf:"fixed64,10,opt,name=BuyPricedQty" json:"BuyPricedQty,omitempty"` // 采购合同已定价数量
|
|
|
+ SellPlanQty *float64 `protobuf:"fixed64,11,opt,name=SellPlanQty" json:"SellPlanQty,omitempty"` // 销售计划数量
|
|
|
+ SellPricedQty *float64 `protobuf:"fixed64,12,opt,name=SellPricedQty" json:"SellPricedQty,omitempty"` // 销售合同已定价数量
|
|
|
+ BuyFutureQty *float64 `protobuf:"fixed64,13,opt,name=BuyFutureQty" json:"BuyFutureQty,omitempty"` // 买入期货数量
|
|
|
+ SellFutureQty *float64 `protobuf:"fixed64,14,opt,name=SellFutureQty" json:"SellFutureQty,omitempty"` // 卖出期货数量
|
|
|
+ TotalSpotQty *float64 `protobuf:"fixed64,15,opt,name=TotalSpotQty" json:"TotalSpotQty,omitempty"` // 现货头寸总量
|
|
|
+ TotalFutureQty *float64 `protobuf:"fixed64,16,opt,name=TotalFutureQty" json:"TotalFutureQty,omitempty"` // 期货头寸总量
|
|
|
+ TotalExposure *float64 `protobuf:"fixed64,17,opt,name=TotalExposure" json:"TotalExposure,omitempty"` // 实时总敞口
|
|
|
+ TotalHedgeRatio *float64 `protobuf:"fixed64,18,opt,name=TotalHedgeRatio" json:"TotalHedgeRatio,omitempty"` // 总套保比率
|
|
|
+ TotalNeedHedgeQty *float64 `protobuf:"fixed64,19,opt,name=TotalNeedHedgeQty" json:"TotalNeedHedgeQty,omitempty"` // 应套保总量
|
|
|
+ NeedHedgeExposoure *float64 `protobuf:"fixed64,20,opt,name=NeedHedgeExposoure" json:"NeedHedgeExposoure,omitempty"` // 应套保敞口
|
|
|
+ NeedHedgeRatio *float64 `protobuf:"fixed64,21,opt,name=NeedHedgeRatio" json:"NeedHedgeRatio,omitempty"` // 应套保比率
|
|
|
+ UpdateTime *Date `protobuf:"bytes,22,opt,name=UpdateTime" json:"UpdateTime,omitempty"` // 更新时间
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) Reset() {
|
|
|
+ *x = ErmcpAreaExposure{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_mtp2_proto_msgTypes[5]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ErmcpAreaExposure) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_mtp2_proto_msgTypes[5]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use ErmcpAreaExposure.ProtoReflect.Descriptor instead.
|
|
|
+func (*ErmcpAreaExposure) Descriptor() ([]byte, []int) {
|
|
|
+ return file_mtp2_proto_rawDescGZIP(), []int{5}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetMiddleGoodsID() uint32 {
|
|
|
+ if x != nil && x.MiddleGoodsID != nil {
|
|
|
+ return *x.MiddleGoodsID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetAreaUserID() uint32 {
|
|
|
+ if x != nil && x.AreaUserID != nil {
|
|
|
+ return *x.AreaUserID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetOriBuyPlanQty() float64 {
|
|
|
+ if x != nil && x.OriBuyPlanQty != nil {
|
|
|
+ return *x.OriBuyPlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetOriBuyPricedQty() float64 {
|
|
|
+ if x != nil && x.OriBuyPricedQty != nil {
|
|
|
+ return *x.OriBuyPricedQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetOriSellPlanQty() float64 {
|
|
|
+ if x != nil && x.OriSellPlanQty != nil {
|
|
|
+ return *x.OriSellPlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetOriSellPricedQty() float64 {
|
|
|
+ if x != nil && x.OriSellPricedQty != nil {
|
|
|
+ return *x.OriSellPricedQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetOriBuyFutureQty() uint64 {
|
|
|
+ if x != nil && x.OriBuyFutureQty != nil {
|
|
|
+ return *x.OriBuyFutureQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetOriSellFutureQty() uint64 {
|
|
|
+ if x != nil && x.OriSellFutureQty != nil {
|
|
|
+ return *x.OriSellFutureQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetBuyPlanQty() float64 {
|
|
|
+ if x != nil && x.BuyPlanQty != nil {
|
|
|
+ return *x.BuyPlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetBuyPricedQty() float64 {
|
|
|
+ if x != nil && x.BuyPricedQty != nil {
|
|
|
+ return *x.BuyPricedQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetSellPlanQty() float64 {
|
|
|
+ if x != nil && x.SellPlanQty != nil {
|
|
|
+ return *x.SellPlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetSellPricedQty() float64 {
|
|
|
+ if x != nil && x.SellPricedQty != nil {
|
|
|
+ return *x.SellPricedQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetBuyFutureQty() float64 {
|
|
|
+ if x != nil && x.BuyFutureQty != nil {
|
|
|
+ return *x.BuyFutureQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetSellFutureQty() float64 {
|
|
|
+ if x != nil && x.SellFutureQty != nil {
|
|
|
+ return *x.SellFutureQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetTotalSpotQty() float64 {
|
|
|
+ if x != nil && x.TotalSpotQty != nil {
|
|
|
+ return *x.TotalSpotQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetTotalFutureQty() float64 {
|
|
|
+ if x != nil && x.TotalFutureQty != nil {
|
|
|
+ return *x.TotalFutureQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetTotalExposure() float64 {
|
|
|
+ if x != nil && x.TotalExposure != nil {
|
|
|
+ return *x.TotalExposure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetTotalHedgeRatio() float64 {
|
|
|
+ if x != nil && x.TotalHedgeRatio != nil {
|
|
|
+ return *x.TotalHedgeRatio
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetTotalNeedHedgeQty() float64 {
|
|
|
+ if x != nil && x.TotalNeedHedgeQty != nil {
|
|
|
+ return *x.TotalNeedHedgeQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetNeedHedgeExposoure() float64 {
|
|
|
+ if x != nil && x.NeedHedgeExposoure != nil {
|
|
|
+ return *x.NeedHedgeExposoure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetNeedHedgeRatio() float64 {
|
|
|
+ if x != nil && x.NeedHedgeRatio != nil {
|
|
|
+ return *x.NeedHedgeRatio
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ErmcpAreaExposure) GetUpdateTime() *Date {
|
|
|
+ if x != nil {
|
|
|
+ return x.UpdateTime
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
var File_mtp2_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_mtp2_proto_rawDesc = []byte{
|
|
|
@@ -659,7 +1014,91 @@ var file_mtp2_proto_rawDesc = []byte{
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a,
|
|
|
0x55, 0x70, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x53,
|
|
|
0x4e, 0x61, 0x6d, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x53, 0x4e, 0x61,
|
|
|
- 0x6d, 0x65,
|
|
|
+ 0x6d, 0x65, 0x22, 0xd1, 0x03, 0x0a, 0x0d, 0x45, 0x72, 0x6d, 0x63, 0x70, 0x41, 0x72, 0x65, 0x61,
|
|
|
+ 0x53, 0x70, 0x6f, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x72, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61,
|
|
|
+ 0x72, 0x64, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x57, 0x72, 0x53, 0x74,
|
|
|
+ 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61,
|
|
|
+ 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x41, 0x72,
|
|
|
+ 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x4f, 0x72, 0x69, 0x42,
|
|
|
+ 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,
|
|
|
+ 0x0d, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x28,
|
|
|
+ 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74,
|
|
|
+ 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50,
|
|
|
+ 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x53,
|
|
|
+ 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01,
|
|
|
+ 0x52, 0x0e, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79,
|
|
|
+ 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65,
|
|
|
+ 0x64, 0x51, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x53,
|
|
|
+ 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
|
|
|
+ 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01,
|
|
|
+ 0x52, 0x0a, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c,
|
|
|
+ 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01,
|
|
|
+ 0x28, 0x01, 0x52, 0x0c, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79,
|
|
|
+ 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18,
|
|
|
+ 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51,
|
|
|
+ 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64,
|
|
|
+ 0x51, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50,
|
|
|
+ 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x6f, 0x74, 0x61,
|
|
|
+ 0x6c, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c,
|
|
|
+ 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0a,
|
|
|
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b,
|
|
|
+ 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61,
|
|
|
+ 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xf5, 0x06, 0x0a, 0x11, 0x45, 0x72, 0x6d, 0x63, 0x70,
|
|
|
+ 0x41, 0x72, 0x65, 0x61, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d,
|
|
|
+ 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18, 0x01, 0x20,
|
|
|
+ 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73,
|
|
|
+ 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72,
|
|
|
+ 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e,
|
|
|
+ 0x51, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x4f, 0x72, 0x69, 0x42, 0x75,
|
|
|
+ 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x42,
|
|
|
+ 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
+ 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51,
|
|
|
+ 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61,
|
|
|
+ 0x6e, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x4f, 0x72, 0x69, 0x53,
|
|
|
+ 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72,
|
|
|
+ 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x06,
|
|
|
+ 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69,
|
|
|
+ 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79,
|
|
|
+ 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
|
+ 0x0f, 0x4f, 0x72, 0x69, 0x42, 0x75, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79,
|
|
|
+ 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72, 0x69, 0x53, 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72,
|
|
|
+ 0x65, 0x51, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x4f, 0x72, 0x69, 0x53,
|
|
|
+ 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
|
|
|
+ 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01,
|
|
|
+ 0x52, 0x0a, 0x42, 0x75, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c,
|
|
|
+ 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01,
|
|
|
+ 0x28, 0x01, 0x52, 0x0c, 0x42, 0x75, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79,
|
|
|
+ 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18,
|
|
|
+ 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x51,
|
|
|
+ 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x64,
|
|
|
+ 0x51, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x50,
|
|
|
+ 0x72, 0x69, 0x63, 0x65, 0x64, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x42, 0x75, 0x79, 0x46,
|
|
|
+ 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c,
|
|
|
+ 0x42, 0x75, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d,
|
|
|
+ 0x53, 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x0e, 0x20,
|
|
|
+ 0x01, 0x28, 0x01, 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51,
|
|
|
+ 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x70, 0x6f, 0x74, 0x51,
|
|
|
+ 0x74, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53,
|
|
|
+ 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x46,
|
|
|
+ 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
|
|
|
+ 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x24,
|
|
|
+ 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18,
|
|
|
+ 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f,
|
|
|
+ 0x73, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x48, 0x65, 0x64,
|
|
|
+ 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x54,
|
|
|
+ 0x6f, 0x74, 0x61, 0x6c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x2c,
|
|
|
+ 0x0a, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65,
|
|
|
+ 0x51, 0x74, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c,
|
|
|
+ 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x51, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x12,
|
|
|
+ 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x6f, 0x75,
|
|
|
+ 0x72, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65,
|
|
|
+ 0x64, 0x67, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x6f, 0x75, 0x72, 0x65, 0x12, 0x26, 0x0a, 0x0e,
|
|
|
+ 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x15,
|
|
|
+ 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x4e, 0x65, 0x65, 0x64, 0x48, 0x65, 0x64, 0x67, 0x65, 0x52,
|
|
|
+ 0x61, 0x74, 0x69, 0x6f, 0x12, 0x28, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
|
|
|
+ 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61,
|
|
|
+ 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
@@ -674,21 +1113,25 @@ func file_mtp2_proto_rawDescGZIP() []byte {
|
|
|
return file_mtp2_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_mtp2_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
+var file_mtp2_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
|
var file_mtp2_proto_goTypes = []interface{}{
|
|
|
(*TradeRule)(nil), // 0: pb.TradeRule
|
|
|
(*TradeRuleInfoStruct)(nil), // 1: pb.TradeRuleInfoStruct
|
|
|
(*Date)(nil), // 2: pb.Date
|
|
|
(*Erms2ArbitrageStrategy)(nil), // 3: pb.Erms2ArbitrageStrategy
|
|
|
+ (*ErmcpAreaSpot)(nil), // 4: pb.ErmcpAreaSpot
|
|
|
+ (*ErmcpAreaExposure)(nil), // 5: pb.ErmcpAreaExposure
|
|
|
}
|
|
|
var file_mtp2_proto_depIdxs = []int32{
|
|
|
0, // 0: pb.TradeRuleInfoStruct.TradeRules:type_name -> pb.TradeRule
|
|
|
2, // 1: pb.Erms2ArbitrageStrategy.UpDatetime:type_name -> pb.Date
|
|
|
- 2, // [2:2] is the sub-list for method output_type
|
|
|
- 2, // [2:2] is the sub-list for method input_type
|
|
|
- 2, // [2:2] is the sub-list for extension type_name
|
|
|
- 2, // [2:2] is the sub-list for extension extendee
|
|
|
- 0, // [0:2] is the sub-list for field type_name
|
|
|
+ 2, // 2: pb.ErmcpAreaSpot.UpdateTime:type_name -> pb.Date
|
|
|
+ 2, // 3: pb.ErmcpAreaExposure.UpdateTime:type_name -> pb.Date
|
|
|
+ 4, // [4:4] is the sub-list for method output_type
|
|
|
+ 4, // [4:4] is the sub-list for method input_type
|
|
|
+ 4, // [4:4] is the sub-list for extension type_name
|
|
|
+ 4, // [4:4] is the sub-list for extension extendee
|
|
|
+ 0, // [0:4] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_mtp2_proto_init() }
|
|
|
@@ -745,6 +1188,30 @@ func file_mtp2_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_mtp2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ErmcpAreaSpot); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_mtp2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ErmcpAreaExposure); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
@@ -752,7 +1219,7 @@ func file_mtp2_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_mtp2_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 4,
|
|
|
+ NumMessages: 6,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
|
},
|