During my last blog I discussed using background scripts. This week I will elaborate more on synchronizing background scripts and their data. If you haven’t read the previous blog don’t worry, you will be able to follow along. However, this blog does require at least a basic understanding of threading. The first part used a single background thread to track user activity within the application. A background thread is used to allow the user to continue to work in parallel to our script. Another way to use background scripts is to take a task and process it in parallel. Our script this week is an example of this.Continue reading "LDC #73: Running in the Background Part 2 -..." »
Friday, February 23. 2018
Friday, February 16. 2018
The technical term for a web address is a Uniform Resource Identifier or URI. The contents of a URI can be very simple, such as ‘www.gofiler.online’, or very complex. A URL, the common name for a web page is actually a Uniform Resource Locator, which is a component of a larger URI. From within a Legato script one may find the need to either build a query or perhaps take one apart. In this post we will explore how URIs work and how to work with them within Legato.Continue reading "LDC #72: Get Crack'n - Working with URIs" »
Tuesday, February 13. 2018
On February 12th, the SEC released a notice to N-CEN and N-PORT filers to remind them of the temporary final rule which requires funds in larger fund groups (for example, fund groups with $1 billion or more in net assets) to maintain in their records the information that is mandated to be included in Form N-PORT in lieu of filing this form via EDGAR. The temporary final rule applies until April 1, 2019. Of key importance, the information the funds in larger fund groups maintain in their records will be subject to examination by the Commission. New Forms N-PORT and N-CEN were adopted by the SEC on October 13th, 2016 in an effort to enhance transparency and modernize reporting requirements for registered investment companies.Continue reading "SEC Issues Notice to Forms N-CEN and N-PORT Filers" »
Friday, February 09. 2018
XBRL can be a challenging topic to tackle. There are a lot of rules to learn for it, and with 14,000+ elements in the US:GAAP taxonomy, it doesn’t look like it’s going to get simpler any time soon. Fortunately, using GoFiler and Legato, we can add some functionality to make things a little easier.
Continue reading "LDC #71: Validating With The XBRL Object" »
Friday, February 02. 2018
This week we are going to take a look at another client request to be able to remove multiple hyperlinks at the same time. In GoFiler there is a Remove Hyperlink function that will find where the caret currently is and if it is within a hyperlink it will remove the link. If the caret is located before or within an anchor/bookmark tag, the function will remove the anchor instead. However, if you have any text selected the tool gives the user a popup box and does not remove anything. So today we’re going to look at a simple script to hook into the Remove Hyperlink function, check if the user has text highlighted, and if so, remove all hyperlinks and bookmarks that we find in the highlighted section.Continue reading "LDC #70: Removing All Selected Hyperlinks" »
On January 25th, the SEC’s Office of Minority and Women Inclusion (OMWI) introduced its Diversity Assessment Report for Entities Regulated by the SEC, which is designed to help regulated entities conduct voluntary self-assessments of diversity policies and practices.Continue reading "SEC Introduces Diversity Assessment Report" »
Friday, January 26. 2018
Sometimes when developing we want our program to process items continually. This can be a fairly simple concept: the script sits in a loop and constantly does what we need it to until there are no items to process. Then our program is finished. If we want to run more items, we need to start the script again. As you can see, this could be a tedious, laborious, and potentially inefficient system.Continue reading "LDC #69: Running in the Background" »
Monday, January 22. 2018
The SEC’s Office of Financial Management Filing Fees announced the release of the web-based Registration Fee Estimator 1.2. Included in this release are all effective fee-bearing form types.Continue reading "SEC Releases Registration Fee Estimator 1.2" »
Friday, January 19. 2018
Way back in LDC #39, we discussed the file “ApplicationInitialize.ls” and how any script functions in it are run at application startup. With GoFiler 4.21b’s release on January 16, 2018, we’ve added support for a similar file, “ApplicationShutdown.ls”. As the name suggests, this file is called when GoFiler shuts down. This is a pretty powerful feature because it lets you do things to “clean up” your environment if you’ve modified it with other scripts or if you want to return the system to a desired state after using the application.
Continue reading "LDC #68: Application Shutdown Script" »
Friday, January 12. 2018
In past blog entries I’ve written, the topic is often about simple scripts. It’s covered a couple hundred lines of code, and the script usually handles a single function. This means that every script that’s been covered so far has been relatively simplistic in structure, with no more than 10 or so separate functions. With so little code, a script can still be easily maintainable even if no thought is given to how it’s put together. The design of the application is less important in these cases. However, what if you want to do a larger project? What if your script is going to include multiple UI screens and integrate with multiple systems? This is where you would want to pay some attention to design and apply some software design practices to the script to ensure that you get the best possible result. The blog post this week will not contain an example of the script but will rather discuss how we can apply some software engineering principles to Legato design to avoid common pitfalls.
Continue reading "LDC #67: Legato Program Design Best Practices" »
Thursday, January 11. 2018
The SEC announced on December 8th, 2017 that filing Form N-PORT on the EDGAR system will now not become mandatory until April 2019 for larger fund groups and April 2020 for smaller fund groups. However, these groups should still prepare and maintain N-PORT information in their records and make it available to the SEC upon request. This decision to modify Form N-PORT’s filing requirements comes as the agency continues its previously announced review and uplift of its EDGAR and other systems.Continue reading "SEC Changes N-PORT Filing Requirements" »
Monday, January 08. 2018
To aid filers avoid missing deadlines and reduce congestion around busy important filing dates, the SEC provides an anticipated peak filing schedule. Peak EDGAR filing times are estimated using historical data. The 2018 schedule is now available from the SEC.Continue reading "SEC's Peak Filing Schedule for 2018" »
Friday, January 05. 2018
Comma delimited data is perhaps the simplest way of representing a table of information. Many applications that export data will produce a CSV file, allowing for simple and fast extraction of data. However, despite the fact that CSV is a common format, it is not standardized. Reading and writing may also seem simple, but there are sticking points, such as how to handle commas and line returns that occur in the data itself. Wouldn’t it be nice to have tools to deal with CSV data? Legato does.Continue reading "LDC #66: CSV - The Simplest Data Format" »
Friday, December 29. 2017
It’s nearly the day where we all stare at the clocks waiting for the time to strike midnight. I’m talking, of course, about New Year’s Eve. A new year means new beginnings and new adventures. So to count us down to midnight I created a Legato script to inform you how long it is until the new year.Continue reading "LDC #65: It's Almost The New Year" »
Thursday, December 28. 2017
In 2017, there were a number of new changes in EDGAR compliance and new developments in SEC regulations. These have a significant impact on financial record-keeping, financial reporting and capital formation. As we head into 2018, let’s recap some of the most significant changes that happened last year.
Continue reading "2017: The Year in EDGAR" »