Tuesday Prompt #16: a global stock explorer to diversify investment ideas

How a single prompt generated an HTML/JavaScript tool to discover listed companies by sector and stock exchange.

For this 16th Tuesday Prompt, the goal was to test a practical and useful use case for curious investors: a tool capable of helping users discover listed companies around the world based on their business sector and stock exchange.

Screenshot of a Linkeum global stock explorer with a search bar, sector and exchange filters, and cards for listed companies.
Linkeum
Continue after this ad

At Linkeum, Tuesday Prompts are often used to test interface ideas that can become genuinely useful tools. For this 16th edition, the goal was to create in a single prompt a global stock explorer capable of helping users discover listed companies based on their business sector and stock exchange.

The idea is simple, but relevant: when trying to diversify, it is often useful to move beyond the same names, the same markets, and the same habits. A visual tool that makes it easy to browse companies by sector and exchange can therefore become a strong entry point for discovering new ideas.

The prompt used

The prompt sent to Qwen was designed to generate a standalone HTML file with embedded CSS and JavaScript, conceived as a Global Stock Discovery & Diversification Explorer. The specification required a premium interface, a search engine, filters by sector and stock exchange, and an embedded dataset of at least 150 real publicly traded companies from around the world.

Here is the prompt that was used:

Create a single self-contained HTML file with embedded CSS and JavaScript that builds a premium “Global Stock Discovery & Diversification Explorer” tool.

GOAL
The tool helps investors discover publicly traded companies worldwide based on specific sectors and stock exchanges to improve portfolio diversification.

THE DATA (CRITICAL)
Inside the JavaScript, create a hardcoded array of at least 150 REAL publicly traded companies from around the world.
Do NOT use placeholders. Do NOT truncate the list.
Ensure massive diversity across:
Exchanges (NYSE, NASDAQ, Euronext Paris/Amsterdam, LSE, XETRA, Tokyo, Hong Kong, TSX, etc.)
Sectors (Technology, Healthcare, Energy, Financials, Consumer Discretionary, Industrials, Utilities, Materials, Real Estate, etc.)
Each company object should have: Name, Ticker, Exchange, Sector, Country, and a 1-sentence description.

LAYOUT & FEATURES
Top/Header: Title "Global Stock Explorer" and a short subtitle about diversification.
Left Sidebar (Filters):
Search bar (by name or ticker)
Dropdown or checkboxes for "Sector"
Dropdown or checkboxes for "Exchange"
A "Reset Filters" button

Main Content Area: A responsive CSS Grid displaying the companies as premium cards.
Company Cards: Show Ticker (bold), Name, Sector (as a colored pill/badge), Exchange, Country flag (emoji is fine), and the short description.

DESIGN STYLE
Match a premium, fintech, Linkeum-like style.
Deep navy background (#0A1128 or similar) with slightly lighter navy cards.
Subtle blue/gold/amber accents for tags or borders.
Clean typography (sans-serif, inter/roboto style).
Soft shadows, rounded corners, executive-grade UI.
Hover effects on the cards (slight lift or border glow).

TECHNICAL REQUIREMENTS
Output exactly one HTML file containing everything.
Pure HTML, CSS, JS. No external frameworks like React, Vue, or Tailwind.
You can use a font from Google Fonts.
The filtering and search logic must work instantly in JavaScript.
Do not explain the code. Output raw HTML only.

The visual goal was also very clear: to obtain a modern, dark, readable, and attractive interface in a fintech style close to the Linkeum universe. The generated file matches that intention well, with a navy background, elegant cards, Inter typography, blue and gold accents, and a light hover effect on the cards.

What Qwen generated

The result takes the form of a single file titled Global Stock Explorer, directly executable in a browser without any external framework. The interface includes a header with title and subtitle, a filter sidebar, a results counter, and a responsive grid of company cards.

Each card shows the ticker, the company name, a colored sector badge, the exchange, the country, and a short business description. The filtering logic runs in client-side JavaScript, with real-time search by name or ticker, sector filter, exchange filter, and a reset button.

The company database

The file embeds a hardcoded list of more than 150 companies, which already allows fairly broad discovery across multiple markets. The selection covers different international exchanges and several major business sectors, which strengthens the tool’s value in a diversification context.

The result is not an exhaustive screener or an institutional-grade financial database, but it is already a sufficiently rich base for exploring ideas for geographic and sector diversification in a simple and immediate way.

Why this prompt is interesting

This Tuesday Prompt shows that it is possible, with a single request, to obtain not only a strong interface but also a tool that is immediately testable and already useful in a discovery-driven context. It is not a professional terminal or an advanced stock screener, but it is not just a visual demo either: it is a functional, clear, and directly usable interface.

That is also what makes this kind of exercise interesting on Linkeum. In one prompt, a credible product building block can emerge, halfway between a visual prototype, an editorial tool, and a starting point for a more ambitious future module.

Continue after this ad

Key Takeaways

The result is not an advanced financial screener, but it is a solid, readable, and already useful base for exploring ideas for sector and geographic diversification. Above all, it shows that a Tuesday Prompt can produce in one shot a genuinely interesting tool, visually polished and immediately usable.
L
Linkeum Team
Team of tech and finance writers and experts at Linkeum.

Related Keywords

#ai #qwen #stocks #stock market #diversification #screener #stock explorer #html #javascript #linkeum #tuesday prompt

Readers also read