-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some stocks inexplicably have no closing price #235
Comments
Thanks. Looks like it's an IEX issue. This method pulls from Query: https://sandbox.iexapis.com/stable/stock/anh-a/quote?token= Response: {
"symbol": "ANH-A",
"companyName": "Anworth Mortgage Asset Corp. - 8.625% PRF PERPETUAL USD 25 - Ser A",
"primaryExchange": "NECRIENXKOESGO AC,TNY .K WHC",
"calculationPrice": "close",
"open": null,
"openTime": null,
"openSource": "ioaffilc",
"close": null,
"closeTime": null,
"closeSource": "lfacoiif",
"high": 25.43,
"highTime": 1682901734788,
"highSource": "esloC",
"low": 25.99,
"lowTime": 1623175723736,
"lowSource": "Eteepa ei IirXmrlc",
"latestPrice": 25.82,
"latestSource": "Close",
"latestTime": "December 9, 2020",
"latestUpdate": 1644973312334,
"latestVolume": 0,
"iexRealtimePrice": 0,
"iexRealtimeSize": 0,
"iexLastUpdated": 0,
"delayedPrice": null,
"delayedPriceTime": null,
"oddLotDelayedPrice": 26.186,
"oddLotDelayedPriceTime": 1615299755862,
"extendedPrice": 26.2,
"extendedChange": -0.18,
"extendedChangePercent": -0.0073,
"extendedPriceTime": 1672162360049,
"previousClose": 26,
"previousVolume": 13407,
"change": 0.19,
"changePercent": 0.00747,
"volume": 0,
"iexMarketPercent": null,
"iexVolume": 0,
"avgTotalVolume": 11508,
"iexBidPrice": 0,
"iexBidSize": 0,
"iexAskPrice": 0,
"iexAskSize": 0,
"iexOpen": 25.7,
"iexOpenTime": 1631695093582,
"iexClose": 25.76,
"iexCloseTime": 1627450770126,
"marketCap": 261438384,
"peRatio": null,
"week52High": 25.61,
"week52Low": 6.68,
"ytdChange": 0.07830634361610343,
"lastTradeTime": 1615225463942,
"isUSMarketOpen": false
} |
Thank you @addisonlynch. Yes, here is a list of others: List of securities with a close price of None
|
Thanks. Sent IEX an email. |
Thanks for keeping tabs on this @addisonlynch. Have you heard anything? |
Hey there @addisonlynch, just checking in on this. |
@kyrofa no word from IEX. I would recommend sending them a support request. |
Summary (include Python version)
Using Python 3.6.9 and iexfinance v0.4.3, I'm trying to fetch the closing price of a number of stocks. Some of them are oddly
None
:Date/time of issue
Wednesday, December 9th, 21:00 Pacific.
Expected behavior
I expected this to be around $25 or so given this.
Actual behavior
The close price is
None
. This happens with several symbols, not just this one. I'm not sure if this is an issue with this library or with IEX, but I thought I'd start here and see if we can get to the bottom of it.The text was updated successfully, but these errors were encountered: