Skip to content

Commit

Permalink
Fix for int64 deserialisation error in ReportedFinancials (#119)
Browse files Browse the repository at this point in the history
When calling StockFundamentals.ReportedFinancialsAsync for AAPL getting an error converting the value 1709268016103.4824 into a int64

IEX response 

``` json
...
"updated":1709268016103.4824
...
```
  • Loading branch information
mtf30rob committed Apr 4, 2022
1 parent 579e3da commit 1ce5fb6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class ReportedFinancialResponse
public string key { get; set; }
public string subkey { get; set; }
public long date { get; set; }
public long updated { get; set; }
public decimal updated { get; set; }
public long DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible { get; set; }
public long? formFiscalYear { get; set; }
public string version { get; set; }
Expand Down Expand Up @@ -269,4 +269,4 @@ public class ReportedFinancialResponse
public long OtherNonoperatingIncomeExpense { get; set; }
public long ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent { get; set; }
}
}
}

0 comments on commit 1ce5fb6

Please sign in to comment.