How moss-site/moss-trade-bot-skills works
Moss is a crypto-trading strategy factory: users describe a strategy, Moss evaluates it with historical-market backtests, then supports iterative tuning and live execution. The repository tree contains several version snapshots; this map uses v1.0.27 for the general-purpose workflow and includes the separately visible Ambush live-trading subsystem from v1.0.25-beta. Backtesting, evolution, and natural-language generation are documented capabilities, but their implementation details are not sampled here, so those links are documented rather than source-verified.
Main entry points: backtest.py Backtesting · event_handler.py Event Handler · fetcher.py Market Data · trading_client.py Trading Client
Components 20
Market Data
- Data Fetching
moss-trade-bot-factory-1.0.27/scripts/fetch_data.py - Market Data
moss-trade-bot-factory-1.0.27/scripts/core/fetcher.py
Strategy Analysis
- Strategy Brief
moss-trade-bot-factory-1.0.27/scripts - Strategy Creation
moss-trade-bot-factory-1.0.27/scripts - Indicators
moss-trade-bot-factory-1.0.27/scripts/core/indicators.py - Regime Detection
moss-trade-bot-factory-1.0.27/scripts/core/regime.py - Signal Decisions
moss-trade-bot-factory-1.0.27/scripts/core/decision.py - Strategy Engine
moss-trade-bot-factory-1.0.27/scripts/core/engine.py - Backtesting
moss-trade-bot-factory-1.0.27/scripts/core/backtest.py - Strategy Evolution
moss-trade-bot-factory-1.0.27/scripts/run_evolve_backtest.py
Trading Execution
- Live Runner
moss-trade-bot-factory-1.0.27/scripts/live_runner.py - Trading Client
moss-trade-bot-factory-1.0.27/scripts/trading_client.py
Ambush Live Mode
- Live Event Sources
moss-trade-bot-factory-1.0.25-beta/scripts/ambush - Event Handler
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/event_handler.py - Ambush Decisions
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/decision.py - Market Features
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/features.py - Candle Data
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/hyperliquid_candles.py - Live State Store
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/live_database.py
Platform Services
- Trading Platform
Other components
- Trader
Connections 19
- Trader → Strategy Brief: describes strategy
- Strategy Brief → Strategy Creation: informs
- Strategy Creation → Backtesting: evaluates in
- Data Fetching → Market Data: prepares data
- Market Data → Backtesting: supplies history
- Market Data → Indicators: provides prices
- Indicators → Signal Decisions: forms signals
- Regime Detection → Backtesting: informs simulation
- Signal Decisions → Strategy Engine: guides trades
- Strategy Engine → Backtesting: simulates strategy
- Backtesting → Strategy Evolution: feeds reflection
- Strategy Evolution → Backtesting: retunes strategy
- Live Runner → Trading Client: submits trades
- Trading Client → Trading Platform: calls API
- Live Event Sources → Event Handler: dispatches events
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/event_handler.py - Event Handler → Ambush Decisions: uses decisions
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/event_handler.py - Event Handler → Live State Store: records state
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/event_handler.py - Market Features → Candle Data: uses indicators
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/features.py - Event Handler → Trading Client: places orders
moss-trade-bot-factory-1.0.25-beta/scripts/ambush/event_handler.py