| 1 | package pl.zankowski.iextrading4j.api.stocks; | |
| 2 | ||
| 3 | import com.fasterxml.jackson.annotation.JsonCreator; | |
| 4 | import com.fasterxml.jackson.annotation.JsonFormat; | |
| 5 | import com.fasterxml.jackson.annotation.JsonProperty; | |
| 6 | import com.google.common.base.MoreObjects; | |
| 7 | import com.google.common.base.Objects; | |
| 8 | ||
| 9 | import java.io.Serializable; | |
| 10 | import java.math.BigDecimal; | |
| 11 | import java.time.LocalDate; | |
| 12 | import java.time.LocalDateTime; | |
| 13 | ||
| 14 | public class KeyStats implements Serializable { | |
| 15 | ||
| 16 | private static final long serialVersionUID = -725886860232280177L; | |
| 17 | ||
| 18 | private final String companyName; | |
| 19 | private final BigDecimal marketcap; | |
| 20 | private final BigDecimal beta; | |
| 21 | private final BigDecimal week52high; | |
| 22 | private final BigDecimal week52low; | |
| 23 | private final BigDecimal week52change; | |
| 24 | private final BigDecimal shortInterest; | |
| 25 | private final LocalDate shortDate; | |
| 26 | private final BigDecimal dividendRate; | |
| 27 | private final BigDecimal dividendYield; | |
| 28 | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.S") | |
| 29 | private final LocalDateTime exDividendDate; | |
| 30 | private final BigDecimal latestEPS; | |
| 31 | private final LocalDate latestEPSDate; | |
| 32 | private final BigDecimal sharesOutstanding; | |
| 33 | private final BigDecimal Float; | |
| 34 | private final BigDecimal returnOnEquity; | |
| 35 | private final BigDecimal consensusEPS; | |
| 36 | private final BigDecimal numberOfEstimates; | |
| 37 | private final BigDecimal EPSSurpriseDollar; | |
| 38 | private final BigDecimal EPSSurprisePercent; | |
| 39 | private final String symbol; | |
| 40 | private final BigDecimal EBITDA; | |
| 41 | private final BigDecimal revenue; | |
| 42 | private final BigDecimal grossProfit; | |
| 43 | private final BigDecimal cash; | |
| 44 | private final BigDecimal debt; | |
| 45 | private final BigDecimal ttmEPS; | |
| 46 | private final BigDecimal revenuePerShare; | |
| 47 | private final BigDecimal revenuePerEmployee; | |
| 48 | private final BigDecimal peRatioHigh; | |
| 49 | private final BigDecimal peRatioLow; | |
| 50 | private final BigDecimal returnOnAssets; | |
| 51 | private final BigDecimal returnOnCapital; | |
| 52 | private final BigDecimal profitMargin; | |
| 53 | private final BigDecimal priceToSales; | |
| 54 | private final BigDecimal priceToBook; | |
| 55 | private final BigDecimal day200MovingAvg; | |
| 56 | private final BigDecimal day50MovingAvg; | |
| 57 | private final BigDecimal institutionPercent; | |
| 58 | private final BigDecimal insiderPercent; | |
| 59 | private final BigDecimal shortRatio; | |
| 60 | private final BigDecimal year5ChangePercent; | |
| 61 | private final BigDecimal year2ChangePercent; | |
| 62 | private final BigDecimal year1ChangePercent; | |
| 63 | private final BigDecimal ytdChangePercent; | |
| 64 | private final BigDecimal month6ChangePercent; | |
| 65 | private final BigDecimal month3ChangePercent; | |
| 66 | private final BigDecimal month1ChangePercent; | |
| 67 | private final BigDecimal day5ChangePercent; | |
| 68 | private final BigDecimal day30ChangePercent; | |
| 69 | ||
| 70 | @JsonCreator | |
| 71 | public KeyStats( | |
| 72 | @JsonProperty("companyName") final String companyName, | |
| 73 | @JsonProperty("marketcap") final BigDecimal marketcap, | |
| 74 | @JsonProperty("beta") final BigDecimal beta, | |
| 75 | @JsonProperty("week52high") final BigDecimal week52high, | |
| 76 | @JsonProperty("week52low") final BigDecimal week52low, | |
| 77 | @JsonProperty("week52change") final BigDecimal week52change, | |
| 78 | @JsonProperty("shortInterest") final BigDecimal shortInterest, | |
| 79 | @JsonProperty("shortDate") final LocalDate shortDate, | |
| 80 | @JsonProperty("dividendRate") final BigDecimal dividendRate, | |
| 81 | @JsonProperty("dividendYield") final BigDecimal dividendYield, | |
| 82 | @JsonProperty("exDividendDate") final LocalDateTime exDividendDate, | |
| 83 | @JsonProperty("latestEPS") final BigDecimal latestEPS, | |
| 84 | @JsonProperty("latestEPSDate") final LocalDate latestEPSDate, | |
| 85 | @JsonProperty("sharesOutstanding") final BigDecimal sharesOutstanding, | |
| 86 | @JsonProperty("float") final BigDecimal aFloat, | |
| 87 | @JsonProperty("returnOnEquity") final BigDecimal returnOnEquity, | |
| 88 | @JsonProperty("consensusEPS") final BigDecimal consensusEPS, | |
| 89 | @JsonProperty("numberOfEstimates") final BigDecimal numberOfEstimates, | |
| 90 | @JsonProperty("EPSSurpriseDollar") final BigDecimal EPSSurpriseDollar, | |
| 91 | @JsonProperty("EPSSurprisePercent") final BigDecimal EPSSurprisePercent, | |
| 92 | @JsonProperty("symbol") final String symbol, | |
| 93 | @JsonProperty("EBITDA") final BigDecimal EBITDA, | |
| 94 | @JsonProperty("revenue") final BigDecimal revenue, | |
| 95 | @JsonProperty("grossProfit") final BigDecimal grossProfit, | |
| 96 | @JsonProperty("cash") final BigDecimal cash, | |
| 97 | @JsonProperty("debt") final BigDecimal debt, | |
| 98 | @JsonProperty("ttmEPS") final BigDecimal ttmEPS, | |
| 99 | @JsonProperty("revenuePerShare") final BigDecimal revenuePerShare, | |
| 100 | @JsonProperty("revenuePerEmployee") final BigDecimal revenuePerEmployee, | |
| 101 | @JsonProperty("peRatioHigh") final BigDecimal peRatioHigh, | |
| 102 | @JsonProperty("peRatioLow") final BigDecimal peRatioLow, | |
| 103 | @JsonProperty("returnOnAssets") final BigDecimal returnOnAssets, | |
| 104 | @JsonProperty("returnOnCapital") final BigDecimal returnOnCapital, | |
| 105 | @JsonProperty("profitMargin") final BigDecimal profitMargin, | |
| 106 | @JsonProperty("priceToSales") final BigDecimal priceToSales, | |
| 107 | @JsonProperty("priceToBook") final BigDecimal priceToBook, | |
| 108 | @JsonProperty("day200MovingAvg") final BigDecimal day200MovingAvg, | |
| 109 | @JsonProperty("day50MovingAvg") final BigDecimal day50MovingAvg, | |
| 110 | @JsonProperty("institutionPercent") final BigDecimal institutionPercent, | |
| 111 | @JsonProperty("insiderPercent") final BigDecimal insiderPercent, | |
| 112 | @JsonProperty("shortRatio") final BigDecimal shortRatio, | |
| 113 | @JsonProperty("year5ChangePercent") final BigDecimal year5ChangePercent, | |
| 114 | @JsonProperty("year2ChangePercent") final BigDecimal year2ChangePercent, | |
| 115 | @JsonProperty("year1ChangePercent") final BigDecimal year1ChangePercent, | |
| 116 | @JsonProperty("ytdChangePercent") final BigDecimal ytdChangePercent, | |
| 117 | @JsonProperty("month6ChangePercent") final BigDecimal month6ChangePercent, | |
| 118 | @JsonProperty("month3ChangePercent") final BigDecimal month3ChangePercent, | |
| 119 | @JsonProperty("month1ChangePercent") final BigDecimal month1ChangePercent, | |
| 120 | @JsonProperty("day5ChangePercent") final BigDecimal day5ChangePercent, | |
| 121 | @JsonProperty("day30ChangePercent") final BigDecimal day30ChangePercent) { | |
| 122 | this.companyName = companyName; | |
| 123 | this.marketcap = marketcap; | |
| 124 | this.beta = beta; | |
| 125 | this.week52high = week52high; | |
| 126 | this.week52low = week52low; | |
| 127 | this.week52change = week52change; | |
| 128 | this.shortInterest = shortInterest; | |
| 129 | this.shortDate = shortDate; | |
| 130 | this.dividendRate = dividendRate; | |
| 131 | this.dividendYield = dividendYield; | |
| 132 | this.exDividendDate = exDividendDate; | |
| 133 | this.latestEPS = latestEPS; | |
| 134 | this.latestEPSDate = latestEPSDate; | |
| 135 | this.sharesOutstanding = sharesOutstanding; | |
| 136 | this.Float = aFloat; | |
| 137 | this.returnOnEquity = returnOnEquity; | |
| 138 | this.consensusEPS = consensusEPS; | |
| 139 | this.numberOfEstimates = numberOfEstimates; | |
| 140 | this.symbol = symbol; | |
| 141 | this.EBITDA = EBITDA; | |
| 142 | this.revenue = revenue; | |
| 143 | this.grossProfit = grossProfit; | |
| 144 | this.cash = cash; | |
| 145 | this.debt = debt; | |
| 146 | this.ttmEPS = ttmEPS; | |
| 147 | this.revenuePerShare = revenuePerShare; | |
| 148 | this.revenuePerEmployee = revenuePerEmployee; | |
| 149 | this.peRatioHigh = peRatioHigh; | |
| 150 | this.peRatioLow = peRatioLow; | |
| 151 | this.EPSSurpriseDollar = EPSSurpriseDollar; | |
| 152 | this.EPSSurprisePercent = EPSSurprisePercent; | |
| 153 | this.returnOnAssets = returnOnAssets; | |
| 154 | this.returnOnCapital = returnOnCapital; | |
| 155 | this.profitMargin = profitMargin; | |
| 156 | this.priceToSales = priceToSales; | |
| 157 | this.priceToBook = priceToBook; | |
| 158 | this.day200MovingAvg = day200MovingAvg; | |
| 159 | this.day50MovingAvg = day50MovingAvg; | |
| 160 | this.institutionPercent = institutionPercent; | |
| 161 | this.insiderPercent = insiderPercent; | |
| 162 | this.shortRatio = shortRatio; | |
| 163 | this.year5ChangePercent = year5ChangePercent; | |
| 164 | this.year2ChangePercent = year2ChangePercent; | |
| 165 | this.year1ChangePercent = year1ChangePercent; | |
| 166 | this.ytdChangePercent = ytdChangePercent; | |
| 167 | this.month6ChangePercent = month6ChangePercent; | |
| 168 | this.month3ChangePercent = month3ChangePercent; | |
| 169 | this.month1ChangePercent = month1ChangePercent; | |
| 170 | this.day5ChangePercent = day5ChangePercent; | |
| 171 | this.day30ChangePercent = day30ChangePercent; | |
| 172 | } | |
| 173 | ||
| 174 | public String getCompanyName() { | |
| 175 |
1
1. getCompanyName : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/KeyStats::getCompanyName → KILLED |
return companyName; |
| 176 | } | |
| 177 | ||
| 178 | public BigDecimal getMarketcap() { | |
| 179 |
1
1. getMarketcap : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getMarketcap → KILLED |
return marketcap; |
| 180 | } | |
| 181 | ||
| 182 | public BigDecimal getBeta() { | |
| 183 |
1
1. getBeta : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getBeta → KILLED |
return beta; |
| 184 | } | |
| 185 | ||
| 186 | public BigDecimal getWeek52high() { | |
| 187 |
1
1. getWeek52high : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getWeek52high → KILLED |
return week52high; |
| 188 | } | |
| 189 | ||
| 190 | public BigDecimal getWeek52low() { | |
| 191 |
1
1. getWeek52low : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getWeek52low → KILLED |
return week52low; |
| 192 | } | |
| 193 | ||
| 194 | public BigDecimal getWeek52change() { | |
| 195 |
1
1. getWeek52change : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getWeek52change → KILLED |
return week52change; |
| 196 | } | |
| 197 | ||
| 198 | public BigDecimal getShortInterest() { | |
| 199 |
1
1. getShortInterest : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getShortInterest → KILLED |
return shortInterest; |
| 200 | } | |
| 201 | ||
| 202 | public LocalDate getShortDate() { | |
| 203 |
1
1. getShortDate : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getShortDate → KILLED |
return shortDate; |
| 204 | } | |
| 205 | ||
| 206 | public BigDecimal getDividendRate() { | |
| 207 |
1
1. getDividendRate : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getDividendRate → KILLED |
return dividendRate; |
| 208 | } | |
| 209 | ||
| 210 | public BigDecimal getDividendYield() { | |
| 211 |
1
1. getDividendYield : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getDividendYield → KILLED |
return dividendYield; |
| 212 | } | |
| 213 | ||
| 214 | public LocalDateTime getExDividendDate() { | |
| 215 |
1
1. getExDividendDate : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getExDividendDate → KILLED |
return exDividendDate; |
| 216 | } | |
| 217 | ||
| 218 | public BigDecimal getLatestEPS() { | |
| 219 |
1
1. getLatestEPS : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getLatestEPS → KILLED |
return latestEPS; |
| 220 | } | |
| 221 | ||
| 222 | public LocalDate getLatestEPSDate() { | |
| 223 |
1
1. getLatestEPSDate : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getLatestEPSDate → KILLED |
return latestEPSDate; |
| 224 | } | |
| 225 | ||
| 226 | public BigDecimal getSharesOutstanding() { | |
| 227 |
1
1. getSharesOutstanding : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getSharesOutstanding → KILLED |
return sharesOutstanding; |
| 228 | } | |
| 229 | ||
| 230 | public BigDecimal getFloat() { | |
| 231 |
1
1. getFloat : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getFloat → KILLED |
return Float; |
| 232 | } | |
| 233 | ||
| 234 | public BigDecimal getReturnOnEquity() { | |
| 235 |
1
1. getReturnOnEquity : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getReturnOnEquity → KILLED |
return returnOnEquity; |
| 236 | } | |
| 237 | ||
| 238 | public BigDecimal getConsensusEPS() { | |
| 239 |
1
1. getConsensusEPS : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getConsensusEPS → KILLED |
return consensusEPS; |
| 240 | } | |
| 241 | ||
| 242 | public BigDecimal getNumberOfEstimates() { | |
| 243 |
1
1. getNumberOfEstimates : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getNumberOfEstimates → KILLED |
return numberOfEstimates; |
| 244 | } | |
| 245 | ||
| 246 | @JsonProperty("EPSSurpriseDollar") | |
| 247 | public BigDecimal getEPSSurpriseDollar() { | |
| 248 |
1
1. getEPSSurpriseDollar : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getEPSSurpriseDollar → KILLED |
return EPSSurpriseDollar; |
| 249 | } | |
| 250 | ||
| 251 | @JsonProperty("EPSSurprisePercent") | |
| 252 | public BigDecimal getEPSSurprisePercent() { | |
| 253 |
1
1. getEPSSurprisePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getEPSSurprisePercent → KILLED |
return EPSSurprisePercent; |
| 254 | } | |
| 255 | ||
| 256 | public String getSymbol() { | |
| 257 |
1
1. getSymbol : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/KeyStats::getSymbol → KILLED |
return symbol; |
| 258 | } | |
| 259 | ||
| 260 | @JsonProperty("EBITDA") | |
| 261 | public BigDecimal getEBITDA() { | |
| 262 |
1
1. getEBITDA : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getEBITDA → KILLED |
return EBITDA; |
| 263 | } | |
| 264 | ||
| 265 | public BigDecimal getRevenue() { | |
| 266 |
1
1. getRevenue : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getRevenue → KILLED |
return revenue; |
| 267 | } | |
| 268 | ||
| 269 | public BigDecimal getGrossProfit() { | |
| 270 |
1
1. getGrossProfit : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getGrossProfit → KILLED |
return grossProfit; |
| 271 | } | |
| 272 | ||
| 273 | public BigDecimal getCash() { | |
| 274 |
1
1. getCash : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getCash → KILLED |
return cash; |
| 275 | } | |
| 276 | ||
| 277 | public BigDecimal getDebt() { | |
| 278 |
1
1. getDebt : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getDebt → KILLED |
return debt; |
| 279 | } | |
| 280 | ||
| 281 | public BigDecimal getTtmEPS() { | |
| 282 |
1
1. getTtmEPS : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getTtmEPS → KILLED |
return ttmEPS; |
| 283 | } | |
| 284 | ||
| 285 | public BigDecimal getRevenuePerShare() { | |
| 286 |
1
1. getRevenuePerShare : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getRevenuePerShare → KILLED |
return revenuePerShare; |
| 287 | } | |
| 288 | ||
| 289 | public BigDecimal getRevenuePerEmployee() { | |
| 290 |
1
1. getRevenuePerEmployee : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getRevenuePerEmployee → KILLED |
return revenuePerEmployee; |
| 291 | } | |
| 292 | ||
| 293 | public BigDecimal getPeRatioHigh() { | |
| 294 |
1
1. getPeRatioHigh : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getPeRatioHigh → KILLED |
return peRatioHigh; |
| 295 | } | |
| 296 | ||
| 297 | public BigDecimal getPeRatioLow() { | |
| 298 |
1
1. getPeRatioLow : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getPeRatioLow → KILLED |
return peRatioLow; |
| 299 | } | |
| 300 | ||
| 301 | public BigDecimal getReturnOnAssets() { | |
| 302 |
1
1. getReturnOnAssets : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getReturnOnAssets → KILLED |
return returnOnAssets; |
| 303 | } | |
| 304 | ||
| 305 | public BigDecimal getReturnOnCapital() { | |
| 306 |
1
1. getReturnOnCapital : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getReturnOnCapital → KILLED |
return returnOnCapital; |
| 307 | } | |
| 308 | ||
| 309 | public BigDecimal getProfitMargin() { | |
| 310 |
1
1. getProfitMargin : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getProfitMargin → KILLED |
return profitMargin; |
| 311 | } | |
| 312 | ||
| 313 | public BigDecimal getPriceToSales() { | |
| 314 |
1
1. getPriceToSales : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getPriceToSales → KILLED |
return priceToSales; |
| 315 | } | |
| 316 | ||
| 317 | public BigDecimal getPriceToBook() { | |
| 318 |
1
1. getPriceToBook : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getPriceToBook → KILLED |
return priceToBook; |
| 319 | } | |
| 320 | ||
| 321 | public BigDecimal getDay200MovingAvg() { | |
| 322 |
1
1. getDay200MovingAvg : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getDay200MovingAvg → KILLED |
return day200MovingAvg; |
| 323 | } | |
| 324 | ||
| 325 | public BigDecimal getDay50MovingAvg() { | |
| 326 |
1
1. getDay50MovingAvg : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getDay50MovingAvg → KILLED |
return day50MovingAvg; |
| 327 | } | |
| 328 | ||
| 329 | public BigDecimal getInstitutionPercent() { | |
| 330 |
1
1. getInstitutionPercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getInstitutionPercent → KILLED |
return institutionPercent; |
| 331 | } | |
| 332 | ||
| 333 | public BigDecimal getInsiderPercent() { | |
| 334 |
1
1. getInsiderPercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getInsiderPercent → KILLED |
return insiderPercent; |
| 335 | } | |
| 336 | ||
| 337 | public BigDecimal getShortRatio() { | |
| 338 |
1
1. getShortRatio : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getShortRatio → KILLED |
return shortRatio; |
| 339 | } | |
| 340 | ||
| 341 | public BigDecimal getYear5ChangePercent() { | |
| 342 |
1
1. getYear5ChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getYear5ChangePercent → KILLED |
return year5ChangePercent; |
| 343 | } | |
| 344 | ||
| 345 | public BigDecimal getYear2ChangePercent() { | |
| 346 |
1
1. getYear2ChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getYear2ChangePercent → KILLED |
return year2ChangePercent; |
| 347 | } | |
| 348 | ||
| 349 | public BigDecimal getYear1ChangePercent() { | |
| 350 |
1
1. getYear1ChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getYear1ChangePercent → KILLED |
return year1ChangePercent; |
| 351 | } | |
| 352 | ||
| 353 | public BigDecimal getYtdChangePercent() { | |
| 354 |
1
1. getYtdChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getYtdChangePercent → KILLED |
return ytdChangePercent; |
| 355 | } | |
| 356 | ||
| 357 | public BigDecimal getMonth6ChangePercent() { | |
| 358 |
1
1. getMonth6ChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getMonth6ChangePercent → KILLED |
return month6ChangePercent; |
| 359 | } | |
| 360 | ||
| 361 | public BigDecimal getMonth3ChangePercent() { | |
| 362 |
1
1. getMonth3ChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getMonth3ChangePercent → KILLED |
return month3ChangePercent; |
| 363 | } | |
| 364 | ||
| 365 | public BigDecimal getMonth1ChangePercent() { | |
| 366 |
1
1. getMonth1ChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getMonth1ChangePercent → KILLED |
return month1ChangePercent; |
| 367 | } | |
| 368 | ||
| 369 | public BigDecimal getDay5ChangePercent() { | |
| 370 |
1
1. getDay5ChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getDay5ChangePercent → KILLED |
return day5ChangePercent; |
| 371 | } | |
| 372 | ||
| 373 | public BigDecimal getDay30ChangePercent() { | |
| 374 |
1
1. getDay30ChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/KeyStats::getDay30ChangePercent → KILLED |
return day30ChangePercent; |
| 375 | } | |
| 376 | ||
| 377 | @Override | |
| 378 | public boolean equals(Object o) { | |
| 379 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with false for pl/zankowski/iextrading4j/api/stocks/KeyStats::equals → KILLED |
if (this == o) return true; |
| 380 |
3
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED 3. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/stocks/KeyStats::equals → KILLED |
if (o == null || getClass() != o.getClass()) return false; |
| 381 | KeyStats keyStats = (KeyStats) o; | |
| 382 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/stocks/KeyStats::equals → KILLED |
return Objects.equal(companyName, keyStats.companyName) && |
| 383 |
1
1. equals : negated conditional → KILLED |
Objects.equal(marketcap, keyStats.marketcap) && |
| 384 |
1
1. equals : negated conditional → KILLED |
Objects.equal(beta, keyStats.beta) && |
| 385 |
1
1. equals : negated conditional → KILLED |
Objects.equal(week52high, keyStats.week52high) && |
| 386 |
1
1. equals : negated conditional → KILLED |
Objects.equal(week52low, keyStats.week52low) && |
| 387 |
1
1. equals : negated conditional → KILLED |
Objects.equal(week52change, keyStats.week52change) && |
| 388 |
1
1. equals : negated conditional → KILLED |
Objects.equal(shortInterest, keyStats.shortInterest) && |
| 389 |
1
1. equals : negated conditional → KILLED |
Objects.equal(shortDate, keyStats.shortDate) && |
| 390 |
1
1. equals : negated conditional → KILLED |
Objects.equal(dividendRate, keyStats.dividendRate) && |
| 391 |
1
1. equals : negated conditional → KILLED |
Objects.equal(dividendYield, keyStats.dividendYield) && |
| 392 |
1
1. equals : negated conditional → KILLED |
Objects.equal(exDividendDate, keyStats.exDividendDate) && |
| 393 |
1
1. equals : negated conditional → KILLED |
Objects.equal(latestEPS, keyStats.latestEPS) && |
| 394 |
1
1. equals : negated conditional → KILLED |
Objects.equal(latestEPSDate, keyStats.latestEPSDate) && |
| 395 |
1
1. equals : negated conditional → KILLED |
Objects.equal(sharesOutstanding, keyStats.sharesOutstanding) && |
| 396 |
1
1. equals : negated conditional → KILLED |
Objects.equal(Float, keyStats.Float) && |
| 397 |
1
1. equals : negated conditional → KILLED |
Objects.equal(returnOnEquity, keyStats.returnOnEquity) && |
| 398 |
1
1. equals : negated conditional → KILLED |
Objects.equal(consensusEPS, keyStats.consensusEPS) && |
| 399 |
1
1. equals : negated conditional → KILLED |
Objects.equal(numberOfEstimates, keyStats.numberOfEstimates) && |
| 400 |
1
1. equals : negated conditional → KILLED |
Objects.equal(EPSSurpriseDollar, keyStats.EPSSurpriseDollar) && |
| 401 |
1
1. equals : negated conditional → KILLED |
Objects.equal(EPSSurprisePercent, keyStats.EPSSurprisePercent) && |
| 402 |
1
1. equals : negated conditional → KILLED |
Objects.equal(symbol, keyStats.symbol) && |
| 403 |
1
1. equals : negated conditional → KILLED |
Objects.equal(EBITDA, keyStats.EBITDA) && |
| 404 |
1
1. equals : negated conditional → KILLED |
Objects.equal(revenue, keyStats.revenue) && |
| 405 |
1
1. equals : negated conditional → KILLED |
Objects.equal(grossProfit, keyStats.grossProfit) && |
| 406 |
1
1. equals : negated conditional → KILLED |
Objects.equal(cash, keyStats.cash) && |
| 407 |
1
1. equals : negated conditional → KILLED |
Objects.equal(debt, keyStats.debt) && |
| 408 |
1
1. equals : negated conditional → KILLED |
Objects.equal(ttmEPS, keyStats.ttmEPS) && |
| 409 |
1
1. equals : negated conditional → KILLED |
Objects.equal(revenuePerShare, keyStats.revenuePerShare) && |
| 410 |
1
1. equals : negated conditional → KILLED |
Objects.equal(revenuePerEmployee, keyStats.revenuePerEmployee) && |
| 411 |
1
1. equals : negated conditional → KILLED |
Objects.equal(peRatioHigh, keyStats.peRatioHigh) && |
| 412 |
1
1. equals : negated conditional → KILLED |
Objects.equal(peRatioLow, keyStats.peRatioLow) && |
| 413 |
1
1. equals : negated conditional → KILLED |
Objects.equal(returnOnAssets, keyStats.returnOnAssets) && |
| 414 |
1
1. equals : negated conditional → KILLED |
Objects.equal(returnOnCapital, keyStats.returnOnCapital) && |
| 415 |
1
1. equals : negated conditional → KILLED |
Objects.equal(profitMargin, keyStats.profitMargin) && |
| 416 |
1
1. equals : negated conditional → KILLED |
Objects.equal(priceToSales, keyStats.priceToSales) && |
| 417 |
1
1. equals : negated conditional → KILLED |
Objects.equal(priceToBook, keyStats.priceToBook) && |
| 418 |
1
1. equals : negated conditional → KILLED |
Objects.equal(day200MovingAvg, keyStats.day200MovingAvg) && |
| 419 |
1
1. equals : negated conditional → KILLED |
Objects.equal(day50MovingAvg, keyStats.day50MovingAvg) && |
| 420 |
1
1. equals : negated conditional → KILLED |
Objects.equal(institutionPercent, keyStats.institutionPercent) && |
| 421 |
1
1. equals : negated conditional → KILLED |
Objects.equal(insiderPercent, keyStats.insiderPercent) && |
| 422 |
1
1. equals : negated conditional → KILLED |
Objects.equal(shortRatio, keyStats.shortRatio) && |
| 423 |
1
1. equals : negated conditional → KILLED |
Objects.equal(year5ChangePercent, keyStats.year5ChangePercent) && |
| 424 |
1
1. equals : negated conditional → KILLED |
Objects.equal(year2ChangePercent, keyStats.year2ChangePercent) && |
| 425 |
1
1. equals : negated conditional → KILLED |
Objects.equal(year1ChangePercent, keyStats.year1ChangePercent) && |
| 426 |
1
1. equals : negated conditional → KILLED |
Objects.equal(ytdChangePercent, keyStats.ytdChangePercent) && |
| 427 |
1
1. equals : negated conditional → KILLED |
Objects.equal(month6ChangePercent, keyStats.month6ChangePercent) && |
| 428 |
1
1. equals : negated conditional → KILLED |
Objects.equal(month3ChangePercent, keyStats.month3ChangePercent) && |
| 429 |
1
1. equals : negated conditional → KILLED |
Objects.equal(month1ChangePercent, keyStats.month1ChangePercent) && |
| 430 |
1
1. equals : negated conditional → KILLED |
Objects.equal(day5ChangePercent, keyStats.day5ChangePercent) && |
| 431 |
1
1. equals : negated conditional → KILLED |
Objects.equal(day30ChangePercent, keyStats.day30ChangePercent); |
| 432 | } | |
| 433 | ||
| 434 | @Override | |
| 435 | public int hashCode() { | |
| 436 |
1
1. hashCode : replaced int return with 0 for pl/zankowski/iextrading4j/api/stocks/KeyStats::hashCode → KILLED |
return Objects.hashCode(companyName, marketcap, beta, week52high, week52low, week52change, |
| 437 | shortInterest, shortDate, dividendRate, dividendYield, exDividendDate, latestEPS, | |
| 438 | latestEPSDate, sharesOutstanding, Float, returnOnEquity, consensusEPS, numberOfEstimates, | |
| 439 | EPSSurpriseDollar, EPSSurprisePercent, symbol, EBITDA, revenue, grossProfit, cash, debt, | |
| 440 | ttmEPS, revenuePerShare, revenuePerEmployee, peRatioHigh, peRatioLow, returnOnAssets, | |
| 441 | returnOnCapital, profitMargin, priceToSales, priceToBook, day200MovingAvg, day50MovingAvg, | |
| 442 | institutionPercent, insiderPercent, shortRatio, year5ChangePercent, year2ChangePercent, | |
| 443 | year1ChangePercent, ytdChangePercent, month6ChangePercent, month3ChangePercent, | |
| 444 | month1ChangePercent, day5ChangePercent, day30ChangePercent); | |
| 445 | } | |
| 446 | ||
| 447 | @Override | |
| 448 | public String toString() { | |
| 449 |
1
1. toString : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/KeyStats::toString → KILLED |
return MoreObjects.toStringHelper(this) |
| 450 | .add("companyName", companyName) | |
| 451 | .add("marketcap", marketcap) | |
| 452 | .add("beta", beta) | |
| 453 | .add("week52high", week52high) | |
| 454 | .add("week52low", week52low) | |
| 455 | .add("week52change", week52change) | |
| 456 | .add("shortInterest", shortInterest) | |
| 457 | .add("shortDate", shortDate) | |
| 458 | .add("dividendRate", dividendRate) | |
| 459 | .add("dividendYield", dividendYield) | |
| 460 | .add("exDividendDate", exDividendDate) | |
| 461 | .add("latestEPS", latestEPS) | |
| 462 | .add("latestEPSDate", latestEPSDate) | |
| 463 | .add("sharesOutstanding", sharesOutstanding) | |
| 464 | .add("Float", Float) | |
| 465 | .add("returnOnEquity", returnOnEquity) | |
| 466 | .add("consensusEPS", consensusEPS) | |
| 467 | .add("numberOfEstimates", numberOfEstimates) | |
| 468 | .add("EPSSurpriseDollar", EPSSurpriseDollar) | |
| 469 | .add("EPSSurprisePercent", EPSSurprisePercent) | |
| 470 | .add("symbol", symbol) | |
| 471 | .add("EBITDA", EBITDA) | |
| 472 | .add("revenue", revenue) | |
| 473 | .add("grossProfit", grossProfit) | |
| 474 | .add("cash", cash) | |
| 475 | .add("debt", debt) | |
| 476 | .add("ttmEPS", ttmEPS) | |
| 477 | .add("revenuePerShare", revenuePerShare) | |
| 478 | .add("revenuePerEmployee", revenuePerEmployee) | |
| 479 | .add("peRatioHigh", peRatioHigh) | |
| 480 | .add("peRatioLow", peRatioLow) | |
| 481 | .add("returnOnAssets", returnOnAssets) | |
| 482 | .add("returnOnCapital", returnOnCapital) | |
| 483 | .add("profitMargin", profitMargin) | |
| 484 | .add("priceToSales", priceToSales) | |
| 485 | .add("priceToBook", priceToBook) | |
| 486 | .add("day200MovingAvg", day200MovingAvg) | |
| 487 | .add("day50MovingAvg", day50MovingAvg) | |
| 488 | .add("institutionPercent", institutionPercent) | |
| 489 | .add("insiderPercent", insiderPercent) | |
| 490 | .add("shortRatio", shortRatio) | |
| 491 | .add("year5ChangePercent", year5ChangePercent) | |
| 492 | .add("year2ChangePercent", year2ChangePercent) | |
| 493 | .add("year1ChangePercent", year1ChangePercent) | |
| 494 | .add("ytdChangePercent", ytdChangePercent) | |
| 495 | .add("month6ChangePercent", month6ChangePercent) | |
| 496 | .add("month3ChangePercent", month3ChangePercent) | |
| 497 | .add("month1ChangePercent", month1ChangePercent) | |
| 498 | .add("day5ChangePercent", day5ChangePercent) | |
| 499 | .add("day30ChangePercent", day30ChangePercent) | |
| 500 | .toString(); | |
| 501 | } | |
| 502 | } | |
Mutations | ||
| 175 |
1.1 |
|
| 179 |
1.1 |
|
| 183 |
1.1 |
|
| 187 |
1.1 |
|
| 191 |
1.1 |
|
| 195 |
1.1 |
|
| 199 |
1.1 |
|
| 203 |
1.1 |
|
| 207 |
1.1 |
|
| 211 |
1.1 |
|
| 215 |
1.1 |
|
| 219 |
1.1 |
|
| 223 |
1.1 |
|
| 227 |
1.1 |
|
| 231 |
1.1 |
|
| 235 |
1.1 |
|
| 239 |
1.1 |
|
| 243 |
1.1 |
|
| 248 |
1.1 |
|
| 253 |
1.1 |
|
| 257 |
1.1 |
|
| 262 |
1.1 |
|
| 266 |
1.1 |
|
| 270 |
1.1 |
|
| 274 |
1.1 |
|
| 278 |
1.1 |
|
| 282 |
1.1 |
|
| 286 |
1.1 |
|
| 290 |
1.1 |
|
| 294 |
1.1 |
|
| 298 |
1.1 |
|
| 302 |
1.1 |
|
| 306 |
1.1 |
|
| 310 |
1.1 |
|
| 314 |
1.1 |
|
| 318 |
1.1 |
|
| 322 |
1.1 |
|
| 326 |
1.1 |
|
| 330 |
1.1 |
|
| 334 |
1.1 |
|
| 338 |
1.1 |
|
| 342 |
1.1 |
|
| 346 |
1.1 |
|
| 350 |
1.1 |
|
| 354 |
1.1 |
|
| 358 |
1.1 |
|
| 362 |
1.1 |
|
| 366 |
1.1 |
|
| 370 |
1.1 |
|
| 374 |
1.1 |
|
| 379 |
1.1 2.2 |
|
| 380 |
1.1 2.2 3.3 |
|
| 382 |
1.1 2.2 |
|
| 383 |
1.1 |
|
| 384 |
1.1 |
|
| 385 |
1.1 |
|
| 386 |
1.1 |
|
| 387 |
1.1 |
|
| 388 |
1.1 |
|
| 389 |
1.1 |
|
| 390 |
1.1 |
|
| 391 |
1.1 |
|
| 392 |
1.1 |
|
| 393 |
1.1 |
|
| 394 |
1.1 |
|
| 395 |
1.1 |
|
| 396 |
1.1 |
|
| 397 |
1.1 |
|
| 398 |
1.1 |
|
| 399 |
1.1 |
|
| 400 |
1.1 |
|
| 401 |
1.1 |
|
| 402 |
1.1 |
|
| 403 |
1.1 |
|
| 404 |
1.1 |
|
| 405 |
1.1 |
|
| 406 |
1.1 |
|
| 407 |
1.1 |
|
| 408 |
1.1 |
|
| 409 |
1.1 |
|
| 410 |
1.1 |
|
| 411 |
1.1 |
|
| 412 |
1.1 |
|
| 413 |
1.1 |
|
| 414 |
1.1 |
|
| 415 |
1.1 |
|
| 416 |
1.1 |
|
| 417 |
1.1 |
|
| 418 |
1.1 |
|
| 419 |
1.1 |
|
| 420 |
1.1 |
|
| 421 |
1.1 |
|
| 422 |
1.1 |
|
| 423 |
1.1 |
|
| 424 |
1.1 |
|
| 425 |
1.1 |
|
| 426 |
1.1 |
|
| 427 |
1.1 |
|
| 428 |
1.1 |
|
| 429 |
1.1 |
|
| 430 |
1.1 |
|
| 431 |
1.1 |
|
| 436 |
1.1 |
|
| 449 |
1.1 |