Przejdź do treści
Biblioteka skilli
Finanse i księgowość · Automatyzacja

dse-knowledge-refresh

/dse-knowledge-refresh

Odświeża bazę wiedzy o spółkach: pobiera dane, przelicza raporty i wskaźniki, tworzy rekomendacje i macierz sektorów.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

98/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena13 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Odświeża bazę wiedzy o spółkach: pobiera dane, przelicza raporty i wskaźniki, tworzy rekomendacje i macierz sektorów.

Oryginalny opis (EN)

Orchestrates full knowledge base refresh: scraper → processor → annual reports → macro sentiment → charts → analyzer → tri-horizon recommender → sector matrix. Triggered by agent on demand or on weekly schedule. This is the master refresh workflow.

Jak działa

  1. When to use
  2. Full Refresh Sequence
  3. Quick Price-Only Refresh (Daily at 4:00 PM BDT)
Sekcje z nagłówków SKILL.md, w oryginale · 87 linii, 433 słów
Podgląd SKILL.md
---
name: dse-knowledge-refresh
description: >
  Orchestrates full knowledge base refresh: scraper → processor → annual reports →
  macro sentiment → charts → analyzer → tri-horizon recommender → sector matrix.
  Triggered by agent on demand or on weekly schedule. This is the master refresh workflow.
---

# dse-knowledge-refresh

Master workflow: refreshes the full DSE knowledge base and generates tri-horizon execution plans.

## When to use

- Weekly scheduled refresh (Saturdays before market open)
- Agent receives "refresh knowledge base" or "full refresh" or "expand full universe"
- Before generating master recommendation reports

## Full Refresh Sequence

Run these commands in order:

### Step 1 — Full Market Scrape
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\scraper.py full
```
Expected: Fetches live prices for all 395 instruments, plus Next.js fundamentals and historical bars across all sectors.

### Step 2 — Database Processing
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\processor.py
```
Expected: Populates `data/processed/dse.db` with price snapshots, historical bars, fundamentals, and deduplicated news.

### Step 3 — Audited Debt & Multi-Year Dividend Sync
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\update_debt_and_dividends.py
```
Expected: Extracts live `loanStatus` (`shortTerm`, `longTerm` debt) and 5-year `dividendHistory` directly from DSE Next.js stream. Calculates empirical Debt/Equity ratios to block corporate debt traps in 9%–14% interest rate climate.

### Step 4 — Macro Sentiment & Crisis Filter
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\macro_sentiment_engine.py
```
Expected: Computes systemic market bias (-100 to +100), filters out irrelevant foreign noise, and sets sector risk adjustments.

### Step 5 — Technical & Fundamental Analysis
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\analyzer.py all weekly
```
Expected: Generates scored signals, Wilder's RSI, moving averages, support/resistance, debt-burden penalty, downturn resilience tagging, and 6-factor manipulation checks in `data/knowledge/{ticker}/weekly.json`.

### Step 6 — Tri-Horizon Recommender, Monthly Ledger & Visual Charts
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\recommender.py weekly
```
Expected: Publishes:
- `reports/weekly/{today}.md` (Actionable buy/don't buy/sell rules for scalps, swings, and assets)
- `reports/monthly/{YYYY-MM}_asset_plan.md` (4-Tranche Capital Accumulation Ledger)
- Automatically saves dual-panel Price, Volume, and Market Cap charts in `reports/charts/`.

### Step 7 — 5-Sector Matrix Evaluation
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\sector_matrix_evaluator.py
```
Expected: Generates 5 core sectors × 10 Category A stocks matrix in `reports/sector_matrix_evaluation.md`.

### Step 8 — Backtest & Win-Rate Verification
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\backtester.py
```
Expected: Verifies trade expectancy and publishes win rates in `reports/backtest_summary.md`.

### Step 9 — Daily Directional Rise vs Fall Scanner
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\daily_rise_fall_scanner.py weekly
```
Expected: Audits all 80 Category A stocks across macro news, smart money flows, and debt traps; publishes `reports/daily/{today}_rise_fall_predictions.md` sorting stocks into High-Conviction Rise vs Severe Fall Risk.

### Step 10 — 12-Factor Buffett Value & Sector Best 2 Screener
```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\buffett_value_screener.py
```
Expected: Evaluates all 80 Category A stocks across 12 strict Graham/Buffett criteria (worth/fair value, 20y age + ongoing growth, moat, governance, YoY EPS, reinvestment/reserves, P/NAV sanity, institutional share, bank NPL, contrarian fear trigger, dual engine); extracts the Top 2 best-of-breed compounders per sector to `reports/buffett_sector_best2_report.md` and `.json`.

## Quick Price-Only Refresh (Daily at 4:00 PM BDT)

```powershell
python c:\Users\BS01671\Documents\stock_market\scripts\scraper.py price
python c:\Users\BS01671\Documents\stock_market\scripts\processor.py
python c:\Users\BS01671\Documents\stock_market\scripts\buffett_value_screener.py
python c:\Users\BS01671\Documents\stock_market\scripts\recommender.py weekly
```

Wersje

W bazie nie ma innych skilli o nazwie dse-knowledge-refresh.

Migawka bazy z 13.11.2026 · wersja paczki 3f00812b7411 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100dse-help
    Pokazuje krótkie menu poleceń systemu analizy giełdy DSE i dostępne instrukcje, gdy użytkownik wpisze pomoc lub menu.
  • 100dse-planner
    Planuje wdrożenie systemu analizy giełdy DSE krok po kroku, sprawdza zasady SPEC.md, ustala zależności i kryteria testów przed programowaniem.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.