<?php
defined("ABSPATH") || exit;
require_once __DIR__ . '/../shared/market_movers.php';
$vunelix_widget = vunelix_build_market_movers_widget('stock-market-movers', 'stock');
$vunelix_widget['js'] = 'widgets/market-movers/vunelix-stock-market-movers.js';
$vunelix_widget['defaults']['sort_by']      = 'earnings.market_cap_desc';
$vunelix_widget['settings']['data']['fields']['sort_by']['default'] = 'earnings.market_cap_desc';
return $vunelix_widget;
