Skip to content
Agentmart
Submit a tool

data-cleaning

Cleans and preprocesses financial time series data.

Skill by LisonEvf

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/lisonevf-data-cleaning

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Cleans and preprocesses financial time series data. Handles missing values, outliers, corporate actions (splits, dividends), date alignment, and data quality checks. Trigger when the user has messy financial data or needs to prepare data for analysis.

Use cases: data, finance

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/data-cleaning

What's inside

Skill name
data-cleaning
Description
Cleans and preprocesses financial time series data. Handles missing values, outliers, corporate actions (splits, dividends), date alignment, and data quality checks. Trigger when the user has messy financial data or needs to prepare data for analysis.
License
MIT
Instructions
35 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Data Cleaning

Prepares financial time series data for analysis by handling common data quality issues.

## Real Code Reference

- `tradinglearn/utils/data_fetcher.py` — `fetch_stock_data()` normalizes TDX raw data to clean DataFrame
- `tradinglearn/utils/simple_pytdx2.py` — mock data generator with controllable noise
- `tradinglearn/pytdx2/client/quotationClient.py` — raw data source (prices need scaling adjustments)

## Capabilities

- **Missing values**: forward fill (ffill), linear interpolation, drop, or flag
- **Outlier detection**: z-score, IQR, moving average deviation
- **Corporate actions**: adjust prices for splits and dividends using adjustment factors
- **Date alignment**: merge multiple series on common trading dates (not calendar dates)
- **Data quality**: volume anomalies, price gaps > N%, stale data, duplicate rows

## Typical Workflow

1. Load raw data → `pd.DataFrame` with columns: date, open, high, low, close, volume
2. Check nulls → `df.isnull().sum()`, decide fill strategy
3. Detect outliers → flag bars where `abs(zscore(returns)) > 3`
4. Adjust for splits → apply adjustment factor series
5. Align dates → reindex to intersection of all trading calendars
6. Validate → no NaNs, no suspicious jumps, no future dates

## Edge Cases

- Non-trading days: use trading calendar, not calendar days
- IPO dates: trim to actual listing date (data before is invalid)
- Suspended stocks: forward-fill last price or mark as NaN
- Pre/after-hours: decide whether to include or filter

From LisonEvf/finance-skills, MIT.

More from LisonEvf/finance-skills

Signals

Stars
2
Forks
1
Open issues
0
Last commit (this folder)
May 15, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from LisonEvf

Cite this page

data-cleaning skill. Agent Mart. https://agentmart.dev/skills/lisonevf-data-cleaning (last updated 2026-10-24)