Sentiment analysis
Skill 0xgetz/xi-agent-skills/trading-skills/sentiment-analysis
Analyze markets using Sentiment Analysis (market sentiment). Combine news, social, and positioning data into sentiment signals. Activate when the user asks to analyze, interpret, or build signals based on Sentiment Analysis or market sentiment.From its SKILL.md
npx -y skills add 0xgetz/xi-agent-skills --skill sentiment-analysisAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, 346 tokens by cl100k_base, as published. Nobody here has run it
Sentiment Analysis
Overview
Sentiment Analysis (market sentiment) — Combine news, social, and positioning data into sentiment signals.
When to use this skill
Use when the user asks to:
- Analyze or interpret Sentiment Analysis on a chart or dataset
- Build buy/sell signals or alerts based on market sentiment
- Combine Sentiment Analysis with other indicators for confirmation
How it works
Combine news, social, and positioning data into sentiment signals. Apply it on OHLCV data (open, high, low, close, volume) for any timeframe. Always confirm with price structure, trend context, and at least one independent indicator before acting.
Reading the signals
- Bullish bias: signal aligns with higher highs/higher lows and rising volume.
- Bearish bias: signal aligns with lower highs/lower lows and rising volume.
- No-trade: conflicting context or low volatility/volume.
Worked example (Python)
import pandas as pd
# df has columns: open, high, low, close, volume (datetime index)
# Compute the indicator, then generate signals
# (use pandas/numpy or ta libraries; validate on out-of-sample data)
Risk management
- Define stop-loss from structure or ATR before entry.
- Size positions by fixed-fractional risk (e.g. 0.5–1% per trade).
- Never rely on a single indicator; require confluence.
Common pitfalls
- Over-optimizing parameters to past data (curve fitting).
- Ignoring the higher-timeframe trend.
- Acting on signals during low liquidity.
Educational analysis only. Not financial advice.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.