getMessage()); } } // Redirect to the watchlist section to prevent form resubmission header("Location: " . $_SERVER['PHP_SELF'] . '#watchlist'); exit; } ?> Moonshot Tracker

Discover Your Next 10x Stock

AI-powered scanning for high-upside micro and small-cap gems.

Moonshot Scanner

Define criteria to discover undervalued high-growth stocks across markets.

Symbol Company Name Price Market Cap Action

Scanning for moonshots...

Moonshot Watchlist
query('SELECT symbol, company_name, price, change_pct FROM watchlist ORDER BY symbol ASC'); $watchlist = $stmt->fetchAll(); } catch (PDOException $e) { // For now, just show an empty list on DB error. // In a real app, you'd want to log this error. $watchlist = []; error_log("Database error: " . $e->getMessage()); } foreach ($watchlist as $stock): $changeClass = $stock['change_pct'] >= 0 ? 'text-success' : 'text-danger'; $changeIcon = $stock['change_pct'] >= 0 ? 'trending-up' : 'trending-down'; ?>
Symbol Company Name Price Change % (24h) Conviction (soon) Tags (soon)
$ % N/A N/A