13otkmdr/mt5-algolab/production-build

Claude Code and agent skill by 13otkmdr/mt5-algolab

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Standard operating procedure for creating standalone production bots

Install

npx vskill@latest install 13otkmdr/mt5-algolab/production-build

SKILL.md

The same SKILL.md was published earlier as 13otkmdr/mt5-algolab/production-build.

Production Build Skill

Use this skill when packaging a standalone production bot that works in isolation from the main repo.

Required Fixes for Standalone Builds

1. Remove Dead Plugin/Registry Code

The mt5_client.py may contain references to IndicatorRegistry that don't exist in standalone builds:

python
# REMOVE THIS - IndicatorRegistry is not included in production builds
try:
pass
logger.info(f"Loaded {len(IndicatorRegistry.list_indicators())} indicators from plugins")
except Exception as e:
logger.error(f"Failed to load indicator plugins: {e}")

Production builds use IndicatorLibrary directly in strategy.py, not the plugin registry.

2. Add Automatic Symbol Resolution

Different brokers use different symbol naming conventions:

  • Standard: EURUSD
  • Simulated: EURUSD.sim
  • Micro: EURUSDm
  • Raw spread: EURUSD.raw

Required: Add resolve_symbol() method to MT5Client:

python
def resolve_symbol(self, symbol: str) -> Optional[str]:
"""
Resolve a symbol name to the broker's actual symbol.
Tries common suffixes like .sim, m, etc.
"""
if symbol in self._symbol_cache:
return self._symbol_cache[symbol]
# Try exact match first
if mt5.symbol_select(symbol, True):
self._symbol_cache[symbol] = symbol
return symbol
# Try common broker suffixes
suffixes = ['.sim', 'm', '.a', '.i', '_SB', '.raw', '.pro']
for suffix in suffixes:
test_symbol = symbol + suffix
if mt5.symbol_select(test_symbol, True):
logger.info(f"Resolved {symbol} -> {test_symbol}")
self._symbol_cache[symbol] = test_symbol
return test_symbol
logger.error(f"Could not resolve symbol {symbol}")
self._symbol_cache[symbol] = None
return None

Don't forget to add self._symbol_cache = {} in __init__.

Pre-Deployment Checklist

Before marking a production build as ready:

  • [ ] requirements.txt includes: MetaTrader5, pandas, numpy, ta
  • [ ] No imports from parent directories (e.g., from DiscoveryEngine...)
  • [ ] No references to IndicatorRegistry or plugin system
  • [ ] resolve_symbol() implemented for broker compatibility
  • [ ] run_bot.bat uses --dry-run by default for safety
  • [ ] Bot runs successfully on target broker without config changes

Known Broker Suffixes

Broker TypeSuffix Example
Demo/Sim.sim
Micro accountsm
Standard(none)
ECN/Raw.raw, .pro
CFD variants.a, .i
Spread betting_SB

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/13otkmdr/mt5-algolab/production-build/badge)](https://verified-skill.com/skills/13otkmdr/mt5-algolab/production-build)

Something wrong with this skill or its page? Tell us.