/screen-custom
Cosa fa. Filtra i mercati con criteri in linguaggio naturale (azioni, ETF, crypto, futures, fondi, forex).
Quando usarlo. Quando sai cosa cerchi ma non quale strumento.
Argomenti. CRITERIA (e.g. 'tech stocks P/E < 20' or 'crypto rank < 50 7d% > 10%' or 'futures commodity gain >1%')
Esempio. /screen-custom azioni europee dividend yield alto
Cosa restituisce. Un elenco di strumenti che soddisfano i criteri, con le metriche rilevanti.
Come funziona
Sezione intitolata “Come funziona”Quando lanci /screen-custom, Dexter non esegue codice fisso: invia all’AI la prompt qui sotto — il segnaposto {arg} viene sostituito con ciò che scrivi dopo il comando — e l’agente la esegue chiamando da sé gli strumenti necessari. Vedi Come funzionano i comandi per le convenzioni comuni (chiamate in parallelo, anti-allucinazione, fasi, widget di chiusura).
Strumenti che può usare: list_cryptos, list_futures, list_funds, list_forex_assets, stock_screener.
Prompt completa
Sezione intitolata “Prompt completa”È la prompt esatta inviata all’AI quando usi il comando (sostituendo {arg}).
If "{arg}" is empty or "{arg}", ask the user to describe their criteria and stop.
--- CRYPTO MODE ---If criteria mention "crypto", "coin", "blockchain", "DeFi", or specific crypto symbols (BTC, ETH, etc.):1. list_cryptos(limit=200) — returns all tracked coins with price, market_cap, market_cap_rank, change_pct_24h, change_pct_7d, change_pct_30d, volume_24h_to2. Filter and rank the returned data against the user's natural-language criteria using those fields.3. Table: Symbol | Name | Rank | Price | MCap | 24h% | 7d% | 30d%Disclaimer: crypto screening uses price/market-cap metrics only — fundamental ratios not available.
--- FUTURES / FONDI / FOREX MODE ---If criteria mention "future", "futures", "commodity future", "bond future", "fondo", "fondi","mutual fund", "forex", "valuta", "currency pair", "cambio valuta":Do NOT use stock_screener — it only knows stocks and has no asset_type filter. Call the toolfor the asset class the user asked about, then filter and rank the returned rows yourselfagainst their criteria. These universes are small (18 futures, 36 funds, 30 pairs), so onecall returns everything and no pagination is needed.- Futures → `list_futures`. Fields: ticker, name, category ("commodity", "bond", …), current_price, daily_change_pct, weekly_change_pct, monthly_change_pct, ytd_change_pct, yearly_change_pct. Table: Ticker | Name | Category | Price | 1D% | 1W% | 1M% | YTD%- Fondi / mutual fund → `list_funds`. Same price/change fields plus category, fund_family, total_assets, expense_ratio, ytd_return, three_year_return, five_year_return, dividend_yield. Table: Ticker | Name | Category | Price | AUM | TER | YTD% | 3Y | 5Y- Forex / valuta → `list_forex_assets`. Same price/change fields plus base_currency and quote_currency. Table: Ticker | Name | Base | Quote | Price | 1D% | 1W% | 1M% | YTD%Use ONLY values present in the tool result; write N/A for anything missing — never invent aprice or a percentage.
--- STOCK/ETF MODE ---Use stock_screener with criteria: "{arg}".stock_screener translates natural language constraints into structured SQL filters.Present results as a table with most relevant metrics.