market-ingest
Installation
SKILL.md
Market Ingest
Fetch market data for a symbol, normalize to OHLCV vectors, and store with HNSW indexing for fast pattern search.
When to use
When you need to ingest raw market data (price and volume) for a symbol and prepare it for pattern detection and similarity search. This is the first step before running pattern detection or comparison.
Steps
- Fetch data -- retrieve OHLCV data for the symbol from the configured data source (REST API, CSV file, or manual input)
- Normalize -- convert raw prices to relative values:
- Open:
(open - prev_close) / prev_close - High:
(high - open) / open - Low:
(low - open) / open - Close:
(close - open) / open - Volume: Z-score against rolling mean/std
- Open:
- Vectorize -- encode each candle as a 64-dimension padded vector (5 normalized OHLCV values + padding). For semantic embeddings of pattern descriptions, use
mcp__claude-flow__embeddings_generate(NOTembeddings_embed— that tool name does not exist). - Store -- call
mcp__claude-flow__memory_store --namespace market-datato persist normalized OHLCV data with symbol+date keys. Thememory_*tool family routes by namespace; theagentdb_hierarchical-*family routes by tier (working|episodic|semantic) and ignores namespace strings, so usememory_*here.
Related skills
More from ruvnet/ruflo
agent-swarm
Agent skill for swarm - invoke with $agent-swarm
403agent-workflow
Agent skill for workflow - invoke with $agent-workflow
403workflow-automation
>
391agent-arch-system-design
Agent skill for arch-system-design - invoke with $agent-arch-system-design
386security-audit
>
376agent-architecture
Agent skill for architecture - invoke with $agent-architecture
355