ohlcv-processing
CommunityClean and prepare market data for analysis.
Authoragiprolabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the critical need for clean, consistent OHLCV (Open, High, Low, Close, Volume) data, which is often messy and unreliable in financial markets, especially crypto.
Core Features & Use Cases
- Data Validation: Checks for structural integrity, correct data types, and valid price ranges.
- Anomaly Detection & Handling: Identifies and corrects issues like price spikes, zero volume, impossible candles, and negative prices.
- Gap Filling: Imputes missing data points using forward fill or interpolation.
- Resampling: Aggregates data into coarser timeframes (e.g., 1-minute to 1-hour).
- Normalization: Scales price data using methods like percentage returns or z-scores.
- Multi-Source Merging: Combines data from different providers, prioritizing higher volume.
- Use Case: Prepare raw tick data from a crypto exchange for backtesting a trading strategy by cleaning anomalies, filling gaps, and resampling to hourly bars.
Quick Start
Run the full OHLCV processing pipeline on your DataFrame my_ohlcv_data and resample it to 1-hour bars.
Dependency Matrix
Required Modules
pandasnumpyhttpx
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ohlcv-processing Download link: https://github.com/agiprolabs/claude-trading-skills/archive/main.zip#ohlcv-processing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.