✓ Verified
🌐 Web Scrapers
✓ Enhanced Data
Vnstock Free Expert
Runs an end-to-end vnstock workflow for free-tier-safe Vietnam stock valuation, ranking, and API ope
- Rating
- 4.7 (31 reviews)
- Downloads
- 22,721 downloads
- Version
- 1.0.0
Overview
Runs an end-to-end vnstock workflow for free-tier-safe Vietnam stock valuation, ranking, and API operations.
Complete Documentation
View Source →
VNStock Free Expert
Use this skill when the user needs advanced Vietnam stock analysis with vnstock, while staying safe on free-tier limits.
Important packaging note
This skill is self-contained and does not require shipping a separatevnstock/ docs folder.
All operational knowledge needed by the agent is stored under:
references/
Read order
- Read
references/capabilities.md. - Read
references/method_matrix.mdfor exact class/method mapping. - Read
references/free_tier_playbook.mdbefore large runs.
Scope and constraints
- Library:
vnstockonly. - Preferred sources:
kbsfirst,vcifallback. - Never use
tcbs. - Treat
Screener APIas unavailable unless user confirms it is restored in their installed version.
Free-tier operating rules
- No API key: target <= 20 requests/minute.
- Free API key: target <= 60 requests/minute.
- Safe default pacing in scripts: 3.2s/request.
- Reuse cached artifacts between steps.
Shared confidence rubric (required)
Report confidence asHigh / Medium / Low using this standard:
High: universe coverage >= 95%, critical metrics coverage >= 80%, and hard errors <= 5% of symbols.Medium: universe coverage >= 80%, critical metrics coverage >= 60%, and hard errors <= 15%.Low: belowMediumthresholds or material missing fields that can flip ranking results.
- Confidence level.
- Coverage stats (
symbols_requested,symbols_scored,% missing by key metric). - Top missing fields that may change conclusions.
API key configuration (implemented)
- Skill-local key file:
.env - Variable:
VNSTOCK_API_KEY - All API-calling scripts auto-load this key and call vnstock auth setup before requests.
- You can override per run with
--api-key "...".
Execution workflow (ordered)
- Validate environment (
python,vnstock,pandas) and load optional API key from.env. - Build a universe using
scripts/build_universe.py(group,exchange, orsymbolsmode). - Collect market data with
scripts/collect_market_data.pyusing safe pacing. - Collect fundamentals with
scripts/collect_fundamentals.py. - Score and rank using
scripts/score_stocks.py. - Generate analyst-style memo with
scripts/generate_report.py. - Apply confidence rubric, disclose missing fields, and summarize risks.
Downstream handoff bundle (required when doing single-ticker deep dive)
When the user request is about valuing or building a memo for a specific ticker (or a small list), output a compact JSON bundle that downstream skills can reuse:ticker,as_of_date,currencyfinancials(income/balance/cashflow + key ratios if available)price_history(returns 1m/3m/6m/12m)peer_set(if you built one)metadata.sourceanddata_quality_notes
equity-valuation-framework and portfolio-risk-manager.Script map
A) Discovery and universal invocation (for broad feature coverage)
catalog_vnstock.py
scripts/catalog_vnstock.pyUse when:
- You need to inspect available classes/methods in the installed
vnstockversion. - You want to confirm compatibility before running a method.
invoke_vnstock.py
scripts/invoke_vnstock.pyUse when:
- You need to call any supported class/method beyond the prebuilt valuation pipeline.
- You want one generic entry point for
Listing,Quote,Company,Finance,Trading,Fund, or other exported classes.
B) Valuation pipeline scripts
build_universe.py
outputs/universe_*.csv and latest pointers.
collect_market_data.py
outputs/market_data_*.csv + per-symbol errors in JSON.
collect_fundamentals.py
outputs/fundamentals_*.csv + per-symbol errors in JSON.
score_stocks.py
outputs/ranking_*.csv.
generate_report.py
outputs/investment_memo_*.md.
run_pipeline.py
Error handling rules
- Log symbol-level failures and continue processing remaining symbols.
- Do not claim missing metrics as zeros; mark them as missing.
- If a critical step fails, stop and report failed step + command + suggested retry scope.
Recommended decision logic
- If request is “standard valuation/ranking”: run pipeline scripts.
- If request needs a specific vnstock capability not in pipeline: use
catalog_vnstock.pytheninvoke_vnstock.py. - If request volume is large: apply
free_tier_playbook.mdthrottling and chunking strategy.
Confidence aggregation (required)
When output includes ranking and valuation interpretation:- Compute data confidence from coverage metrics (
symbols_scored, missing key fields, error ratio). - Compute model confidence from method robustness (single metric vs multi-factor consistency).
- Final confidence = lower of data confidence and model confidence.
- In
Lowconfidence cases, provide directional output only and list required missing inputs.
Required output template
What Was Run: scripts, source, universe scope, and pacing profile.Coverage: requested symbols, scored symbols, and missingness by key field.Top Results: ranked list with score columns.Key Risks: concentration, stale data, missing metrics, or provider limitations.Confidence and Gaps: final confidence + exact blockers.
Quick command examples
bash
python scripts/catalog_vnstock.py --outdir ./outputs
python scripts/invoke_vnstock.py --class-name Quote --init-kwargs '{"source":"kbs","symbol":"VCB"}' --method history --method-kwargs '{"start":"2024-01-01","end":"2024-12-31","interval":"1D"}' --outdir ./outputs
python scripts/run_pipeline.py --source kbs --mode group --group VN30 --outdir ./outputs
Trigger examples
- "Analyze VN30 using vnstock but keep it free-tier safe."
- "Rank Vietnamese stocks by value/quality/momentum with KBS data."
- "Run a full vnstock pipeline and return top candidates with risk notes."
Installation
Terminal bash
openclaw install vnstock-free-expert
Copied!
💻Code Examples
## Quick command examples
-quick-command-examples.sh
python scripts/catalog_vnstock.py --outdir ./outputs
python scripts/invoke_vnstock.py --class-name Quote --init-kwargs '{"source":"kbs","symbol":"VCB"}' --method history --method-kwargs '{"start":"2024-01-01","end":"2024-12-31","interval":"1D"}' --outdir ./outputs
python scripts/run_pipeline.py --source kbs --mode group --group VN30 --outdir ./outputsTags
#browser_and-automation
#api
#workflow
Quick Info
Category Web Scrapers
Model Claude 3.5
Complexity Advanced
Author ndtchan
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install vnstock-free-expert
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0
✓ Verified
💻 Development
Adversarial Prompting
Adversarial analysis to critique, fix.
🧠 Claude-Ready
)}
★ 4.6 (372)
↓ 28,222
v1.0.0