Q4Widgets API Documentation

q4.insiderOwnershipIndex

The Insider Ownership Index widget is used to display data elements related to insider ownership & funds. Templated for Index Sites.
Script link
q4.studioApi.4.0.0.min.js
Source file
q4.studioApi.js, line 1317

This widget extends the q4.insiderOwnership widget. It has all the options and methods of the parent widget, in addition to those below. See the parent widget's documentation for details.

Examples

<script type="text/javascript">
    $('.ownership-widget').insiderOwnershipIndex()
</script>

Options

summarySelector string
A selector where the summary table will be rendered
Default value
.Tbl-InsiderTransactionActivity tbody
volumeTableSelector string
A selector where the high volume table will be rendered
Default value
.Tbl-InsiderHighVolume tbody
insiderTableSelector string
A selector where the details and person details will be rendered
Default value
.OwnershipContainer
insiderLinkSelector string
A selector trigger to load individual details
Default value
.OwnershipName a.text-primary, .Tbl-InsiderHighVolume a.text-primary
returnTriggerSelector string
A selector trigger to reload detail list view/table
Default value
.returnToList
defaultTemplate string
Default template for out of the box use
summaryTpl string
Template for summary data
'{{#items}}' +
    '<tr>' +
        '<td>{{aggregates}}</td>' +
        '<td class="text-right">{{shares}}</td>' +
        '<td class="text-right">{{price}}</td>' +
        '<td class="text-right">{{value}}</td>' +
    '</tr>' +
'{{/items}}'
highVolumeTpl string
Template for high volume data
'{{#items}}' +
    '<tr>' +
        '<td><a href="javascript:;" data-personid="{{personId}}" class="text-primary">{{#companyName}}{{companyName}}{{/companyName}}{{^companyName}}{{lastName}}, {{firstName}} {{middleName}}{{/companyName}}</a></td>' +
        '<td class="text-right">{{buy}}</td>' +
        '<td class="text-right">{{sell}}</td>' +
        '<td class="text-right">{{options}}</td>' +
        '<td class="text-right">{{totalTransactions}}</td>' +
        '<td class="text-right">{{netShares}}</td>' +
    '</tr>' +
'{{/items}}'
insiderTableTpl string
Template for insider ownership list data
'<div class="bg-primary irwResponsiveTableHdr InsiderOwnershipTitle3"><strong>Insider Ownership</strong></div>' +
'<div id="OwnershipPanel">' +
    '<div class="irw-table-responsive">' +
        '<table class="table InsiderOwneship Tbl-InsiderOwnership irwResponsiveTable" data-sorting="false">' +
            '<thead>' +
                '<tr>' +
                    '<th class="Tbl-th-FirstCol" data-toggle="true"><strong>Transaction Date</strong></th>' +
                    '<th><strong>Name</strong></th>' +
                    '<th data-breakpoints="xs" class="text-center"><strong>Action</strong></th>' +
                    '<th data-breakpoints="xs" class="text-right"><strong>Shares</strong></th>' +
                    '<th data-breakpoints="xs sm" class="text-right"><strong>Price ($)</strong></th>' +
                    '<th data-breakpoints="xs sm" class="text-right"><strong>Value ($)</strong></th>' +
                    '<th data-breakpoints="xs sm" class="text-center"><strong>Type</strong></th>' +
                    '<th data-breakpoints="xs sm" class="text-left"><strong>Report Date</strong></th>' +
                    '<th data-breakpoints="xs sm" class="text-right hidden"></th>' +
                '</tr>' +
            '</thead>' +
            '<tbody>' +
                '{{#items}}' +
                    '<tr class="tableNoBorder">' +
                        '<td>{{transactionDate}}</td>' +
                        '<td>' +
                            '<div class="OwnershipName">' +
                                '<a href="javascript:;" data-personid="{{personId}}" class="text-primary">{{#companyName}}{{companyName}}{{/companyName}}{{^companyName}}{{lastName}}, {{firstName}} {{middleName}}{{/companyName}}</a><br>' +
                                '{{title}}' +
                            '</div>' +
                        '</td>' +
                        '<td class="text-center">{{action}}</td>' +
                        '<td class="text-right">{{shares}}</td>' +
                        '<td class="text-right">{{price}}</td>' +
                        '<td class="text-right">{{value}}</td>' +
                        '<td class="text-center">{{type}}</td>' +
                        '<td class="text-left">{{reportDate}}</td>' +
                        '<td class="text-muted hidden"><span class="text-muted irwResponsive-shift-left">{{description}}</span></td>' +
                    '</tr>' +
                    '<tr class="irwResponsive-hide-sm-md">' +
                        '<td class="irwHiddenColumn"></td>' +
                        '<td colspan="8" class="text-muted irwHiddenColumn">{{description}}</td>' +
                    '</tr>' +
                '{{/items}}' +
            '</tbody>' +
        '</table>' +
    '</div>' +
'</div>'
insiderDetailTpl string
Template for individual insider ownership list data
'<p class="text-right">' +
    '<a role="button" class="text-primary returnToList"><span class="fa fa-chevron-circle-left"></span> Return to main ownership page</a>' +
'</p>' +
'<div class="bg-primary irwResponsiveTableHdr InsiderOwnershipDetailTitle"><strong>{{#items.0}}{{#companyName}}{{companyName}}{{/companyName}}{{^companyName}}{{lastName}}, {{firstName}} {{middleName}}{{/companyName}}{{/items.0}}</strong></div>' +
'<table class="table table-bordered Tbl-InsiderDetailTable irwResponsiveTable" data-sorting="false">' +
    '<thead>' +
        '<tr class="active">' +
            '<th class="Tbl-th-FirstCol text-left" data-toggle="true"><strong>Transaction Date </strong></th>' +
            '<th class="text-center"><strong>Action</strong></th>' +
            '<th data-breakpoints="xs" class="text-right"><strong>Shares</strong></th>' +
            '<th data-breakpoints="xs" class="text-right"><strong>Price $</strong></th>' +
            '<th data-breakpoints="xs" class="text-right"><strong>Value $</strong></th>' +
            '<th data-breakpoints="xs sm" class="text-center"><strong>Type</strong></th>' +
            '<th data-breakpoints="xs sm" class="text-left"><strong>Report Date </strong></th>' +
        '</tr>' +
    '</thead>' +
    '<tbody>' +
        '{{#items}}' +
            '<tr>' +
                '<td class="text-left">{{transactionDate}}</td>' +
                '<td class="text-center">{{action}}</td>' +
                '<td class="text-right">{{shares}}</td>' +
                '<td class="text-right">{{price}}</td>' +
                '<td class="text-right">{{value}}</td>' +
                '<td class="text-center">{{type}}</td>' +
                '<td class="text-left">{{reportDate}}</td>' +
            '</tr>' +
        '{{/items}}' +
    '</tbody>' +
'</table>'
copyrightDisclaimerTpl string
The template for the copyright disclaimer's popup

'<div id="irwWrapper" style="margin:0;padding:0;">' +
  '<div class="modal-dialog" style="margin:0;padding:0">' +
      '<div class="modal-content">' +
          '<div class="modal-header bg-primary">' +
              '<h4 class="modal-title"><strong id="ModelTitle">Copyright Information</strong></h4>' +
          '</div>' +
          '<div class="modal-body">' +
              '<div id="PopupDive" class="irwScrollbar mCustomScrollbar _mCS_1 _mCS_4" style="max-height: 260px; overflow: hidden;" aria-hidden="true">' +
                  '<div class="mCustomScrollBox mCS-bootstrap-thin" id="mCSB_4" style="position: relative; height: 100%; overflow: hidden; max-width: 100%; max-height: 260px;">' +
                      '<div class="mCSB_container mCS_no_scrollbar" style="position:relative; top:0;">' +
                          '<div>' +
                              'Copyright © 2020, S&P Global Market Intelligence (and its affiliates as applicable). ' +
                              'Reproduction of any information, opinions, views, data or material, including ratings (“Content”) in any form is prohibited except with the prior written permission of the relevant party. ' +
                              'Such party, its affiliates and suppliers (“Content Providers”) do not guarantee the accuracy, adequacy, completeness, timeliness or availability of any Content and are not responsible for any errors or omissions (negligent or otherwise), regardless of the cause, or for the results obtained from the use of such Content. ' +
                              'In no event shall Content Providers be liable for any damages, costs, expenses, legal fees, or losses (including lost income or lost profit and opportunity costs) in connection with any use of the Content. ' +
                              'A reference to a particular investment or security, a rating or any observation concerning an investment that is part of the Content is not a recommendation to buy, sell or hold such investment or security, does not address the suitability of an investment or security and should not be relied on as investment advice. ' +
                              'Credit ratings are statements of opinions and are not statements of fact.' +
                          '</div>' +
                      '</div>' +
                  '</div>' +
              '</div>' +
          '</div>' +
      '</div>' +
  '</div>' +
'</div>'