Skip to content
Skillpedia
Analysis & spreadsheets7.4k · #13265

market-data

What it does

This skill lets the agent fetch past prices, called OHLCV or K-line data, and show candlestick charts. It is for people who want price history or recent prices for their own analysis.

When to use it

  • ✓When you want the daily price history of a stock for the last few months.
  • ✓When you want a candlestick chart shown in your conversation.
  • ✓When you need to check where a market data source comes from or how fresh it is.

Skill link

https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/market-data/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/market-data/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Show me a candlestick chart of Apple stock for the last few months.”

5 new skills a week. 1 minute to read.

How it works

The agent finds the exact data ID for the stock, downloads the price bars and their details, then shows the data or chart. It checks how recent the data is before presenting it.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Market data and charts

OpenAlice's Market UI and alice market share the same K-line service. Workspace shells already select their Alice Project. Outside a Workspace, use openalice exec --project <key> alice market ....

Find and read a series

alice market search-bars --query AAPL
alice market bars --bar-id 'yfinance|AAPL' --interval 1d --count 300 --output bars.json

Copy an exact barId from search results. It identifies a source as well as an instrument: two feeds for the same symbol are different series. Do not rewrite native symbols or guess broker account IDs. If source discovery is empty, alice market vendors shows configured vendor availability.

The result contains bars (OHLCV) and meta. Use the file in local Python, JavaScript or shell analysis; omit --output for stdout. Existing output files are not overwritten. alice market bars --help lists window options and an explicit --asset-class hint for vendor lookups that cannot resolve the class. The alice-analysis skill covers optional formula and snapshot shortcuts.

Check the returned coverage and freshness metadata, especially the earliest and latest records, fetch time and possible delay. The age of the last bar is not measured feed latency; market closures and bar boundaries matter. Do not present a delayed or historical observation as a live quote.

Show a chart in a reply

Write a market reference directly in reply prose when a chart helps:

[[market/yfinance|AAPL/1d]]

The syntax is [[market/{barId}/{interval}]]. Copy the discovered barId intact, including any slash in its symbol; the final slash separates the interval. Intervals are 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w (availability varies by source). The reference requests the latest 300 bars, not a saved snapshot of an earlier analysis.

GUI chat displays a card and opens the interactive chart in the right panel. Supported Connectors such as Telegram send a chart image at that position in the reply, preserving surrounding text order. Put the reference outside code when you want it rendered; code examples remain literal. Failed references do not silently switch feeds. There is no need to generate or attach a chart file.

For broker quotes, contracts, positions or orders, use alice-uta instead. A market reference only displays data; it does not place a trade.

FAQ

Is this live price data?

Not always. The skill warns that a delayed or past price should not be presented as a live quote.

How do I know which source a price comes from?

Each series has its own ID that names its source, so two feeds for the same stock are kept separate.

Can I save the price data to a file?

Yes. The skill describes saving the results to a file for local analysis.

Details

Original description by the author

Use for price history, OHLCV/K-lines, market-data source discovery, or showing a candlestick chart in a conversation. Fetch data for local analysis or share a chart using OpenAlice market references.

repo: TraderAlice/OpenAlice

Popularity

GitHub stars
7.4k
Ranking position
#13265
License
AGPL-3.0
Updated
10/23/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills