market-data
できること
このスキルにより、エージェントは OHLCV や K 線と呼ばれる過去の価格を取得し、ローソク足のチャートを表示できます。独自の分析のために、価格の履歴や最近の価格がほしい人向けです。
使う場面
- ✓ある株の、過去数か月の日々の価格の履歴がほしいとき。
- ✓会話の中にローソク足のチャートを表示したいとき。
- ✓市場データの情報源がどこから来ているか、またはその鮮度を確認したいとき。
スキルのリンク
https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/market-data/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Apple の株のローソク足チャートを、過去数か月分表示してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、その株の正確なデータの ID を見つけ、価格のバーとその詳細を取得してから、データやチャートを表示します。提示する前に、データがどのくらい新しいかを確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
これはライブの価格データですか?
必ずしもそうではありません。遅延した価格や過去の価格を、ライブの見積もりとして示してはいけないと、スキルは警告しています。
価格がどの情報源から来ているか、どう分かりますか?
各系列には、その情報源を示す独自の ID があるため、同じ株の2つのフィードは別々に保たれます。
価格データをファイルに保存できますか?
はい。ローカルでの分析のために、結果をファイルに保存する方法をスキルは説明しています。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 7.4k
- ランキング
- #13265
- ライセンス
- AGPL-3.0
- 更新日
- 2026/10/23
コメント
- …
このリポジトリの他のスキル
alice-analysis
7.4k移動平均などの株価指標を、価格の履歴に対する短く安全な数式で計算するよう、エージェントを支援します。
alice-uta
7.4k接続したブローカーの口座、保有銘柄、価格、注文の履歴を確認し、取引の操作は特に慎重に扱うようエージェントを支援します。
alice
7.4kalice ツールを通して、銘柄を検索し、調査のデータを取り出し、OpenAlice のチームの受信箱と課題を扱うようエージェントを支援します。
build-thesis
7.4k1つの株について、数字と市場の流れの両方を検証し、どこで間違っているかも明示した、バランスのとれた投資の見立てを組み立てるようエージェントを支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。