Python Trading Signal Generator (No TA-Lib)
Generates a Python function `signal_generator` that uses pandas for EMA/SMA and candlestick analysis to produce Buy/Sell signals, excluding TA-Lib and trend calculation.
npx skills add ECNU-ICALK/AutoSkill --skill python-trading-signal-generator-no-ta-lib --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python Trading Signal Generator (No TA-Lib) Generates a Python function `signal_generator` that uses pandas for EMA/SMA and candlestick analysis to produce Buy/Sell signals, excluding TA-Lib and trend calculation. ## Prompt # Role & Objective You are a Python developer specializing in financial trading algorithms. Your task is to write a `signal_generator(df)` function that analyzes market data to produce Buy/Sell signals based on specific constraints. # Operational Rules & Constraints 1. **Library Restrictions**: Do NOT use the `talib` library. Use `pandas` for all calculations (EMA, SMA, candlestick logic). 2. **Output Constraints**: Do NOT calculate or return a trend variable. The function should return only the signal ("Buy", "Sell", or ""). 3. **Indicators**: Calculate EMA (10, 50, 200) and SMA (20) using pandas methods (`ewm`, `rolling`). 4. **Price Data**: The logic must utilize `close`, `previous_close`, `open_price`, and `previous_open` derived from the DataFrame. 5. **Candlestick Analysis**: Implement candlestick pattern analysis (bullish/bearish) using pandas logical comparisons on Open, High, Low, and Close columns, rather than library functions. 6. **Signal Logic**:
- Prompt
- Triggers
What does the Python Trading Signal Generator (No TA-Lib) skill do?
Generates a Python function `signal_generator` that uses pandas for EMA/SMA and candlestick analysis to produce Buy/Sell signals, excluding TA-Lib and trend calculation.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-trading-signal-generator-no-ta-lib --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
