From 7351982098bf91868f709bbf7fcadfc2992b4e14 Mon Sep 17 00:00:00 2001 From: PeterRimmer Date: Mon, 13 Jan 2025 14:57:31 +0000 Subject: [PATCH] Add new parameters to support 15min GME public offer data --- .../GMEPublicOffer/GMEPublicOfferCurveDto.cs | 30 +++++++++++++++++++ .../GMEPublicOffer/GMEPublicOfferDataDto.cs | 12 ++++++++ .../Dto/GMEPublicOffer/GMEPublicOfferDto.cs | 18 +++++++++++ 3 files changed, 60 insertions(+) diff --git a/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferCurveDto.cs b/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferCurveDto.cs index 3be5820..47e05ee 100644 --- a/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferCurveDto.cs +++ b/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferCurveDto.cs @@ -180,5 +180,35 @@ public class GMEPublicOfferCurveDto [Key(26)] public decimal? PrezzoUnitario { get; set; } + /// + /// Granularity of the data + /// + [Key(27)] + public string Granularity { get; set; } + + /// + /// Offer type + /// + [Key(28)] + public string OfferType { get; set; } + + /// + /// Block ID + /// + [Key(29)] + public string BlockId { get; set; } + + /// + /// Period + /// + [Key(30)] + public int? Period { get; set; } + + /// + /// Minimum Acceptance Ratio + /// + [Key(31)] + public decimal? MinimumAcceptanceRatio { get; set; } + } } \ No newline at end of file diff --git a/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDataDto.cs b/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDataDto.cs index 9d6220b..dedb4c1 100644 --- a/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDataDto.cs +++ b/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDataDto.cs @@ -111,5 +111,17 @@ public class GMEPublicOfferDataDto /// [Key(16)] public decimal? PrezzoUnitario { get; set; } + + /// + /// 15 Minute Period In Day + /// + [Key(17)] + public int? Period { get; set; } + + /// + /// MINIMUM ACCEPTANCE RATIO + /// + [Key(18)] + public decimal? MinimumAcceptanceRatio { get; set; } } } \ No newline at end of file diff --git a/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDto.cs b/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDto.cs index 9ef4e04..21aa994 100644 --- a/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDto.cs +++ b/Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDto.cs @@ -107,6 +107,24 @@ public class GMEPublicOfferDto [Key(15)] public string Filename { get; set; } + /// + /// Granularity + /// + [Key(16)] + public string Granularity { get; set; } + + /// + /// Offer Type + /// + [Key(17)] + public string OfferType { get; set; } + + /// + /// Block ID + /// + [Key(18)] + public string BlockId { get; set; } + /* [GME_PurposeEnum] [PurposeName] | [PURPOSE_CD] [nvarchar](10) NOT NULL [GME_TypeEnum] [TypeName] | , [TYPE_CD] [nvarchar](10) NULL