Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.96 KB | None | 0 0
  1. using Newtonsoft.Json;
  2.  
  3. namespace AutoSwim.Classes
  4. {
  5.  
  6.     public partial class StockFundamentals
  7.     {
  8.         [JsonProperty("AMD")]
  9.         public Amd Amd { get; set; }
  10.     }
  11.  
  12.     public partial class Amd
  13.     {
  14.         [JsonProperty("fundamental")]
  15.         public Fundamental Fundamental { get; set; }
  16.  
  17.         [JsonProperty("cusip")]
  18.         public string Cusip { get; set; }
  19.  
  20.         [JsonProperty("symbol")]
  21.         public string Symbol { get; set; }
  22.  
  23.         [JsonProperty("description")]
  24.         public string Description { get; set; }
  25.  
  26.         [JsonProperty("exchange")]
  27.         public string Exchange { get; set; }
  28.  
  29.         [JsonProperty("assetType")]
  30.         public string AssetType { get; set; }
  31.     }
  32.  
  33.     public partial class Fundamental
  34.     {
  35.         [JsonProperty("symbol")]
  36.         public string Symbol { get; set; }
  37.  
  38.         [JsonProperty("high52")]
  39.         public double High52 { get; set; }
  40.  
  41.         [JsonProperty("low52")]
  42.         public double Low52 { get; set; }
  43.  
  44.         [JsonProperty("dividendAmount")]
  45.         public long DividendAmount { get; set; }
  46.  
  47.         [JsonProperty("dividendYield")]
  48.         public long DividendYield { get; set; }
  49.  
  50.         [JsonProperty("dividendDate")]
  51.         public string DividendDate { get; set; }
  52.  
  53.         [JsonProperty("peRatio")]
  54.         public double PeRatio { get; set; }
  55.  
  56.         [JsonProperty("pegRatio")]
  57.         public long PegRatio { get; set; }
  58.  
  59.         [JsonProperty("pbRatio")]
  60.         public double PbRatio { get; set; }
  61.  
  62.         [JsonProperty("prRatio")]
  63.         public double PrRatio { get; set; }
  64.  
  65.         [JsonProperty("pcfRatio")]
  66.         public double PcfRatio { get; set; }
  67.  
  68.         [JsonProperty("grossMarginTTM")]
  69.         public double GrossMarginTtm { get; set; }
  70.  
  71.         [JsonProperty("grossMarginMRQ")]
  72.         public double GrossMarginMrq { get; set; }
  73.  
  74.         [JsonProperty("netProfitMarginTTM")]
  75.         public double NetProfitMarginTtm { get; set; }
  76.  
  77.         [JsonProperty("netProfitMarginMRQ")]
  78.         public double NetProfitMarginMrq { get; set; }
  79.  
  80.         [JsonProperty("operatingMarginTTM")]
  81.         public double OperatingMarginTtm { get; set; }
  82.  
  83.         [JsonProperty("operatingMarginMRQ")]
  84.         public double OperatingMarginMrq { get; set; }
  85.  
  86.         [JsonProperty("returnOnEquity")]
  87.         public double ReturnOnEquity { get; set; }
  88.  
  89.         [JsonProperty("returnOnAssets")]
  90.         public double ReturnOnAssets { get; set; }
  91.  
  92.         [JsonProperty("returnOnInvestment")]
  93.         public double ReturnOnInvestment { get; set; }
  94.  
  95.         [JsonProperty("quickRatio")]
  96.         public double QuickRatio { get; set; }
  97.  
  98.         [JsonProperty("currentRatio")]
  99.         public double CurrentRatio { get; set; }
  100.  
  101.         [JsonProperty("interestCoverage")]
  102.         public double InterestCoverage { get; set; }
  103.  
  104.         [JsonProperty("totalDebtToCapital")]
  105.         public double TotalDebtToCapital { get; set; }
  106.  
  107.         [JsonProperty("ltDebtToEquity")]
  108.         public double LtDebtToEquity { get; set; }
  109.  
  110.         [JsonProperty("totalDebtToEquity")]
  111.         public double TotalDebtToEquity { get; set; }
  112.  
  113.         [JsonProperty("epsTTM")]
  114.         public double EpsTtm { get; set; }
  115.  
  116.         [JsonProperty("epsChangePercentTTM")]
  117.         public long EpsChangePercentTtm { get; set; }
  118.  
  119.         [JsonProperty("epsChangeYear")]
  120.         public double EpsChangeYear { get; set; }
  121.  
  122.         [JsonProperty("epsChange")]
  123.         public long EpsChange { get; set; }
  124.  
  125.         [JsonProperty("revChangeYear")]
  126.         public long RevChangeYear { get; set; }
  127.  
  128.         [JsonProperty("revChangeTTM")]
  129.         public double RevChangeTtm { get; set; }
  130.  
  131.         [JsonProperty("revChangeIn")]
  132.         public double RevChangeIn { get; set; }
  133.  
  134.         [JsonProperty("sharesOutstanding")]
  135.         public double SharesOutstanding { get; set; }
  136.  
  137.         [JsonProperty("marketCapFloat")]
  138.         public double MarketCapFloat { get; set; }
  139.  
  140.         [JsonProperty("marketCap")]
  141.         public double MarketCap { get; set; }
  142.  
  143.         [JsonProperty("bookValuePerShare")]
  144.         public double BookValuePerShare { get; set; }
  145.  
  146.         [JsonProperty("shortIntToFloat")]
  147.         public long ShortIntToFloat { get; set; }
  148.  
  149.         [JsonProperty("shortIntDayToCover")]
  150.         public long ShortIntDayToCover { get; set; }
  151.  
  152.         [JsonProperty("divGrowthRate3Year")]
  153.         public long DivGrowthRate3Year { get; set; }
  154.  
  155.         [JsonProperty("dividendPayAmount")]
  156.         public long DividendPayAmount { get; set; }
  157.  
  158.         [JsonProperty("dividendPayDate")]
  159.         public string DividendPayDate { get; set; }
  160.  
  161.         [JsonProperty("beta")]
  162.         public double Beta { get; set; }
  163.  
  164.         [JsonProperty("vol1DayAvg")]
  165.         public long Vol1DayAvg { get; set; }
  166.  
  167.         [JsonProperty("vol10DayAvg")]
  168.         public long Vol10DayAvg { get; set; }
  169.  
  170.         [JsonProperty("vol3MonthAvg")]
  171.         public long Vol3MonthAvg { get; set; }
  172.     }
  173. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement