Skip to content

Commit

Permalink
Add new parameters to support 15min GME public offer data
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterRimmer71 committed Jan 13, 2025
1 parent 01e3902 commit 7351982
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferCurveDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,35 @@ public class GMEPublicOfferCurveDto
[Key(26)]
public decimal? PrezzoUnitario { get; set; }

/// <summary>
/// Granularity of the data
/// </summary>
[Key(27)]
public string Granularity { get; set; }

/// <summary>
/// Offer type
/// </summary>
[Key(28)]
public string OfferType { get; set; }

/// <summary>
/// Block ID
/// </summary>
[Key(29)]
public string BlockId { get; set; }

/// <summary>
/// Period
/// </summary>
[Key(30)]
public int? Period { get; set; }

/// <summary>
/// Minimum Acceptance Ratio
/// </summary>
[Key(31)]
public decimal? MinimumAcceptanceRatio { get; set; }

}
}
12 changes: 12 additions & 0 deletions Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDataDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,17 @@ public class GMEPublicOfferDataDto
/// </summary>
[Key(16)]
public decimal? PrezzoUnitario { get; set; }

/// <summary>
/// 15 Minute Period In Day
/// </summary>
[Key(17)]
public int? Period { get; set; }

/// <summary>
/// MINIMUM ACCEPTANCE RATIO
/// </summary>
[Key(18)]
public decimal? MinimumAcceptanceRatio { get; set; }
}
}
18 changes: 18 additions & 0 deletions Artesian/Artesian.SDK/Dto/GMEPublicOffer/GMEPublicOfferDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,24 @@ public class GMEPublicOfferDto
[Key(15)]
public string Filename { get; set; }

/// <summary>
/// Granularity
/// </summary>
[Key(16)]
public string Granularity { get; set; }

/// <summary>
/// Offer Type
/// </summary>
[Key(17)]
public string OfferType { get; set; }

/// <summary>
/// Block ID
/// </summary>
[Key(18)]
public string BlockId { get; set; }

/*
[GME_PurposeEnum] [PurposeName] | [PURPOSE_CD] [nvarchar](10) NOT NULL
[GME_TypeEnum] [TypeName] | , [TYPE_CD] [nvarchar](10) NULL
Expand Down

0 comments on commit 7351982

Please sign in to comment.