From 545d0dae3555f62b93dfa5cf2e12258ac05d030a Mon Sep 17 00:00:00 2001 From: Victor Lee Date: Mon, 1 Feb 2021 11:36:36 -0800 Subject: [PATCH] new NuGet release: 2.6.0 - cleaned up date/minute comments --- IEXSharp/IEXSharp.csproj | 2 +- .../StockPrices/Response/HistoricalPriceResponse.cs | 7 +++---- .../CoreData/StockPrices/Response/IntradayPriceResponse.cs | 5 ++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/IEXSharp/IEXSharp.csproj b/IEXSharp/IEXSharp.csproj index 5775435..6a16bef 100644 --- a/IEXSharp/IEXSharp.csproj +++ b/IEXSharp/IEXSharp.csproj @@ -3,7 +3,7 @@ netstandard2.0 true - 2.5.0 + 2.6.0 Victor Lee IEX Cloud API for C# and other .net languages. Supports SSE streaming diff --git a/IEXSharp/Model/CoreData/StockPrices/Response/HistoricalPriceResponse.cs b/IEXSharp/Model/CoreData/StockPrices/Response/HistoricalPriceResponse.cs index d4c3791..58734d2 100644 --- a/IEXSharp/Model/CoreData/StockPrices/Response/HistoricalPriceResponse.cs +++ b/IEXSharp/Model/CoreData/StockPrices/Response/HistoricalPriceResponse.cs @@ -6,9 +6,9 @@ namespace IEXSharp.Model.CoreData.StockPrices.Response [DebuggerDisplay("date={date}, open={open}, close={close}, high={high}, low={low}, vol={volume}")] public class HistoricalPriceResponse : ITimestampedDateMinute { - /// - /// Use DateTimeExtensions.GetTimestampInUTC(), which takes into account both 'date' and 'minute' and timezone - /// + /// Use DateTimeExtensions.GetTimestampInUTC(), which takes into account both 'date' and 'minute' and timezone + public string date { get; set; } + /// Use DateTimeExtensions.GetTimestampInUTC(), which takes into account both 'date' and 'minute' and timezone public string minute { get; set; } public decimal? close { get; set; } public decimal? high { get; set; } @@ -19,7 +19,6 @@ public class HistoricalPriceResponse : ITimestampedDateMinute public string id { get; set; } public string key { get; set; } public string subkey { get; set; } - public string date { get; set; } public long? updated { get; set; } public decimal? changeOverTime { get; set; } public decimal? marketChangeOverTime { get; set; } diff --git a/IEXSharp/Model/CoreData/StockPrices/Response/IntradayPriceResponse.cs b/IEXSharp/Model/CoreData/StockPrices/Response/IntradayPriceResponse.cs index 7b5f7ed..c8aafc7 100644 --- a/IEXSharp/Model/CoreData/StockPrices/Response/IntradayPriceResponse.cs +++ b/IEXSharp/Model/CoreData/StockPrices/Response/IntradayPriceResponse.cs @@ -4,10 +4,9 @@ namespace IEXSharp.Model.CoreData.StockPrices.Response { public class IntradayPriceResponse : ITimestampedDateMinute { - /// - /// Use DateTimeExtensions.GetTimestampInUTC(), which takes into account both 'date' and 'minute' and timezone - /// + /// Use DateTimeExtensions.GetTimestampInUTC(), which takes into account both 'date' and 'minute' and timezone public string date { get; set; } + /// Use DateTimeExtensions.GetTimestampInUTC(), which takes into account both 'date' and 'minute' and timezone public string minute { get; set; } public string label { get; set; } // can be null public decimal? marketOpen { get; set; }