strategy-development
/strategy-development
Designs and implements new trading strategies. Covers signal generation, entry/exit logic, position sizing, and risk management rules. Trigger when the user wants to create, modify, or formalize a trading strategy.
- Author
- lisonevf ↗
- Repository
- finance-skills ↗
- Licence
- MIT
- Last repository change
- 15.05.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 15.05.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Designs and implements new trading strategies. Covers signal generation, entry/exit logic, position sizing, and risk management rules. Trigger when the user wants to create, modify, or formalize a trading strategy.
Original author description
Designs and implements new trading strategies. Covers signal generation, entry/exit logic, position sizing, and risk management rules. Trigger when the user wants to create, modify, or formalize a trading strategy.
How it works
- Real Code Reference
- Process
- Strategy Template (follow tradinlearn convention)
- Key Principles
SKILL.md preview
---
name: strategy-development
description: Designs and implements new trading strategies. Covers signal generation, entry/exit logic, position sizing, and risk management rules. Trigger when the user wants to create, modify, or formalize a trading strategy.
metadata:
hermes:
tags: [strategy, trading, design, implementation]
category: trading
---
# Strategy Development
Helps design, implement, and formalize trading strategies.
## Real Code Reference
- `tradinglearn/strategies/macd_strategy.py` — Example: `MACDStrategy` with `generate_signals(data) -> DataFrame`
- `tradinglearn/pytdx2/backtest.py` — `BaseStrategy` with `buy_condition()` / `sell_condition()` / `update_position()`
- `tradinglearn/pytdx2/evftrade/BaseStrategy.py` — Abstract `BaseStrategy` with `buy_condition(price, time)` / `sell_condition(price, time)`
- `tradinglearn/pytdx2/macd_strategy.py` — `MACDStrategy(BaseStrategy)` implementation
- `tradinglearn/pytdx2/large_trade_model.py` — `LargeTradeStrategy` with risk controls
## Process
1. **Requirements** — timeframe, instruments, risk tolerance, return targets
2. **Signal logic** — entry conditions, exit conditions, filters
3. **Position sizing** — fixed fraction, Kelly criterion, volatility-based
4. **Risk management** — stop-loss, take-profit, trailing stops
5. **Implementation** — code as a class with `generate_signals(data) -> DataFrame`
6. **Validation** — walk-forward analysis, out-of-sample testing, overfitting checks
## Strategy Template (follow tradinlearn convention)
```python
class MyStrategy:
def __init__(self, param1=default, param2=default):
self.param1 = param1
self.param2 = param2
def generate_signals(self, data: pd.DataFrame) -> pd.DataFrame:
"""Return DataFrame with 'position' column: 1=long, 0=flat, -1=short."""
signals = pd.DataFrame(index=data.index)
signals['position'] = 0
# ... signal logic using data['close'], data['volume'], etc.
return signals
```
## Key Principles
- Never use future data in signal calculation
- Test on out-of-sample periods separate from optimization
- Account for transaction costs and slippage in backtest
- Keep strategies explainable — complexity should be justified
Versions
The database has no other skills named strategy-development.
Database snapshot: 13.11.2026 · package version c31f426f9698 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95trading-strategy
Use this skill for developing and evaluating trading strategies by synthesizing technical analysis, market sentiment, and risk management principles into actionable trading recommendations. - 90research
Turns a trading idea into a documented strategy — edge hypothesis, statistical validation, and entry, exit, and risk rules. Use when the user has a new trading idea, wants to document or formalize a strategy, or asks whether a trading edge is real. - 100trade-strategy
Write a long-form trading strategy document — thesis, entry triggers, exit rules, position sizing, hold horizon, kill criteria. No trade is fired. Saves a structured markdown note to ~/.blockrun/notes/. Use when the user wants to plan an approach before committing capital. - 100backtesting-trading-strategies
Test backtest crypto trading strategies against historical data with performance metrics. Use when validating trading strategies with historical data. Trigger with phrases like "backtest strategy", "test trading signals", or "validate approach". - 100hft-quant-expert
Quantitative trading expertise for DeFi and crypto derivatives. Use when building trading strategies, signals, risk management. Triggers on signal, backtest, alpha, sharpe, volatility, correlation, position size, risk. - 100indian-algo-trading
Write production-quality Python automated trading strategies for the Indian stock market. Covers the full lifecycle: backtesting, optimization, paper trading, and live deployment across equity, F&O, currency derivatives, and MCX commodities. Bakes in best practices for risk…