From ba640495b9288e2e8030c36f5048851aa17f7536 Mon Sep 17 00:00:00 2001 From: Marco Giannotti Date: Tue, 26 Sep 2023 10:58:00 +0200 Subject: [PATCH] Release v1.5.0 Added support for XBid --- Artesian.SDK.prj | 8 ++++---- Configuration/ArtesianConstants.m | 2 +- GMEPublicOffer/Enums/Market.m | 3 ++- Test/TestGMEPublicOffer.m | 7 ++++--- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Artesian.SDK.prj b/Artesian.SDK.prj index a3b52d7..9572549 100644 --- a/Artesian.SDK.prj +++ b/Artesian.SDK.prj @@ -5,10 +5,10 @@ niccolo.cecchi@ark-energy.eu Ark Energy This Library provides read access to the Artesian API - In v1.4.2 has been added: -- Enum for GME Markets and Zones + In v1.5.0 has been added: +- XBID market and Public offer v2.0 ${PROJECT_ROOT}\icon.png - 1.4.2 + 1.5.0 ${PROJECT_ROOT}\Artesian.SDK.mltbx @@ -117,7 +117,7 @@ icon.png - C:\Program Files\MATLAB\R2022a + C:\Program Files\MATLAB\R2023b diff --git a/Configuration/ArtesianConstants.m b/Configuration/ArtesianConstants.m index 452922c..d11d60e 100644 --- a/Configuration/ArtesianConstants.m +++ b/Configuration/ArtesianConstants.m @@ -5,7 +5,7 @@ QueryRoute = "query"; MetadataVersion = "v2.1"; GMEPublicOfferRoute = "gmepublicoffer" - GMEPublicOfferVersion = "v1.0" + GMEPublicOfferVersion = "v2.0" end end diff --git a/GMEPublicOffer/Enums/Market.m b/GMEPublicOffer/Enums/Market.m index 742b74d..6bc27d5 100644 --- a/GMEPublicOffer/Enums/Market.m +++ b/GMEPublicOffer/Enums/Market.m @@ -20,7 +20,8 @@ MB5, MB6, MBh, - MRR + MRR, + MIXBID end end diff --git a/Test/TestGMEPublicOffer.m b/Test/TestGMEPublicOffer.m index 2cd24a7..5803600 100644 --- a/Test/TestGMEPublicOffer.m +++ b/Test/TestGMEPublicOffer.m @@ -1,9 +1,10 @@ -cfg = ArtesianServiceConfig("baseAddress", "apiKey"); +cfg = ArtesianServiceConfig("baseaddr","apikey"); qs = GMEPublicOfferService(cfg); %AbsoluteRange - TimeZone - MultiIds test1 = qs.CreateGMEPublicOfferQuery() ... - .ForDate("2020-04-01") ... - .ForPurpose(Purpose.BID) ... + .ForDate("2023-07-22") ... + .ForPurpose(Purpose.OFF) ... .ForStatus(Status.ACC) ... + .ForMarket(Market.MIXBID) ... .Execute()