diff --git a/.env.example b/.env.example index addb2fd..dd70afa 100644 --- a/.env.example +++ b/.env.example @@ -15,6 +15,10 @@ BACKUP_KEEP_DAYS=14 # Address the app port 8000 listens on: 127.0.0.1 = this machine only (default, safe behind the # tunnel); 0.0.0.0 = reachable from the network (home LAN: also SESSION_COOKIE_SECURE=false) API_BIND=127.0.0.1 +# Language of the texts written in the background: Telegram alerts, news summaries, stored notes +# ("en" or "it"). The dashboard has its own IT/EN button and sends its choice with every request. +APP_LANGUAGE=en + SIMILARITY_THRESHOLD=0.92 EMBEDDING_MODEL=paraphrase-multilingual-MiniLM-L12-v2 diff --git a/README.it.md b/README.it.md new file mode 100644 index 0000000..7fa0a26 --- /dev/null +++ b/README.it.md @@ -0,0 +1,288 @@ +
+| + +### 📰 Notizie +- Fonti RSS gestite dalla dashboard, con catalogo di fonti consigliate +- Ricerca mirata su Google News per i mercati più scambiati +- Deduplicazione per storia: conferme contate per testata, non per articolo +- Riassunti (Gemini, Groq, Ollama) e classificazione con Jev +- Ricerca full-text con evidenziazione e filtri + + | ++ +### 🎯 Previsioni +- Collegamento notizie–mercati: significato (embedding multilingue) + termini chiave +- Stima indipendente di Jev, senza vedere il prezzo +- Calibrazione di Platt e unione col prezzo in log-odds +- Mercati Sì/No e **a più esiti** (elezioni, campionati), con arbitraggio segnalato +- Allerte Telegram quando una notizia anticipa il prezzo + + | +
| + +### 💶 Decisioni +- Prezzo reale dal book, commissioni, incertezza, rendimento annuo +- Kelly calcolato sul book, con tre preset di rischio +- **Cosa fare**: compra, aspetta, evita, tieni o vendi, con ordini limite +- Prezzi a cui la decisione cambierebbe e regola di vendita esplicita +- Motivi a favore e contro, con un livello di fiducia + + | ++ +### 📊 Misura +- Portafoglio simulato con acquisti e vendite automatiche +- Backtest su mercati risolti, con notizie d'archivio senza senno di poi +- Intervalli di confidenza e validazione sui mercati più recenti +- Prezzo di chiusura (CLV) di segnali, scommesse e allerte +- Uso e costi delle API a pagamento, con limiti giornalieri + + | +
+
+Cosa fare: ordini, prezzi e motivi + |
+
+
+Più esiti: la distribuzione, esito per esito + |
+
+
+Portafoglio simulato: risultati prima dei soldi veri + |
+
+
+Backtest: come sarebbe andata sul passato + |
+
+
| -### 📰 Notizie -- Fonti RSS gestite dalla dashboard, con catalogo di fonti consigliate -- Ricerca mirata su Google News per i mercati più scambiati -- Deduplicazione per storia: conferme contate per testata, non per articolo -- Riassunti (Gemini, Groq, Ollama) e classificazione con Jev -- Ricerca full-text con evidenziazione e filtri +### 📰 News +- RSS sources managed from the dashboard, with a catalogue of recommended sources +- Targeted Google News search for the most traded markets +- Story-level deduplication: confirmations are counted per outlet, not per article +- Summaries (Gemini, Groq, Ollama) and classification with Jev +- Full-text search with highlighting and filters | -### 🎯 Previsioni -- Collegamento notizie–mercati: significato (embedding multilingue) + termini chiave -- Stima indipendente di Jev, senza vedere il prezzo -- Calibrazione di Platt e unione col prezzo in log-odds -- Mercati Sì/No e **a più esiti** (elezioni, campionati), con arbitraggio segnalato -- Allerte Telegram quando una notizia anticipa il prezzo +### 🎯 Forecasts +- News–market linking: meaning (multilingual embeddings) + key terms +- Jev's independent estimate, without seeing the price +- Platt calibration and log-odds pooling with the price +- Yes/No markets and **multi-outcome** ones (elections, leagues), with arbitrage flagged +- Telegram alerts when a news item gets ahead of the price |
| -### 💶 Decisioni -- Prezzo reale dal book, commissioni, incertezza, rendimento annuo -- Kelly calcolato sul book, con tre preset di rischio -- **Cosa fare**: compra, aspetta, evita, tieni o vendi, con ordini limite -- Prezzi a cui la decisione cambierebbe e regola di vendita esplicita -- Motivi a favore e contro, con un livello di fiducia +### 💶 Decisions +- Real price from the order book, fees, uncertainty, annualised return +- Kelly computed on the book, with three risk presets +- **What to do**: buy, wait, avoid, hold or sell, with limit orders +- Prices at which the decision would change, and an explicit selling rule +- Reasons for and against, with a confidence level | -### 📊 Misura -- Portafoglio simulato con acquisti e vendite automatiche -- Backtest su mercati risolti, con notizie d'archivio senza senno di poi -- Intervalli di confidenza e validazione sui mercati più recenti -- Prezzo di chiusura (CLV) di segnali, scommesse e allerte -- Uso e costi delle API a pagamento, con limiti giornalieri +### 📊 Measurement +- Simulated portfolio with automatic buys and sells +- Backtest on resolved markets, with archive news free of hindsight +- Confidence intervals and validation on the most recent markets +- Closing line value (CLV) of signals, bets and alerts +- Usage and cost of the paid APIs, with daily limits |
+
Cosa fare: ordini, prezzi e motivi + What to do: orders, prices and reasons |
+
Più esiti: la distribuzione, esito per esito + Multi-outcome: the distribution, outcome by outcome |
+
Portafoglio simulato: risultati prima dei soldi veri + Simulated portfolio: results before real money |
+
Backtest: come sarebbe andata sul passato + Backtest: how it would have gone in the past |
+
+
+