codyrocheleau / IEXCloudDotNet

IEXCloudDotNet is a .Net class library allowing easy access to the IEXCloud API
11 stars 1 forks source link

Certain stats are inaccurate #6

Open TheHeadmaster opened 5 years ago

TheHeadmaster commented 5 years ago

When I query for dividend information, I get blank values for certain stocks, specifically EMD (can you tell like EMD too much), but if you query with the older API, you'll get correct dividend information.

With IEXCloudAPI: Dividend Yield: 0 TTM Dividend Rate: 0 Next Dividend Date: null

With IEXTradingAPI: Dividend Yield: 8.80% Dividend Rate: $1.22 Next Dividend Date: 2019-05-01 I actually had to do a hacky workaround where if those stats are 0 or null, then to query the old IEX API for it to see if it had a different value. I'm not sure if this is something on your part or if the new IEX Cloud API is still ironing out those kinks. Most stocks I'll get this information no problem, but again, EMD is being the odd man out.

EMD is one of those iffy stocks that are going to throw a lot of wacky errors, because a lot of sources don't even list it as having a dividend, even though it puts out around an 8% dividend a year paid monthly. It's supposed to be a secret or something.

codyrocheleau commented 5 years ago

It looks as though this is an issue with the IEXCloud server. I am assuming once they switch from beta to v1 this will be solved. I am going to open a support ticket on their end and see if this can be fixed. Here is the raw data that I am pulling from the IEXCloud server with no processing done from the library.

IEXCloud stats call for EMD (new server): https://imgur.com/a/PE8OiXA

IEXTrading stats call for EMD (old server): https://imgur.com/0ldwgGV