Skip to content

Commit

Permalink
Changes TransactionShares, TranShares and PostShares afrom nullable l…
Browse files Browse the repository at this point in the history
…ong to nullable decimal. Fixes exception reported in #123. Json parse error when IEX sends decimal values and cannot be parsed to long. (#124)

Fixes issue #123.
  • Loading branch information
nswilder authored Apr 28, 2022
1 parent 97c96db commit db7159f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ public class InsiderTransactionResponse
public string filingDate { get; set; }
public string fullName { get; set; }
public bool is10b51 { get; set; }
public long? postShares { get; set; }
public decimal? postShares { get; set; }
public string reportedTitle { get; set; }
public string symbol { get; set; }
public string transactionCode { get; set; }
public string transactionDate { get; set; }
public decimal? transactionPrice { get; set; }
public long? transactionShares { get; set; }
public decimal? transactionShares { get; set; }
public decimal? transactionValue { get; set; }
public string id { get; set; }
public string key { get; set; }
public string subkey { get; set; }
public long date { get; set; }
public decimal updated { get; set; }
public decimal? tranPrice { get; set; }
public long? tranShares { get; set; }
public decimal? tranShares { get; set; }
public decimal? tranValue { get; set; }
}
}

0 comments on commit db7159f

Please sign in to comment.