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:
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 example 0110 - Statement - Consolidated Balance Sheets
which is the second item you can go Copy to clipboard
and then click Table
.
Excel
and choose Cell 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.
Arelle provide a Python API that you can find here with the documentation here.
This API will allow you to automate your process by scripting actions, this removes the necessity to automate working with the GUI itself which would be cumbersome.