Loading...
Loading...
Analyze, rank, and prioritize trading strategies using multi-factor scoring. Use when creating prioritization plans, ranking strategies, analyzing strategy portfolios, comparing strategy performance, or making strategy selection decisions.
npx skill4agent add sayujks0071/antidhan strategy-prioritization# Find all strategies
find openalgo/strategies/scripts -name "*.py" -type f
find openalgo_backup_*/strategies/scripts -name "*.py" -type f
find AITRAPP/AITRAPP/packages/core/strategies -name "*.py" -type f
# Check documentation
grep -r "strategy" *.md | grep -i "priorit\|rank\|recommend"openalgo/strategies/backtest_results/ALL_STRATEGIES_COMPARISON.md# Check for risk controls in code
grep -r "stop_loss\|max_drawdown\|position_size\|risk_per_trade" strategy_file.py
grep -r "daily_loss_limit\|weekly_loss_limit\|correlation" strategy_file.pyAITRAPP/AITRAPP/configs/app.yamlopenalgo/strategies/scripts/.mdSTRATEGY_PRIORITIZATION_REPORT.mdALL_STRATEGIES_COMPARISON.mddef score_strategy(strategy_name, performance_data, risk_data, ops_data, business_data):
"""Score strategy on 4 factors"""
perf_score = score_performance(performance_data) # 1-5
risk_score = score_risk(risk_data) # 1-5
ops_score = score_operations(ops_data) # 1-5
biz_score = score_business(business_data) # 1-5
composite = (perf_score + risk_score + ops_score + biz_score) / 4.0
return {
'name': strategy_name,
'performance': perf_score,
'risk': risk_score,
'operations': ops_score,
'business': biz_score,
'composite': composite,
'gaps': identify_gaps(perf_score, risk_score, ops_score, biz_score)
}def categorize_strategy(composite_score):
"""Categorize by action needed"""
if composite_score >= 4.0:
return "Deploy", "Ready for live trading"
elif composite_score >= 3.0:
return "Paper Trade", "Needs validation"
elif composite_score >= 2.5:
return "Optimize", "Needs improvements"
else:
return "Hold", "Experimental or incomplete"backtesting-analysisopenalgo/strategies/backtest_results/strategy-managerrisk-managementopenalgo_backup_*/strategies/# Strategy Prioritization Plan - [Date]
## Executive Summary
- Total strategies: X
- Top 3: [List]
- Ready to deploy: X
- Need work: X
## Ranked Strategies
| Rank | Strategy | Perf | Risk | Ops | Biz | Score | Action | Location |
|------|----------|------|------|-----|-----|-------|--------|----------|
| 1 | Strategy A | 5 | 5 | 4 | 5 | 4.75 | Deploy | openalgo/strategies/scripts/ |
## Detailed Analysis
### Strategy A
**Performance (5/5)**: [Details]
**Risk (5/5)**: [Details]
**Operations (4/5)**: [Details]
**Business (5/5)**: [Details]
**Gaps**: None
**Next Steps**: Deploy to live trading
## Gaps Blocking Promotion
- Strategy X: Missing backtest data
- Strategy Y: No risk controls
## Deployment Roadmap
1. Week 1: Deploy top 3 strategies
2. Week 2: Paper trade next tier
3. Month 1: Optimize remaining strategiesbacktesting-analysisrisk-managementAITRAPP/AITRAPP/configs/strategy-prioritization-plannerbacktesting-analysisrisk-managementtrading-strategy-developmentSTRATEGY_PRIORITIZATION_REPORT.mdALL_STRATEGIES_COMPARISON.md