Skip to content

Commit

Permalink
new NuGet release: 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vslee committed Oct 10, 2020
1 parent f6aee3c commit 7d87281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IEXSharp/IEXSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<VersionPrefix>2.3.0</VersionPrefix>
<VersionPrefix>2.4.0</VersionPrefix>
<Authors>Victor Lee</Authors>
<Company />
<Description>IEX Cloud API for C# and other .net languages. Supports SSE streaming</Description>
Expand Down

2 comments on commit 7d87281

@tmccart1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you @vslee !!!

@tmccart1
Copy link
Contributor

@tmccart1 tmccart1 commented on 7d87281 Oct 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @vslee , after upgrading to version 2.4.0, I am still getting an exception when I make this call: IEXCloudClient.StockResearch.AdvancedStatsAsync("AACG")

Here is the stacktrace:

System.Text.Json.JsonException: {"week52change":-0.28,"week52high":1.92,"week52low":0.61,"marketcap":34277477,"employees":768,"day200MovingAvg":1.09,"day50MovingAvg":1.13,"float":null,"avg10Volume":41015.4,"avg30Volume":33503.33,"ttmEPS":-0.737,"ttmDividendRate":null,"companyName":"ATA Creativity Global","sharesOutstanding":31738405,"month1ChangePercent":0,"month3ChangePercent":-0.268456,"month6ChangePercent":0.282353,"ytdChangePercent":-0.192593,"year1ChangePercent":-0.273333,"day5ChangePercent":-0.009091,"day30ChangePercent":0.028302,"maxChangePercent":-0.8754,"year5ChangePercent":-0.6484,"year2ChangePercent":0.0686,"nextDividendDate":null,"dividendYield":null,"nextEarningsDate":null,"exDividendDate":"2018-08-27","peRatio":-1.47,"beta":0.1280325782062981,"totalCash":22136721,"currentDebt":3667545,"revenue":14149381,"grossProfit":2948032,"totalRevenue":14149381,"EBITDA":-13350800,"revenuePerShare":0.45,"revenuePerEmployee":18423.67,"debtToEquity":0.13,"profitMargin":-1.3619356917451018,"enterpriseValue":17920209.450000003,"enterpriseValueToRevenue":1.27,"priceToSales":2.44,"priceToBook":0.7955173106676837,"forwardPERatio":null,"pegRatio":null,"week52highDate":"2019-10-15","week52lowDate":"2020-04-27","peHigh":-6.438178397899544,"peLow":-2.0454629284993344,"putCallRatio":null} ---> System.Text.Json.JsonException: The JSON value could not be converted to System.Int64. Path: $.float | LineNumber: 0 | BytePositionInLine: 151. ---> System.InvalidOperationException: Cannot get the value of a token type 'Null' as a number. at System.Text.Json.Utf8JsonReader.TryGetInt64(Int64& value) at System.Text.Json.Utf8JsonReader.GetInt64() at System.Text.Json.Serialization.Converters.JsonConverterInt64.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) at System.Text.Json.JsonPropertyInfoNotNullable`4.OnRead(ReadStack& state, Utf8JsonReader& reader) at System.Text.Json.JsonPropertyInfo.Read(JsonTokenType tokenType, ReadStack& state, Utf8JsonReader& reader) at System.Text.Json.JsonSerializer.HandleNull(Utf8JsonReader& reader, ReadStack& state) at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack) --- End of inner exception stack trace --- at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& readStack, Utf8JsonReader& reader, Exception ex) at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack) at System.Text.Json.JsonSerializer.ReadCore(Type returnType, JsonSerializerOptions options, Utf8JsonReader& reader) at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options) at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options) at IEXSharp.Helper.ExecutorREST.ExecuteAsync[ReturnType](String urlPattern, NameValueCollection pathNVC, QueryStringBuilder qsb, Boolean forceUseSecretToken) --- End of inner exception stack trace --- at IEXSharp.Helper.ExecutorREST.ExecuteAsync[ReturnType](String urlPattern, NameValueCollection pathNVC, QueryStringBuilder qsb, Boolean forceUseSecretToken) at IEXSharp.Helper.ExecutorREST.SymbolExecuteAsync[ReturnType](String urlPattern, String symbol) at IEXSharp.Service.Cloud.CoreData.StockResearch.StockResearchService.AdvancedStatsAsync(String symbol)

Please sign in to comment.