vault-getdata

Update Obsidian vault note frontmatter with current prices from Yahoo Finance and Sina Finance.

Updated May 26, 2026
One-click install
npx skills add https://github.com/Peiwvy/myskills --skill vault-getdata
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vault-getdata
Source: https://github.com/Peiwvy/myskills/tree/main/vault-getdata
Command: npx skills add https://github.com/Peiwvy/myskills --skill vault-getdata

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps your Obsidian holdings and watchlist notes up to date with current prices, avoiding the manual step of searching for quotes and copying them into frontmatter.

Core Features & Use Cases

  • Current price + change update: Fetches the latest price and the day-over-day percentage change and writes them into each note’s Obsidian frontmatter fields.
  • Smart targeting by existing metadata: By default, only updates notes whose frontmatter status is set to 「持有」 or 「重点关注」, so you don’t waste time refreshing everything.
  • Flexible scope controls: Supports updating all tickers, limiting to specific files, and performing a dry run that reports prices without writing.

Quick Start

Call vault-getdata to update the current price and price_updated fields for all notes marked 「持有」 or 「重点关注」 in your 33-Micro vault.

Frequently Asked Questions about vault-getdata

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically update stock prices in Obsidian frontmatter?

To automatically update stock prices in Obsidian frontmatter, use a price updater that pulls market data from Yahoo Finance and Sina Finance. It targets notes marked '持有' or '重点关注', resolving tickers to write current_price and price_updated fields.

Can I run a dry run to check market prices before writing them to my vault?

Yes, you can perform a dry run to check market prices before writing them to your vault. This feature reports the latest data fetched from Yahoo Finance and Sina Finance without modifying any existing notes or frontmatter fields.

How does smart targeting work for updating watchlists in Obsidian?

Smart targeting for updating watchlists works by filtering notes based on their frontmatter status. It only updates notes set to '持有' (hold) or '重点关注' (focus), ensuring only active portfolios and watchlists are refreshed.

What data sources are supported for fetching current prices into Obsidian?

Yahoo Finance and Sina Finance are the supported data sources for fetching current prices into Obsidian. The updater resolves TradingView or Eastmoney mappings stored in your note frontmatter to query these platforms for market data.

Can I limit the scope of price updates to specific files in my vault?

Yes, you can limit the scope of price updates to specific files in your vault. Optional parameters allow you to restrict the automation to certain notes or expand it to all tickers, overriding the default status-based filtering.

Do I need external dependencies to track market data in Obsidian?

No, you do not need external dependencies to track market data in Obsidian. The price updater logic operates natively within your vault environment to resolve tickers and write current_price and price_updated fields directly.