To add a stock market widget to a page or post do the following:

1. Select Premium Stock Market Widgets in the admin menu.
2. Choose widget type (inline, card, table etc).
3. Customize widget settings (asset, template, color etc).
4. Copy the widget shortcode to clipboard.
5. Paste the shortcode to a page or post.

If you want to add a stock market widget to one of the WordPress widgets areas you have to install an extra free WordPress plugin (this one or similar), which allows processing shortcodes in widgets. After the plugin is installed get the shortcode as described above and paste it to a widget area.

If you want to call the shortcode from a template you need to wrap the shortcode in a do_shortcode() function call like this:

    <?php echo do_shortcode('[stock_market_widget type="card" template="basic2" color="default" assets="AAPL" api="yf"]');?>