If we do these simple steps we will use Arelle to fetch data from the SEC EDGAR database into the Arelle program.
The steps are:
- Open Arelle and click the Open web file which is an icon-button on the left top of the Arelle screen.
- A box called Enter URL pops up. Please provide a URL that contains an XBRL Instance from the Security and Exchange Commission (you can take this URL for example) and click OK.
- When Arelle finished downloading (it takes ~10sec) please click the scale button which has an icon-button of a scale sketching second from the end on top left of the Arelle screen.
Now here is the simple procedure i want to Automate in Arelle with Python:
There is a tab in Arelle called
Fact Table
which has some items that can expand by clicking the plus sign next to them into a tree.Without opening any of them if you
right click
one of them for example0110 - Statement - Consolidated Balance Sheets
which is the second item you can goCopy to clipboard
and then clickTable
.- Now please go to
Excel
and chooseCell A1
and paste the data by pushing Ctrl + V
SUMMARY: All i want is to do this in Python automatically.
Thank you for your attention.