Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính7.4k · #13265

market-data

Skill này làm gì

Skill này cho phép agent lấy lịch sử giá trong quá khứ, gọi là dữ liệu OHLCV hoặc K-line, và hiển thị biểu đồ nến. Dành cho người muốn lịch sử giá hoặc giá gần đây để tự phân tích.

Khi nào nên dùng

  • ✓Khi bạn muốn lịch sử giá hằng ngày của một cổ phiếu trong vài tháng qua.
  • ✓Khi bạn muốn một biểu đồ nến được hiển thị trong cuộc trò chuyện.
  • ✓Khi bạn cần kiểm tra nguồn dữ liệu thị trường đến từ đâu hoặc nó mới đến mức nào.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/market-data/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Cho tôi xem biểu đồ nến của cổ phiếu Apple trong vài tháng qua.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm đúng ID dữ liệu của cổ phiếu, tải các thanh giá và chi tiết của chúng, rồi hiển thị dữ liệu hoặc biểu đồ. Nó kiểm tra dữ liệu mới đến mức nào trước khi trình bày.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

Đây có phải dữ liệu giá thời gian thực không?

Không phải lúc nào. Skill cảnh báo rằng giá bị trễ hoặc giá trong quá khứ không nên được trình bày như báo giá trực tiếp.

Làm sao biết giá đến từ nguồn nào?

Mỗi chuỗi có một ID riêng gọi tên nguồn của nó, nên hai nguồn cho cùng một cổ phiếu được giữ tách biệt.

Tôi có thể lưu dữ liệu giá ra file không?

Có. Skill mô tả việc lưu kết quả ra file để phân tích cục bộ.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
7.4k
Vị trí xếp hạng
#13265
Giấy phép
AGPL-3.0
Cập nhật
23/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự