| 1 | package pl.zankowski.iextrading4j.api.stocks; | |
| 2 | ||
| 3 | import com.fasterxml.jackson.annotation.JsonCreator; | |
| 4 | import com.fasterxml.jackson.annotation.JsonProperty; | |
| 5 | ||
| 6 | import java.io.Serializable; | |
| 7 | import java.math.BigDecimal; | |
| 8 | import java.util.Objects; | |
| 9 | import java.util.StringJoiner; | |
| 10 | ||
| 11 | public class Quote implements Serializable { | |
| 12 | ||
| 13 | private static final long serialVersionUID = 6474500411156050266L; | |
| 14 | ||
| 15 | private final String symbol; | |
| 16 | private final String companyName; | |
| 17 | private final String primaryExchange; | |
| 18 | private final String sector; | |
| 19 | private final String calculationPrice; | |
| 20 | private final BigDecimal open; | |
| 21 | private final Long openTime; | |
| 22 | private final String openSource; | |
| 23 | private final BigDecimal close; | |
| 24 | private final Long closeTime; | |
| 25 | private final String closeSource; | |
| 26 | private final BigDecimal high; | |
| 27 | private final Long highTime; | |
| 28 | private final String highSource; | |
| 29 | private final BigDecimal low; | |
| 30 | private final Long lowTime; | |
| 31 | private final String lowSource; | |
| 32 | private final BigDecimal volume; | |
| 33 | private final BigDecimal latestPrice; | |
| 34 | private final String latestSource; | |
| 35 | private final String latestTime; | |
| 36 | private final Long latestUpdate; | |
| 37 | private final BigDecimal latestVolume; | |
| 38 | private final BigDecimal iexRealtimePrice; | |
| 39 | private final BigDecimal iexRealtimeSize; | |
| 40 | private final Long iexLastUpdated; | |
| 41 | private final BigDecimal delayedPrice; | |
| 42 | private final Long delayedPriceTime; | |
| 43 | private final BigDecimal extendedPrice; | |
| 44 | private final BigDecimal extendedChange; | |
| 45 | private final BigDecimal extendedChangePercent; | |
| 46 | private final Long extendedPriceTime; | |
| 47 | private final BigDecimal previousClose; | |
| 48 | private final BigDecimal previousVolume; | |
| 49 | private final BigDecimal change; | |
| 50 | private final BigDecimal changePercent; | |
| 51 | private final BigDecimal iexMarketPercent; | |
| 52 | private final BigDecimal iexVolume; | |
| 53 | private final BigDecimal avgTotalVolume; | |
| 54 | private final BigDecimal iexBidPrice; | |
| 55 | private final BigDecimal iexBidSize; | |
| 56 | private final BigDecimal iexAskPrice; | |
| 57 | private final BigDecimal iexAskSize; | |
| 58 | private final BigDecimal iexOpen; | |
| 59 | private final Long iexOpenTime; | |
| 60 | private final BigDecimal iexClose; | |
| 61 | private final Long iexCloseTime; | |
| 62 | private final BigDecimal marketCap; | |
| 63 | private final BigDecimal peRatio; | |
| 64 | private final BigDecimal week52High; | |
| 65 | private final BigDecimal week52Low; | |
| 66 | private final BigDecimal ytdChange; | |
| 67 | private final BigDecimal bidPrice; | |
| 68 | private final BigDecimal bidSize; | |
| 69 | private final BigDecimal askPrice; | |
| 70 | private final BigDecimal askSize; | |
| 71 | private final Long lastTradeTime; | |
| 72 | private final Boolean isUSMarketOpen; | |
| 73 | private final BigDecimal oddLotDelayedPrice; | |
| 74 | private final Long oddLotDelayedPriceTime; | |
| 75 | private final String currency; | |
| 76 | ||
| 77 | @JsonCreator | |
| 78 | public Quote( | |
| 79 | @JsonProperty("symbol") final String symbol, | |
| 80 | @JsonProperty("companyName") final String companyName, | |
| 81 | @JsonProperty("primaryExchange") final String primaryExchange, | |
| 82 | @JsonProperty("sector") final String sector, | |
| 83 | @JsonProperty("calculationPrice") final String calculationPrice, | |
| 84 | @JsonProperty("open") final BigDecimal open, | |
| 85 | @JsonProperty("openTime") final Long openTime, | |
| 86 | @JsonProperty("openSource") final String openSource, | |
| 87 | @JsonProperty("close") final BigDecimal close, | |
| 88 | @JsonProperty("closeTime") final Long closeTime, | |
| 89 | @JsonProperty("closeSource") final String closeSource, | |
| 90 | @JsonProperty("high") final BigDecimal high, | |
| 91 | @JsonProperty("highTime") final Long highTime, | |
| 92 | @JsonProperty("highSource") final String highSource, | |
| 93 | @JsonProperty("low") final BigDecimal low, | |
| 94 | @JsonProperty("lowTime") final Long lowTime, | |
| 95 | @JsonProperty("lowSource") final String lowSource, | |
| 96 | @JsonProperty("volume") final BigDecimal volume, | |
| 97 | @JsonProperty("latestPrice") final BigDecimal latestPrice, | |
| 98 | @JsonProperty("latestSource") final String latestSource, | |
| 99 | @JsonProperty("latestTime") final String latestTime, | |
| 100 | @JsonProperty("latestUpdate") final Long latestUpdate, | |
| 101 | @JsonProperty("latestVolume") final BigDecimal latestVolume, | |
| 102 | @JsonProperty("iexRealtimePrice") final BigDecimal iexRealtimePrice, | |
| 103 | @JsonProperty("iexRealtimeSize") final BigDecimal iexRealtimeSize, | |
| 104 | @JsonProperty("iexLastUpdated") final Long iexLastUpdated, | |
| 105 | @JsonProperty("delayedPrice") final BigDecimal delayedPrice, | |
| 106 | @JsonProperty("delayedPriceTime") final Long delayedPriceTime, | |
| 107 | @JsonProperty("extendedPrice") final BigDecimal extendedPrice, | |
| 108 | @JsonProperty("extendedChange") final BigDecimal extendedChange, | |
| 109 | @JsonProperty("extendedChangePercent") final BigDecimal extendedChangePercent, | |
| 110 | @JsonProperty("extendedPriceTime") final Long extendedPriceTime, | |
| 111 | @JsonProperty("previousClose") final BigDecimal previousClose, | |
| 112 | @JsonProperty("previousVolume") final BigDecimal previousVolume, | |
| 113 | @JsonProperty("change") final BigDecimal change, | |
| 114 | @JsonProperty("changePercent") final BigDecimal changePercent, | |
| 115 | @JsonProperty("iexMarketPercent") final BigDecimal iexMarketPercent, | |
| 116 | @JsonProperty("iexVolume") final BigDecimal iexVolume, | |
| 117 | @JsonProperty("avgTotalVolume") final BigDecimal avgTotalVolume, | |
| 118 | @JsonProperty("iexBidPrice") final BigDecimal iexBidPrice, | |
| 119 | @JsonProperty("iexBidSize") final BigDecimal iexBidSize, | |
| 120 | @JsonProperty("iexAskPrice") final BigDecimal iexAskPrice, | |
| 121 | @JsonProperty("iexAskSize") final BigDecimal iexAskSize, | |
| 122 | @JsonProperty("iexOpen") final BigDecimal iexOpen, | |
| 123 | @JsonProperty("iexOpenTime") final Long iexOpenTime, | |
| 124 | @JsonProperty("iexClose") final BigDecimal iexClose, | |
| 125 | @JsonProperty("iexCloseTime") final Long iexCloseTime, | |
| 126 | @JsonProperty("marketCap") final BigDecimal marketCap, | |
| 127 | @JsonProperty("peRatio") final BigDecimal peRatio, | |
| 128 | @JsonProperty("week52High") final BigDecimal week52High, | |
| 129 | @JsonProperty("week52Low") final BigDecimal week52Low, | |
| 130 | @JsonProperty("ytdChange") final BigDecimal ytdChange, | |
| 131 | @JsonProperty("bidPrice") final BigDecimal bidPrice, | |
| 132 | @JsonProperty("bidSize") final BigDecimal bidSize, | |
| 133 | @JsonProperty("askPrice") final BigDecimal askPrice, | |
| 134 | @JsonProperty("askSize") final BigDecimal askSize, | |
| 135 | @JsonProperty("lastTradeTime") final Long lastTradeTime, | |
| 136 | @JsonProperty("isUSMarketOpen") final Boolean isUSMarketOpen, | |
| 137 | @JsonProperty("oddLotDelayedPrice") final BigDecimal oddLotDelayedPrice, | |
| 138 | @JsonProperty("oddLotDelayedPriceTime") final Long oddLotDelayedPriceTime, | |
| 139 | @JsonProperty("currency") final String currency) { | |
| 140 | this.symbol = symbol; | |
| 141 | this.companyName = companyName; | |
| 142 | this.primaryExchange = primaryExchange; | |
| 143 | this.sector = sector; | |
| 144 | this.calculationPrice = calculationPrice; | |
| 145 | this.open = open; | |
| 146 | this.openTime = openTime; | |
| 147 | this.openSource = openSource; | |
| 148 | this.close = close; | |
| 149 | this.closeTime = closeTime; | |
| 150 | this.closeSource = closeSource; | |
| 151 | this.high = high; | |
| 152 | this.highTime = highTime; | |
| 153 | this.highSource = highSource; | |
| 154 | this.low = low; | |
| 155 | this.lowTime = lowTime; | |
| 156 | this.lowSource = lowSource; | |
| 157 | this.volume = volume; | |
| 158 | this.latestPrice = latestPrice; | |
| 159 | this.latestSource = latestSource; | |
| 160 | this.latestTime = latestTime; | |
| 161 | this.latestUpdate = latestUpdate; | |
| 162 | this.latestVolume = latestVolume; | |
| 163 | this.iexRealtimePrice = iexRealtimePrice; | |
| 164 | this.iexRealtimeSize = iexRealtimeSize; | |
| 165 | this.iexLastUpdated = iexLastUpdated; | |
| 166 | this.delayedPrice = delayedPrice; | |
| 167 | this.delayedPriceTime = delayedPriceTime; | |
| 168 | this.extendedPrice = extendedPrice; | |
| 169 | this.extendedChange = extendedChange; | |
| 170 | this.extendedChangePercent = extendedChangePercent; | |
| 171 | this.extendedPriceTime = extendedPriceTime; | |
| 172 | this.previousClose = previousClose; | |
| 173 | this.previousVolume = previousVolume; | |
| 174 | this.change = change; | |
| 175 | this.changePercent = changePercent; | |
| 176 | this.iexMarketPercent = iexMarketPercent; | |
| 177 | this.iexVolume = iexVolume; | |
| 178 | this.avgTotalVolume = avgTotalVolume; | |
| 179 | this.iexBidPrice = iexBidPrice; | |
| 180 | this.iexBidSize = iexBidSize; | |
| 181 | this.iexAskPrice = iexAskPrice; | |
| 182 | this.iexAskSize = iexAskSize; | |
| 183 | this.iexOpen = iexOpen; | |
| 184 | this.iexOpenTime = iexOpenTime; | |
| 185 | this.iexClose = iexClose; | |
| 186 | this.iexCloseTime = iexCloseTime; | |
| 187 | this.marketCap = marketCap; | |
| 188 | this.peRatio = peRatio; | |
| 189 | this.week52High = week52High; | |
| 190 | this.week52Low = week52Low; | |
| 191 | this.ytdChange = ytdChange; | |
| 192 | this.bidPrice = bidPrice; | |
| 193 | this.bidSize = bidSize; | |
| 194 | this.askPrice = askPrice; | |
| 195 | this.askSize = askSize; | |
| 196 | this.lastTradeTime = lastTradeTime; | |
| 197 | this.isUSMarketOpen = isUSMarketOpen; | |
| 198 | this.oddLotDelayedPrice = oddLotDelayedPrice; | |
| 199 | this.oddLotDelayedPriceTime = oddLotDelayedPriceTime; | |
| 200 | this.currency = currency; | |
| 201 | } | |
| 202 | ||
| 203 | public String getSymbol() { | |
| 204 |
1
1. getSymbol : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getSymbol → KILLED |
return symbol; |
| 205 | } | |
| 206 | ||
| 207 | public String getCompanyName() { | |
| 208 |
1
1. getCompanyName : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getCompanyName → KILLED |
return companyName; |
| 209 | } | |
| 210 | ||
| 211 | public String getPrimaryExchange() { | |
| 212 |
1
1. getPrimaryExchange : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getPrimaryExchange → KILLED |
return primaryExchange; |
| 213 | } | |
| 214 | ||
| 215 | public String getSector() { | |
| 216 |
1
1. getSector : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getSector → KILLED |
return sector; |
| 217 | } | |
| 218 | ||
| 219 | public String getCalculationPrice() { | |
| 220 |
1
1. getCalculationPrice : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getCalculationPrice → KILLED |
return calculationPrice; |
| 221 | } | |
| 222 | ||
| 223 | public BigDecimal getOpen() { | |
| 224 |
1
1. getOpen : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getOpen → KILLED |
return open; |
| 225 | } | |
| 226 | ||
| 227 | public Long getOpenTime() { | |
| 228 |
1
1. getOpenTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getOpenTime → KILLED |
return openTime; |
| 229 | } | |
| 230 | ||
| 231 | public String getOpenSource() { | |
| 232 |
1
1. getOpenSource : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getOpenSource → KILLED |
return openSource; |
| 233 | } | |
| 234 | ||
| 235 | public BigDecimal getClose() { | |
| 236 |
1
1. getClose : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getClose → KILLED |
return close; |
| 237 | } | |
| 238 | ||
| 239 | public Long getCloseTime() { | |
| 240 |
1
1. getCloseTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getCloseTime → KILLED |
return closeTime; |
| 241 | } | |
| 242 | ||
| 243 | public String getCloseSource() { | |
| 244 |
1
1. getCloseSource : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getCloseSource → KILLED |
return closeSource; |
| 245 | } | |
| 246 | ||
| 247 | public BigDecimal getHigh() { | |
| 248 |
1
1. getHigh : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getHigh → KILLED |
return high; |
| 249 | } | |
| 250 | ||
| 251 | public Long getHighTime() { | |
| 252 |
1
1. getHighTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getHighTime → NO_COVERAGE |
return highTime; |
| 253 | } | |
| 254 | ||
| 255 | public String getHighSource() { | |
| 256 |
1
1. getHighSource : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getHighSource → NO_COVERAGE |
return highSource; |
| 257 | } | |
| 258 | ||
| 259 | public BigDecimal getLow() { | |
| 260 |
1
1. getLow : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getLow → KILLED |
return low; |
| 261 | } | |
| 262 | ||
| 263 | public Long getLowTime() { | |
| 264 |
1
1. getLowTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getLowTime → NO_COVERAGE |
return lowTime; |
| 265 | } | |
| 266 | ||
| 267 | public String getLowSource() { | |
| 268 |
1
1. getLowSource : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getLowSource → NO_COVERAGE |
return lowSource; |
| 269 | } | |
| 270 | ||
| 271 | public BigDecimal getVolume() { | |
| 272 |
1
1. getVolume : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getVolume → KILLED |
return volume; |
| 273 | } | |
| 274 | ||
| 275 | public BigDecimal getLatestPrice() { | |
| 276 |
1
1. getLatestPrice : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getLatestPrice → KILLED |
return latestPrice; |
| 277 | } | |
| 278 | ||
| 279 | public String getLatestSource() { | |
| 280 |
1
1. getLatestSource : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getLatestSource → KILLED |
return latestSource; |
| 281 | } | |
| 282 | ||
| 283 | public String getLatestTime() { | |
| 284 |
1
1. getLatestTime : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getLatestTime → KILLED |
return latestTime; |
| 285 | } | |
| 286 | ||
| 287 | public Long getLatestUpdate() { | |
| 288 |
1
1. getLatestUpdate : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getLatestUpdate → KILLED |
return latestUpdate; |
| 289 | } | |
| 290 | ||
| 291 | public BigDecimal getLatestVolume() { | |
| 292 |
1
1. getLatestVolume : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getLatestVolume → KILLED |
return latestVolume; |
| 293 | } | |
| 294 | ||
| 295 | public BigDecimal getIexRealtimePrice() { | |
| 296 |
1
1. getIexRealtimePrice : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexRealtimePrice → KILLED |
return iexRealtimePrice; |
| 297 | } | |
| 298 | ||
| 299 | public BigDecimal getIexRealtimeSize() { | |
| 300 |
1
1. getIexRealtimeSize : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexRealtimeSize → KILLED |
return iexRealtimeSize; |
| 301 | } | |
| 302 | ||
| 303 | public Long getIexLastUpdated() { | |
| 304 |
1
1. getIexLastUpdated : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getIexLastUpdated → KILLED |
return iexLastUpdated; |
| 305 | } | |
| 306 | ||
| 307 | public BigDecimal getDelayedPrice() { | |
| 308 |
1
1. getDelayedPrice : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getDelayedPrice → KILLED |
return delayedPrice; |
| 309 | } | |
| 310 | ||
| 311 | public Long getDelayedPriceTime() { | |
| 312 |
1
1. getDelayedPriceTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getDelayedPriceTime → KILLED |
return delayedPriceTime; |
| 313 | } | |
| 314 | ||
| 315 | public BigDecimal getExtendedPrice() { | |
| 316 |
1
1. getExtendedPrice : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getExtendedPrice → KILLED |
return extendedPrice; |
| 317 | } | |
| 318 | ||
| 319 | public BigDecimal getExtendedChange() { | |
| 320 |
1
1. getExtendedChange : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getExtendedChange → KILLED |
return extendedChange; |
| 321 | } | |
| 322 | ||
| 323 | public BigDecimal getExtendedChangePercent() { | |
| 324 |
1
1. getExtendedChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getExtendedChangePercent → KILLED |
return extendedChangePercent; |
| 325 | } | |
| 326 | ||
| 327 | public Long getExtendedPriceTime() { | |
| 328 |
1
1. getExtendedPriceTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getExtendedPriceTime → KILLED |
return extendedPriceTime; |
| 329 | } | |
| 330 | ||
| 331 | public BigDecimal getPreviousClose() { | |
| 332 |
1
1. getPreviousClose : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getPreviousClose → KILLED |
return previousClose; |
| 333 | } | |
| 334 | ||
| 335 | public BigDecimal getPreviousVolume() { | |
| 336 |
1
1. getPreviousVolume : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getPreviousVolume → KILLED |
return previousVolume; |
| 337 | } | |
| 338 | ||
| 339 | public BigDecimal getChange() { | |
| 340 |
1
1. getChange : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getChange → KILLED |
return change; |
| 341 | } | |
| 342 | ||
| 343 | public BigDecimal getChangePercent() { | |
| 344 |
1
1. getChangePercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getChangePercent → KILLED |
return changePercent; |
| 345 | } | |
| 346 | ||
| 347 | public BigDecimal getIexMarketPercent() { | |
| 348 |
1
1. getIexMarketPercent : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexMarketPercent → KILLED |
return iexMarketPercent; |
| 349 | } | |
| 350 | ||
| 351 | public BigDecimal getIexVolume() { | |
| 352 |
1
1. getIexVolume : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexVolume → KILLED |
return iexVolume; |
| 353 | } | |
| 354 | ||
| 355 | public BigDecimal getAvgTotalVolume() { | |
| 356 |
1
1. getAvgTotalVolume : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getAvgTotalVolume → KILLED |
return avgTotalVolume; |
| 357 | } | |
| 358 | ||
| 359 | public BigDecimal getIexBidPrice() { | |
| 360 |
1
1. getIexBidPrice : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexBidPrice → KILLED |
return iexBidPrice; |
| 361 | } | |
| 362 | ||
| 363 | public BigDecimal getIexBidSize() { | |
| 364 |
1
1. getIexBidSize : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexBidSize → KILLED |
return iexBidSize; |
| 365 | } | |
| 366 | ||
| 367 | public BigDecimal getIexAskPrice() { | |
| 368 |
1
1. getIexAskPrice : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexAskPrice → KILLED |
return iexAskPrice; |
| 369 | } | |
| 370 | ||
| 371 | public BigDecimal getIexAskSize() { | |
| 372 |
1
1. getIexAskSize : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexAskSize → KILLED |
return iexAskSize; |
| 373 | } | |
| 374 | ||
| 375 | public BigDecimal getIexOpen() { | |
| 376 |
1
1. getIexOpen : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexOpen → KILLED |
return iexOpen; |
| 377 | } | |
| 378 | ||
| 379 | public Long getIexOpenTime() { | |
| 380 |
1
1. getIexOpenTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getIexOpenTime → KILLED |
return iexOpenTime; |
| 381 | } | |
| 382 | ||
| 383 | public BigDecimal getIexClose() { | |
| 384 |
1
1. getIexClose : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getIexClose → KILLED |
return iexClose; |
| 385 | } | |
| 386 | ||
| 387 | public Long getIexCloseTime() { | |
| 388 |
1
1. getIexCloseTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getIexCloseTime → KILLED |
return iexCloseTime; |
| 389 | } | |
| 390 | ||
| 391 | public BigDecimal getMarketCap() { | |
| 392 |
1
1. getMarketCap : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getMarketCap → KILLED |
return marketCap; |
| 393 | } | |
| 394 | ||
| 395 | public BigDecimal getPeRatio() { | |
| 396 |
1
1. getPeRatio : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getPeRatio → KILLED |
return peRatio; |
| 397 | } | |
| 398 | ||
| 399 | public BigDecimal getWeek52High() { | |
| 400 |
1
1. getWeek52High : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getWeek52High → KILLED |
return week52High; |
| 401 | } | |
| 402 | ||
| 403 | public BigDecimal getWeek52Low() { | |
| 404 |
1
1. getWeek52Low : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getWeek52Low → KILLED |
return week52Low; |
| 405 | } | |
| 406 | ||
| 407 | public BigDecimal getYtdChange() { | |
| 408 |
1
1. getYtdChange : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getYtdChange → KILLED |
return ytdChange; |
| 409 | } | |
| 410 | ||
| 411 | public BigDecimal getBidPrice() { | |
| 412 |
1
1. getBidPrice : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getBidPrice → KILLED |
return bidPrice; |
| 413 | } | |
| 414 | ||
| 415 | public BigDecimal getBidSize() { | |
| 416 |
1
1. getBidSize : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getBidSize → KILLED |
return bidSize; |
| 417 | } | |
| 418 | ||
| 419 | public BigDecimal getAskPrice() { | |
| 420 |
1
1. getAskPrice : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getAskPrice → KILLED |
return askPrice; |
| 421 | } | |
| 422 | ||
| 423 | public BigDecimal getAskSize() { | |
| 424 |
1
1. getAskSize : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getAskSize → KILLED |
return askSize; |
| 425 | } | |
| 426 | ||
| 427 | public Long getLastTradeTime() { | |
| 428 |
1
1. getLastTradeTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getLastTradeTime → KILLED |
return lastTradeTime; |
| 429 | } | |
| 430 | ||
| 431 | @JsonProperty("isUSMarketOpen") | |
| 432 | public Boolean isUSMarketOpen() { | |
| 433 |
2
1. isUSMarketOpen : replaced Boolean return with True for pl/zankowski/iextrading4j/api/stocks/Quote::isUSMarketOpen → SURVIVED 2. isUSMarketOpen : replaced Boolean return with False for pl/zankowski/iextrading4j/api/stocks/Quote::isUSMarketOpen → KILLED |
return isUSMarketOpen; |
| 434 | } | |
| 435 | ||
| 436 | public BigDecimal getOddLotDelayedPrice() { | |
| 437 |
1
1. getOddLotDelayedPrice : replaced return value with null for pl/zankowski/iextrading4j/api/stocks/Quote::getOddLotDelayedPrice → KILLED |
return oddLotDelayedPrice; |
| 438 | } | |
| 439 | ||
| 440 | public Long getOddLotDelayedPriceTime() { | |
| 441 |
1
1. getOddLotDelayedPriceTime : replaced Long return value with 0L for pl/zankowski/iextrading4j/api/stocks/Quote::getOddLotDelayedPriceTime → KILLED |
return oddLotDelayedPriceTime; |
| 442 | } | |
| 443 | ||
| 444 | public String getCurrency() { | |
| 445 |
1
1. getCurrency : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::getCurrency → KILLED |
return currency; |
| 446 | } | |
| 447 | ||
| 448 | @Override | |
| 449 | public boolean equals(Object o) { | |
| 450 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with false for pl/zankowski/iextrading4j/api/stocks/Quote::equals → KILLED |
if (this == o) return true; |
| 451 |
3
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED 3. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/stocks/Quote::equals → KILLED |
if (o == null || getClass() != o.getClass()) return false; |
| 452 | Quote quote = (Quote) o; | |
| 453 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/stocks/Quote::equals → KILLED |
return Objects.equals(symbol, quote.symbol) && |
| 454 |
1
1. equals : negated conditional → KILLED |
Objects.equals(companyName, quote.companyName) && |
| 455 |
1
1. equals : negated conditional → KILLED |
Objects.equals(primaryExchange, quote.primaryExchange) && |
| 456 |
1
1. equals : negated conditional → KILLED |
Objects.equals(sector, quote.sector) && |
| 457 |
1
1. equals : negated conditional → KILLED |
Objects.equals(calculationPrice, quote.calculationPrice) && |
| 458 |
1
1. equals : negated conditional → KILLED |
Objects.equals(open, quote.open) && |
| 459 |
1
1. equals : negated conditional → KILLED |
Objects.equals(openTime, quote.openTime) && |
| 460 |
1
1. equals : negated conditional → KILLED |
Objects.equals(openSource, quote.openSource) && |
| 461 |
1
1. equals : negated conditional → KILLED |
Objects.equals(close, quote.close) && |
| 462 |
1
1. equals : negated conditional → KILLED |
Objects.equals(closeTime, quote.closeTime) && |
| 463 |
1
1. equals : negated conditional → KILLED |
Objects.equals(closeSource, quote.closeSource) && |
| 464 |
1
1. equals : negated conditional → KILLED |
Objects.equals(high, quote.high) && |
| 465 |
1
1. equals : negated conditional → KILLED |
Objects.equals(highTime, quote.highTime) && |
| 466 |
1
1. equals : negated conditional → KILLED |
Objects.equals(highSource, quote.highSource) && |
| 467 |
1
1. equals : negated conditional → KILLED |
Objects.equals(low, quote.low) && |
| 468 |
1
1. equals : negated conditional → KILLED |
Objects.equals(lowTime, quote.lowTime) && |
| 469 |
1
1. equals : negated conditional → KILLED |
Objects.equals(lowSource, quote.lowSource) && |
| 470 |
1
1. equals : negated conditional → KILLED |
Objects.equals(volume, quote.volume) && |
| 471 |
1
1. equals : negated conditional → KILLED |
Objects.equals(latestPrice, quote.latestPrice) && |
| 472 |
1
1. equals : negated conditional → KILLED |
Objects.equals(latestSource, quote.latestSource) && |
| 473 |
1
1. equals : negated conditional → KILLED |
Objects.equals(latestTime, quote.latestTime) && |
| 474 |
1
1. equals : negated conditional → KILLED |
Objects.equals(latestUpdate, quote.latestUpdate) && |
| 475 |
1
1. equals : negated conditional → KILLED |
Objects.equals(latestVolume, quote.latestVolume) && |
| 476 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexRealtimePrice, quote.iexRealtimePrice) && |
| 477 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexRealtimeSize, quote.iexRealtimeSize) && |
| 478 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexLastUpdated, quote.iexLastUpdated) && |
| 479 |
1
1. equals : negated conditional → KILLED |
Objects.equals(delayedPrice, quote.delayedPrice) && |
| 480 |
1
1. equals : negated conditional → KILLED |
Objects.equals(delayedPriceTime, quote.delayedPriceTime) && |
| 481 |
1
1. equals : negated conditional → KILLED |
Objects.equals(extendedPrice, quote.extendedPrice) && |
| 482 |
1
1. equals : negated conditional → KILLED |
Objects.equals(extendedChange, quote.extendedChange) && |
| 483 |
1
1. equals : negated conditional → KILLED |
Objects.equals(extendedChangePercent, quote.extendedChangePercent) && |
| 484 |
1
1. equals : negated conditional → KILLED |
Objects.equals(extendedPriceTime, quote.extendedPriceTime) && |
| 485 |
1
1. equals : negated conditional → KILLED |
Objects.equals(previousClose, quote.previousClose) && |
| 486 |
1
1. equals : negated conditional → KILLED |
Objects.equals(previousVolume, quote.previousVolume) && |
| 487 |
1
1. equals : negated conditional → KILLED |
Objects.equals(change, quote.change) && |
| 488 |
1
1. equals : negated conditional → KILLED |
Objects.equals(changePercent, quote.changePercent) && |
| 489 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexMarketPercent, quote.iexMarketPercent) && |
| 490 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexVolume, quote.iexVolume) && |
| 491 |
1
1. equals : negated conditional → KILLED |
Objects.equals(avgTotalVolume, quote.avgTotalVolume) && |
| 492 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexBidPrice, quote.iexBidPrice) && |
| 493 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexBidSize, quote.iexBidSize) && |
| 494 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexAskPrice, quote.iexAskPrice) && |
| 495 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexAskSize, quote.iexAskSize) && |
| 496 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexOpen, quote.iexOpen) && |
| 497 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexOpenTime, quote.iexOpenTime) && |
| 498 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexClose, quote.iexClose) && |
| 499 |
1
1. equals : negated conditional → KILLED |
Objects.equals(iexCloseTime, quote.iexCloseTime) && |
| 500 |
1
1. equals : negated conditional → KILLED |
Objects.equals(marketCap, quote.marketCap) && |
| 501 |
1
1. equals : negated conditional → KILLED |
Objects.equals(peRatio, quote.peRatio) && |
| 502 |
1
1. equals : negated conditional → KILLED |
Objects.equals(week52High, quote.week52High) && |
| 503 |
1
1. equals : negated conditional → KILLED |
Objects.equals(week52Low, quote.week52Low) && |
| 504 |
1
1. equals : negated conditional → KILLED |
Objects.equals(ytdChange, quote.ytdChange) && |
| 505 |
1
1. equals : negated conditional → KILLED |
Objects.equals(bidPrice, quote.bidPrice) && |
| 506 |
1
1. equals : negated conditional → KILLED |
Objects.equals(bidSize, quote.bidSize) && |
| 507 |
1
1. equals : negated conditional → KILLED |
Objects.equals(askPrice, quote.askPrice) && |
| 508 |
1
1. equals : negated conditional → KILLED |
Objects.equals(askSize, quote.askSize) && |
| 509 |
1
1. equals : negated conditional → KILLED |
Objects.equals(lastTradeTime, quote.lastTradeTime) && |
| 510 |
1
1. equals : negated conditional → KILLED |
Objects.equals(isUSMarketOpen, quote.isUSMarketOpen) && |
| 511 |
1
1. equals : negated conditional → KILLED |
Objects.equals(oddLotDelayedPrice, quote.oddLotDelayedPrice) && |
| 512 |
1
1. equals : negated conditional → KILLED |
Objects.equals(oddLotDelayedPriceTime, quote.oddLotDelayedPriceTime) && |
| 513 |
1
1. equals : negated conditional → KILLED |
Objects.equals(currency, quote.currency); |
| 514 | } | |
| 515 | ||
| 516 | @Override | |
| 517 | public int hashCode() { | |
| 518 |
1
1. hashCode : replaced int return with 0 for pl/zankowski/iextrading4j/api/stocks/Quote::hashCode → KILLED |
return Objects.hash(symbol, companyName, primaryExchange, sector, calculationPrice, open, openTime, |
| 519 | openSource, close, closeTime, closeSource, high, highTime, highSource, low, lowTime, lowSource, | |
| 520 | volume, latestPrice, latestSource, latestTime, latestUpdate, latestVolume, iexRealtimePrice, | |
| 521 | iexRealtimeSize, iexLastUpdated, delayedPrice, delayedPriceTime, extendedPrice, extendedChange, | |
| 522 | extendedChangePercent, extendedPriceTime, previousClose, previousVolume, change, changePercent, | |
| 523 | iexMarketPercent, iexVolume, avgTotalVolume, iexBidPrice, iexBidSize, iexAskPrice, iexAskSize, | |
| 524 | iexOpen, iexOpenTime, iexClose, iexCloseTime, marketCap, peRatio, week52High, week52Low, ytdChange, | |
| 525 | bidPrice, bidSize, askPrice, askSize, lastTradeTime, isUSMarketOpen, oddLotDelayedPrice, | |
| 526 | oddLotDelayedPriceTime, currency); | |
| 527 | } | |
| 528 | ||
| 529 | @Override | |
| 530 | public String toString() { | |
| 531 |
1
1. toString : replaced return value with "" for pl/zankowski/iextrading4j/api/stocks/Quote::toString → KILLED |
return new StringJoiner(", ", Quote.class.getSimpleName() + "[", "]") |
| 532 | .add("symbol='" + symbol + "'") | |
| 533 | .add("companyName='" + companyName + "'") | |
| 534 | .add("primaryExchange='" + primaryExchange + "'") | |
| 535 | .add("sector='" + sector + "'") | |
| 536 | .add("calculationPrice='" + calculationPrice + "'") | |
| 537 | .add("open=" + open) | |
| 538 | .add("openTime=" + openTime) | |
| 539 | .add("openSource='" + openSource + "'") | |
| 540 | .add("close=" + close) | |
| 541 | .add("closeTime=" + closeTime) | |
| 542 | .add("closeSource='" + closeSource + "'") | |
| 543 | .add("high=" + high) | |
| 544 | .add("highTime=" + highTime) | |
| 545 | .add("highSource='" + highSource + "'") | |
| 546 | .add("low=" + low) | |
| 547 | .add("lowTime=" + lowTime) | |
| 548 | .add("lowSource='" + lowSource + "'") | |
| 549 | .add("volume=" + volume) | |
| 550 | .add("latestPrice=" + latestPrice) | |
| 551 | .add("latestSource='" + latestSource + "'") | |
| 552 | .add("latestTime='" + latestTime + "'") | |
| 553 | .add("latestUpdate=" + latestUpdate) | |
| 554 | .add("latestVolume=" + latestVolume) | |
| 555 | .add("iexRealtimePrice=" + iexRealtimePrice) | |
| 556 | .add("iexRealtimeSize=" + iexRealtimeSize) | |
| 557 | .add("iexLastUpdated=" + iexLastUpdated) | |
| 558 | .add("delayedPrice=" + delayedPrice) | |
| 559 | .add("delayedPriceTime=" + delayedPriceTime) | |
| 560 | .add("extendedPrice=" + extendedPrice) | |
| 561 | .add("extendedChange=" + extendedChange) | |
| 562 | .add("extendedChangePercent=" + extendedChangePercent) | |
| 563 | .add("extendedPriceTime=" + extendedPriceTime) | |
| 564 | .add("previousClose=" + previousClose) | |
| 565 | .add("previousVolume=" + previousVolume) | |
| 566 | .add("change=" + change) | |
| 567 | .add("changePercent=" + changePercent) | |
| 568 | .add("iexMarketPercent=" + iexMarketPercent) | |
| 569 | .add("iexVolume=" + iexVolume) | |
| 570 | .add("avgTotalVolume=" + avgTotalVolume) | |
| 571 | .add("iexBidPrice=" + iexBidPrice) | |
| 572 | .add("iexBidSize=" + iexBidSize) | |
| 573 | .add("iexAskPrice=" + iexAskPrice) | |
| 574 | .add("iexAskSize=" + iexAskSize) | |
| 575 | .add("iexOpen=" + iexOpen) | |
| 576 | .add("iexOpenTime=" + iexOpenTime) | |
| 577 | .add("iexClose=" + iexClose) | |
| 578 | .add("iexCloseTime=" + iexCloseTime) | |
| 579 | .add("marketCap=" + marketCap) | |
| 580 | .add("peRatio=" + peRatio) | |
| 581 | .add("week52High=" + week52High) | |
| 582 | .add("week52Low=" + week52Low) | |
| 583 | .add("ytdChange=" + ytdChange) | |
| 584 | .add("bidPrice=" + bidPrice) | |
| 585 | .add("bidSize=" + bidSize) | |
| 586 | .add("askPrice=" + askPrice) | |
| 587 | .add("askSize=" + askSize) | |
| 588 | .add("lastTradeTime=" + lastTradeTime) | |
| 589 | .add("isUSMarketOpen=" + isUSMarketOpen) | |
| 590 | .add("oddLotDelayedPrice=" + oddLotDelayedPrice) | |
| 591 | .add("oddLotDelayedPriceTime=" + oddLotDelayedPriceTime) | |
| 592 | .add("currency=" + currency) | |
| 593 | .toString(); | |
| 594 | } | |
| 595 | } | |
Mutations | ||
| 204 |
1.1 |
|
| 208 |
1.1 |
|
| 212 |
1.1 |
|
| 216 |
1.1 |
|
| 220 |
1.1 |
|
| 224 |
1.1 |
|
| 228 |
1.1 |
|
| 232 |
1.1 |
|
| 236 |
1.1 |
|
| 240 |
1.1 |
|
| 244 |
1.1 |
|
| 248 |
1.1 |
|
| 252 |
1.1 |
|
| 256 |
1.1 |
|
| 260 |
1.1 |
|
| 264 |
1.1 |
|
| 268 |
1.1 |
|
| 272 |
1.1 |
|
| 276 |
1.1 |
|
| 280 |
1.1 |
|
| 284 |
1.1 |
|
| 288 |
1.1 |
|
| 292 |
1.1 |
|
| 296 |
1.1 |
|
| 300 |
1.1 |
|
| 304 |
1.1 |
|
| 308 |
1.1 |
|
| 312 |
1.1 |
|
| 316 |
1.1 |
|
| 320 |
1.1 |
|
| 324 |
1.1 |
|
| 328 |
1.1 |
|
| 332 |
1.1 |
|
| 336 |
1.1 |
|
| 340 |
1.1 |
|
| 344 |
1.1 |
|
| 348 |
1.1 |
|
| 352 |
1.1 |
|
| 356 |
1.1 |
|
| 360 |
1.1 |
|
| 364 |
1.1 |
|
| 368 |
1.1 |
|
| 372 |
1.1 |
|
| 376 |
1.1 |
|
| 380 |
1.1 |
|
| 384 |
1.1 |
|
| 388 |
1.1 |
|
| 392 |
1.1 |
|
| 396 |
1.1 |
|
| 400 |
1.1 |
|
| 404 |
1.1 |
|
| 408 |
1.1 |
|
| 412 |
1.1 |
|
| 416 |
1.1 |
|
| 420 |
1.1 |
|
| 424 |
1.1 |
|
| 428 |
1.1 |
|
| 433 |
1.1 2.2 |
|
| 437 |
1.1 |
|
| 441 |
1.1 |
|
| 445 |
1.1 |
|
| 450 |
1.1 2.2 |
|
| 451 |
1.1 2.2 3.3 |
|
| 453 |
1.1 2.2 |
|
| 454 |
1.1 |
|
| 455 |
1.1 |
|
| 456 |
1.1 |
|
| 457 |
1.1 |
|
| 458 |
1.1 |
|
| 459 |
1.1 |
|
| 460 |
1.1 |
|
| 461 |
1.1 |
|
| 462 |
1.1 |
|
| 463 |
1.1 |
|
| 464 |
1.1 |
|
| 465 |
1.1 |
|
| 466 |
1.1 |
|
| 467 |
1.1 |
|
| 468 |
1.1 |
|
| 469 |
1.1 |
|
| 470 |
1.1 |
|
| 471 |
1.1 |
|
| 472 |
1.1 |
|
| 473 |
1.1 |
|
| 474 |
1.1 |
|
| 475 |
1.1 |
|
| 476 |
1.1 |
|
| 477 |
1.1 |
|
| 478 |
1.1 |
|
| 479 |
1.1 |
|
| 480 |
1.1 |
|
| 481 |
1.1 |
|
| 482 |
1.1 |
|
| 483 |
1.1 |
|
| 484 |
1.1 |
|
| 485 |
1.1 |
|
| 486 |
1.1 |
|
| 487 |
1.1 |
|
| 488 |
1.1 |
|
| 489 |
1.1 |
|
| 490 |
1.1 |
|
| 491 |
1.1 |
|
| 492 |
1.1 |
|
| 493 |
1.1 |
|
| 494 |
1.1 |
|
| 495 |
1.1 |
|
| 496 |
1.1 |
|
| 497 |
1.1 |
|
| 498 |
1.1 |
|
| 499 |
1.1 |
|
| 500 |
1.1 |
|
| 501 |
1.1 |
|
| 502 |
1.1 |
|
| 503 |
1.1 |
|
| 504 |
1.1 |
|
| 505 |
1.1 |
|
| 506 |
1.1 |
|
| 507 |
1.1 |
|
| 508 |
1.1 |
|
| 509 |
1.1 |
|
| 510 |
1.1 |
|
| 511 |
1.1 |
|
| 512 |
1.1 |
|
| 513 |
1.1 |
|
| 518 |
1.1 |
|
| 531 |
1.1 |