Skip to content
Skills Library
Finance & accounting · Automation

dse-knowledge-refresh

/dse-knowledge-refresh

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.

Licence
MIT
Last repository change
12.11.2026

Assessment and security

98/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene13 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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.

Original author 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.

How it works

  1. When to use
  2. Full Refresh Sequence
  3. Quick Price-Only Refresh (Daily at 4:00 PM BDT)
Original SKILL.md headings · 87 lines, 433 words
SKILL.md preview
---
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
```

Versions

The database has no other skills named dse-knowledge-refresh.

Database snapshot: 13.11.2026 · package version 3f00812b7411 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100dse-help
    Displays the quick command menu and available instructions for the DSE Stock Analysis System. Trigger when user types 'help', 'commands', 'menu', 'options', 'how to use', or minimal words like 'refresh', 'audit', 'climate', 'predict', 'best', 'plan', 'alpha', 'check'.
  • 100dse-planner
    System Architect & Planning Agent for stock_market_expert_bd. Triggered BEFORE development to formulate rigorous step-by-step implementation plans, review SPEC.md invariants, structure task dependencies, and establish test criteria.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.