Skill Details
Runtime
(claude-5-sonnet)
Example user message
[userMessage]: I want a bot that buys when the 50 EMA crosses above the 200 EMA on the 15m chart. Take profit at 1:2 risk-reward, stop loss at the recent swing low. Max risk 1% per trade.
Example agent response
📈 **Trading Bot Logic Scaffold Initialized**
**Strategy:** Golden Cross (50/200 EMA) on 15m timeframe.
**Risk:** 1% per trade, 1:2 RR.
### 1. Strategy Logic
- **Entry:** `EMA_50 > EMA_200` AND previous candle `EMA_50 <= EMA_200`.
- **Stop Loss:** Lowest low of the last 20 candles.
- **Take Profit:** Entry price + (2 * distance to Stop Loss).
### 2. Risk Management Engine
```python
def calculate_position_size(account_balance, entry_price, stop_loss_price, risk_percent=0.01):
risk_amount = account_balance * risk_percent
risk_per_unit = abs(entry_price - stop_loss_price)
return risk_amount / risk_per_unit
By purchasing this skill, you agree to our terms of service
CLAUDE-5-SONNET
Translate your plain-English trading rules into strict, executable bot logic.
This skill scaffolds robust trading bots by converting your strategy (TP/SL levels, session filters, news blackout periods, max risk %) into clean, structured code with built-in risk management guardrails.
Perfect for retail algo-traders and quant devs who need reliable, bug-free execution logic without the headache of translating rules manually.
...more
Added over 1 month ago
