본문으로 건너뛰기
cccskills
무료GitHub에 공개

Data Fetcher

Fetch historical OHLC chart data from yfinance (stocks) or ccxt (crypto) and load it onto the chart.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Data Fetcher Skill

Purpose

Pull historical (and near-realtime) OHLC market data from external sources and load it directly onto the Vibe Trade chart canvas. Once loaded, every other skill — Pattern detection, Strategy generation, backtesting — can operate on the new dataset without the user having to upload a CSV.

This skill is the bridge between "I want to analyze X" and the rest of the platform's tooling.

When to use this skill

Vibe Trade should dispatch to the Data Fetcher when the user wants to:

  • Load a stock/ETF/index ("Fetch AAPL daily", "Get SPY weekly data", "Load TSLA hourly for the last month")
  • Load a crypto pair ("Fetch BTC/USDT 1h", "Get ETH 4h for last 1000 bars", "Pull DOGE 5m last 24 hours")
  • Refresh recent data ("Get the last 100 bars of BTC", "Latest hourly data for Apple")
  • Compare assets ("Load BTC and ETH" — fetch both as separate datasets)

Data sources

SourceAsset classExamplesAPI key?
yfinanceUS/HK stocks, ETFs, indices, forexAAPL, SPY, ^GSPC, EURUSD=XNo
ccxt (default: binance)Crypto spot pairsBTC/USDT, ETH-USD, SOLNo

The skill auto-detects the right provider from the symbol shape:

  • Pair separators (/ or - with crypto quote) → ccxt
  • ^INDEX or =X → yfinance
  • Bare crypto bases (BTC, ETH, ...) → ccxt with USDT quote
  • Everything else → yfinance

Inputs

KeyTypeMeaning
messagestringNatural-language fetch request
context.dataset_idstringExisting dataset (ignored — this skill creates new ones)

Outputs

Returns a SkillResponse with:

  • reply — short confirmation ("Loaded 1000 bars of BTC/USDT 1h from binance.")
  • data.dataset — the full fetched payload (symbol, source, interval, bars, metadata)
  • tool_calls:
    1. data.dataset.add with the fetched payload — registers the dataset in the store and switches the chart to it
    2. notify.toast with a success message
    3. bottom_panel.activate_tab if a downstream skill has matching tabs

Tools used

ToolWhenPayload
data.fetch_marketAlways — the actual fetch call{symbol, source, interval, limit, exchange}
data.dataset.addAlways after a successful fetchThe fetched payload
chart.set_timeframeAfter loadingThe fetched native timeframe
notify.toastConfirmation or error{level, message}

Examples

Crypto pair

"Fetch BTC/USDT hourly data, last 500 bars."

→ Calls data.fetch_market(symbol="BTC/USDT", interval="1h", limit=500), auto-routes to ccxt:binance, returns 500 hourly bars, emits data.dataset.add to load them onto the chart.

Stock

"Get AAPL daily for the last 2 years."

→ Calls data.fetch_market(symbol="AAPL", interval="1d", limit=504) (504 ≈ 2 trading years), auto-routes to yfinance, loads onto the chart.

Bare crypto base

"Pull ETH 4h."

→ Auto-completes to ETH/USDT, fetches via ccxt:binance at 4h timeframe, default 1000 bars.

Underlying implementation

Wired through core/agents/processors.py::_data_fetcher_processor, which:

  1. Parses the user message via core.data.fetcher.parse_query() to extract symbol, interval, and limit
  2. Calls core.data.fetcher.fetch() to pull bars from the right provider
  3. Wraps the result in a SkillResponse with the right tool_calls

The fetcher in turn uses:

  • yfinance for stocks/ETFs/indices/forex
  • ccxt for crypto, defaulting to the Binance public API

Both libraries are pip-installable, key-less, and ship with the backend.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Research historical news events that moved (or are moving) an asset's price and plot them as data points directly on the chart. Click a marker in the Historic News tab to zoom the chart to that event and read the article. Useful for identifying the fundamental drivers behind price action — earnings, regulation, product launches, macro shocks, geopolitical events.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

spyderweb47/Vibe-Trade162026년 4월 22일 업데이트

One-sentence description of what this skill does. Shown as a tooltip on the chip.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

spyderweb47/Vibe-Trade162026년 4월 22일 업데이트

Detects chart patterns in OHLC data from natural-language hypotheses or visual chart selections.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

spyderweb47/Vibe-Trade162026년 4월 22일 업데이트

Runs a team of 50 LLM personas through a 30-round structured debate to predict market direction. Uses the Canvas Agent Swarm Service — the same shared infrastructure other skills use for smaller agent teams. Output is an influence-weighted consensus direction + trade recommendation with a transparent record of every argument, research query, and cross-examination.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

spyderweb47/Vibe-Trade162026년 4월 22일 업데이트

Generates and analyzes trading strategies from a structured config. Produces runnable JS + portfolio analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

spyderweb47/Vibe-Trade162026년 4월 22일 업데이트

spyderweb47의 스킬 모두 보기

이 스킬의 문제 신고