<?php
defined("ABSPATH") || exit;
require_once __DIR__ . '/../shared/screener_table.php';
$vunelix_widget = vunelix_build_screener_widget('cex-screener', 'crypto', [
    'overview'            => 'Overview',
    'performance'         => 'Performance',
    'oscillators'         => 'Oscillators',
    'volatility_analysis' => 'Volatility',
    'technical_analysis'  => 'Technical',
]);
$vunelix_widget['js'] = 'widgets/screener/vunelix-cex-screener.js';
$vunelix_widget['defaults']['default_sort'] = $vunelix_widget['settings']['data']['fields']['default_sort']['default'] = 'perf.24h_vol_desc';
$vunelix_widget['defaults']['animation_mode'] = $vunelix_widget['settings']['live_data']['fields']['animation_mode']['default'] = 'flash';

return $vunelix_widget;
