Friday, 6 November 2020
Using an API Call to get an Overview of the XBRL contained in Filing
Thursday, 5 November 2020
Getting Tickers and Other Company Details Back with an XBRL API Data Call
1. cos/try (as shown above) enables you to search on a company name. Input at least five letters into the Company Box and it will return a list if matching companies when you refresh the query (Alt F5) as shown below.
2. cos/ will search by Ticker or CIK to return an exact match. In the case of a Ticker, it may return more than one result as it will show all the different companies that have used that Ticker since Companies have filed XBRL. The most common reason why two companies may have used the same Ticker would be where a company has morphed into a different legal entity so two companies, two CIK's. Don't worry when bringing back results we handle this by mapping the same Ticker to both companies to bring back a seamless series of results. Note: CIK's never change whereas Tickers for a company can.
3. cos/industry. You can use a SIC code with this Endpoint to bring back all companies with the same SIC. You could copy then SIC code for a target company into the industry box, select this Endpoint and the query will return all the companies operating in the same industry.
Wednesday, 17 June 2020
XBRL API Quarterly Data Call
Monday, 15 June 2020
Getting started with an XBRL API Data Call
Friday, 26 April 2019
How does the new Excel Linked Data Type Stocks stack up?
So are they any good? Well not surprisingly my interest is in the Stocks Data Type.
More info on how it all works and an introduction to what you can do with this Data Type can be found in the following links:
Office 365 Support - Excel data types: Stocks and geography
Strategic Finance - Excel: Stocks Data Type
Office Watch - Is Excel Stocks Data Type Premature?
I've been playing with this data on and off for a few weeks now and, going a bit deeper, I wanted to look at the good and the bad.
My interest was in using it as a front end stock selector for bringing back detailed XBRL financials from one of the APIs out there that enable you to do just that (try out the XBRL US API via our Excel template). These invariably work off a Ticker (or other identifier). But you don't always know the ticker so if the Stocks Data Type could magic up an instant ticker this would be a pretty nifty solution. And you can see it doing exactly that in this video.
I had a problem in roughly 300 cases (30%). 10% was due to the fact that some of these companies were no longer listed (merged/acquired etc). So lesson 1, Stocks only works with live companies (well I suppose it is stocks after all!). So I was down to a problem with 20%. For half of these (10% of the whole), it offered me some alternatives via the Data Selector Pane that pops up if no good match is found. What was surprising was it often offered me a choice when I felt it didn't need to e.g. Fox Corp; what was the clear cut choice was on the list and it should have gone straight for it, no quibbles, like it had for the other 80% of live companies.
And I got there in the end with the final 10% using a couple of strategies:
- Feeding it a ticker instead (kinda defeated the point as this was supposed to be the output!)*
- Removing words (taking it out "The", "Company", "Corporation", "LP" was particularly fruitful - funny kind of intelligence as you'd have thought removing noisy words would be the very first thing Bing did)
All of this was done with data from their new supplier - Refinitiv (formerly known as Thomson Reuters before the Image Consultants got to work). They had to rather quickly change from their previous suppliers, Morningstar.due to data issues.
What's good about it is the functionality works really well. I like it. What lets it down at the moment is the AI and sometimes the data. The good thing is that the AI ,by its nature, will get better. When I first started asking Alexa to play songs by the British band James, she would torture me with songs by James Arthur. After admonishing her for several months for her crass stupidity, she finally learnt the error of her ways. I bet in a years time, Bing won't be quite so easily defeated by John Deere.
Missing data
Some surprises here given the quality of the source.
For example the employees figure for Fox was missing but I could easily find it elsewhere. Note you won't always realise the data is missing if you just look at the cards as these only show the values that are actually present.
A lot of data was missing for oil companies which was odd. e.g. Enterprise Products Partners has no industry classification. Peculiar as the industry classification system used by Refinitiv is TRBC (Thomson Reuters Business Classification) i.e. their own so you wouldn't have thought that any large companies would be unclassified.
Usage limitations?
A word of CAUTION. You will notice what looks like a thin little disclaimer appears when you first add a Linked Stock Data Type:
Annoying enough that you have to click to remove this desktop hogging message but that's only the half of it. Its not a "stocks may go down as well as up" type of message or not just that old chestnut of how they can never be held responsible if you, heaven forbid, decide to trade on the bits of dodgy data that they never got round to cleaning up, that you yourself should have spotted.
As it says, click on the link and you will learn more about our data sources. And you will learn what not for trading purposes or advice really means. It means you LEGALLY can't use it to do these things, well certainly if you do it for a living or carry out any kind of financial function.
So this is all a bit confusing given that these professions are by far and away the biggest users of Excel. Do they tip toe round this functionality? Ordered not to use it by Legal on pain of death?
Whether this has any legal legs is I imagine debatable, given that you are not informed about this up front and this functionality is now baked into a product that to my knowledge has never had any hidden restrictions over what you could do with it before. I only looked because I'm in the financial information business so went sniffing around for this classic little stitch up.
So in theory, all you can do is look at it. So you have to question the point of it being in Excel at all. In practice I suspect you can get away with doing an awful lot more with it but you would have to question whether you could, say share a workbook with Stock Types in it or data derived thereof. Could this per se constitute advice?
Friday, 15 March 2019
XBRL US API
Now out of beta and with a small but burgeoning community, the XBRL US API provides an excellent way to get hold of individual pieces of XBRL via relatively straight forward http API requests. Pretty much everything is there, although it can take some time and experimentation to get all the pieces together you want, given the breadth and complexity of the dataset.
But never fear, there are two handy templates to get you up and running from day one, one for Excel (which we at Fundamental X have provided) and one for Google Sheets.
The Excel sheet shows you how you can quickly use Power Query as a front end to SEC filed XBRL. See how to immediately get going in this video.
Things to note:
- As filed, warts and all. So all the errors and missing data is present (or not!)
- Some limits to the free version (see pricing below)
- Authentication token required with each request and needs updating every hour
- Initial registration and Authentication setup a little tortuous (4 bits of info required)*
- Free - Registration required - Limits: Max 1000** records returned per request; Non-commercial use*.
- Individual Membership - $55 a year - Limits: Max 2000** records returned per request; Non-commercial use*.
- Power User Membership - $250 a year - Limits: No record limits; Non-commercial use*.
- Sole Practitioner Membership - $500 a year - Limits: No record limits; Commercial use allowed*.
Wednesday, 23 January 2019
Fixing XBRL to Build a Set of Investment Grade Financials in which you can have Total Confidence
This of course is also a sales pitch. We have a set of tools that we think does just that.
I've chosen a very simple single ratio model so you can see exactly what's going on and how easy it is to improve on the XBRL tagging filed by companies. I'm using our fully featured totaliZd product to do this and you can download both a before and after X Sheet to see the impact of these tools.
So lets say I'm a strong believer that research & development drives future growth. How does my target company stack up against its competitors?
Well I don't know, because as a result of extensions (and standard totals missing from as reported filed financials - a common problem), my model in Excel is currently a mess.
Now to give this analysis some credence, I've chosen the first company with a significant extension issue off our previous list of the DJ30 companies and found four of its competitors against which to compare. And I'm getting not a single R&D figure, coming through from the XBRL on the face of the financial statements, for any of them!
This is not uncommon behaviour for a peer group of companies. They watch each others disclosures and follow suit. There is even a button in the leading brands of XBRL creation software to allow you to do this! This is good and bad. Bad that it happens in the first place. Good in that it makes it easier to fix - we can quickly roll out the same change across the whole group.
Now at this point I would recommend you watch the video to see how to do this and how quickly it can be done. I was able to make the change, from model to filing and back again, for 4 companies in under 30 seconds.
totaliZd allows for layers of tagging so we never change the sacred as reported numbers and tags, we just build layers on top until we get exactly what we want, a view of the company that truly reflects what we wish to see. This way we can always get back to the genuine source figures. So we pick up the tag we want from our handy set of X Financials (broad set of the most commonly used set of values and adjustments used in modelling companies) and plonk it in the User Tag column. Job done. And when you have finished, this is what you will end up with.
So continuing our narrative, 3M looks like a poor performer compared to Corning, so based on our (very) simple and crude analysis, we should instead back Corning to generate greater revenues in the future.
Now we have only changed one tag here. And we can leave it at that if that's all we want to look at. But what other changes might we have to make, if we wanted to fully prepare 3M, to create a full set of VAXBRL (Verified & Adjusted XBRL), ready for any analytical challenges we might want to throw at our target company? Well if you look at the X Sheet after adjustments, you will see I had to add only five other tags to turn dubious as reported XBRL into Verified & Adjusted XBRL.
As the name implies, part of the process is Verifying the accuracy and validity of the XBRL and this is what the totaliZd sheet enables you to do. One glance at this sheet tells you everything is tickety boo and good to go. More on this in a later post - suffice to say there is an awful lot of checking going on here (we instigate a triple check procedure that enables you to look at the XBRL from three angles).
totaliZd enables you to adjust the XBRL, not to change it, but improve on it to match your own modelling requirements. User Tagging creates a backstop so no matter what the company churns out as a filing, you can easily fix or improve on it. You can make as many or as few adjustments as you wish and they will all be reflected in the totaliZd validation. You are in control, enabling you to decide what values go into your models. This way you can create a set of Financials which surpass any that you might purchase from the likes of Capital IQ or Bloombergs. This is serious value for money.
So confident are we that it will change the way you analyse companies, we have decided to offer a 60 day free trial of totaliZd (no credit card details or prepayment required). Just email us at totaliZd@fundamentalx.co.uk to take up this offer.
This post is part of series that started here and is a follow on to my last post - Why Verified and Adjusted XBRL is the Best Choice for Company Analysis




