Skip to content

Monte-Neo v0.17.7

A simplified guide to the Monte-Neo file structure.

Format: [file path] - [description]

Root Configuration

  • docs/index.md - Public docs site landing page (MkDocs Home / site root)
  • docs/docs-map.md - Docs file map (maintenance index)
  • docs/stylesheets/extra.css - MkDocs Material extras (compact badges/logo)
  • docs/assets/logo-mark.png - Compact theme logo / favicon (96px)
  • docs/assets/logo-header.png - Compact header logo (128px)
  • README.md - Main project documentation
  • pyproject.toml - Python package configuration and dependencies
  • uv.lock - Lockfile for consistent environment management
  • LICENSE - MIT License
  • SECURITY.md - Vulnerability reporting (GitHub Security Advisories)
  • .github/workflows/pypi-smoke.yml - PyPI bare-install smoke (schedule / dispatch / release)
  • scripts/verify_pypi_install.sh - Local/CI PyPI install verify helper
  • CONTRIBUTING.md - Root pointer to contributing guide
  • .gitignore - Git exclusion rules
  • .env.example - Environment variables template

Project Information (docs/project/)

  • docs/project/project-idea.md - The philosophy and vision behind Monte-Neo
  • docs/project/vision.md - Original design goals and core principles
  • docs/project/project-structure.md - Deep dive into physical directory layout
  • docs/project/features.md - Detailed overview of framework features
  • docs/project/dynamic_indicators.md - Explanation of dynamic indicator generation
  • docs/project/ROADMAP.md - Development roadmap and milestones (v0.17.7)
  • docs/project/CHANGELOG.md - Release changelog (current: v0.17.7)
  • docs/project/backtest_engine.md - Fee-aware research bar engine
  • docs/project/oms_engine.md - Paper OMS (bar + tick/L2) + venue adapters
  • docs/assets/monteneo-logo.png - Project logo
  • docs/project/BRANCHING.md - Branch and version policy
  • docs/project/v0.0.5_plan.md - Development plan for v0.0.5
  • docs/project/tech-stack.md - Technology stack and performance targets
  • docs/COMMERCIAL_RU.md - Commercial notes (Russian)
  • docs/en/COMMERCIAL.md - Commercial notes (English)
  • docs/METAL_NATIVE_BUILD.md - Native Metal extension build notes

Setup & Configuration (docs/setup/)

  • docs/setup/installation.md - Installation instructions for users and developers
  • docs/setup/development-setup.md - Guide for setting up the dev environment
  • docs/setup/auth.md - Authentication and Binance API key setup
  • docs/setup/user-settings.md - Configuration and environment variable guide

Development (docs/development/)

  • docs/development/rules.md - Project-specific rules and conventions
  • docs/development/testing.md - Testing strategy and execution guide
  • docs/development/performance.md - Performance notes and benchmarks
  • docs/development/generation_mechanics.md - Deep dive into generator and dynamic indicator logic
  • docs/development/external-libs.md - List and purpose of external dependencies
  • docs/development/api-documentation.md - Guide to API and code documentation
  • docs/development/CLAUDE.md - AI assistant guide and coding conventions

Guides & Examples (docs/guides/, docs/examples/)

  • docs/guides/quick-start.md - 3-step guide to get started
  • docs/guides/FAQ.md - Metal vs Numba, install, no-hang gate, PyPI timing
  • docs/examples/README.md - Standalone script examples (Placeholder)
  • docs/api/README.md - API reference (Placeholder)

Docker (docker/)

  • docker/Dockerfile - Multi-stage Docker build using uv
  • docker/docker-compose.yml - Docker Compose service definitions

Source Code (src/monte_neo/)

  • src/monte_neo/_version.py - Central version management (v0.17.7)
  • src/monte_neo/policy/ - HeuristicPolicy A (ResearchState + triage)
  • src/monte_neo/backtest/holdout.py - Train/holdout SMA helper
  • docs/api/holdout.md - Holdout API
  • docs/development/contributing.md - Contributing guide
  • .github/ISSUE_TEMPLATE/ - Bug / feature templates
  • docs/api/export.md - Research export API (schema / golden)
  • docs/api/policy.md - Local research policy triage
  • docs/project/mc_accel.md - MC Metal/MLX dispatch + 16GB budgets
  • src/monte_neo/init.py - Main package entry point
  • src/monte_neo/backtest/ - Professional fee-aware research bar engine + SMA sweep
  • src/monte_neo/oms/ - Paper OMS lane + Apple Silicon accel helpers

Core Engine (core/)

  • src/monte_neo/core/init.py - Core exports
  • src/monte_neo/core/generator.py - Main indicator generation logic (entry point)
  • src/monte_neo/core/generator_search.py - Generator search and filtering logic
  • src/monte_neo/core/generator_utils.py - Generator constants and helpers
  • src/monte_neo/core/generator_worker.py - Generator parallel worker functions
  • src/monte_neo/core/gpu_engine.py - MLX GPU backtesting engine
  • src/monte_neo/core/gpu_lazy.py - Lazy GPU backtesting helpers
  • src/monte_neo/core/gpu_scenarios.py - GPU scenario backtesting helper
  • src/monte_neo/core/optimizer.py - Parameter optimization strategies
  • src/monte_neo/core/validator.py - Overfitting and robustness validation
  • src/monte_neo/core/acceleration/ - Directory for Metal/C++ accelerators (v0.0.4)

Data Handling (data/)

  • src/monte_neo/data/init.py - Data module exports
  • src/monte_neo/data/downloader.py - Binance OHLCV data downloader
  • src/monte_neo/data/storage.py - Efficient Parquet storage handler
  • src/monte_neo/data/sampler.py - Bootstrap and synthetic data sampling
  • src/monte_neo/data/websocket.py - Binance WebSocket streaming wrapper

Monte Carlo (monte_carlo/)

  • src/monte_neo/monte_carlo/init.py - MC module exports
  • src/monte_neo/monte_carlo/engine.py - Main simulation execution engine
  • src/monte_neo/monte_carlo/types.py - MC configuration and result types
  • src/monte_neo/monte_carlo/sequential.py - Sequential MC "Wizard" runner
  • src/monte_neo/monte_carlo/scenarios.py - Scenario generation logic
  • src/monte_neo/monte_carlo/shuffler.py - Return and block shuffling methods
  • src/monte_neo/monte_carlo/noise.py - Noise injection and slippage simulation
  • src/monte_neo/monte_carlo/sensitivity.py - Parameter sensitivity analysis
  • src/monte_neo/monte_carlo/walk_forward.py - Rolling walk-forward validation

Metrics (metrics/)

  • src/monte_neo/metrics/init.py - Metrics module exports
  • src/monte_neo/metrics/calculator.py - Unified trading metrics calculator (entry point)
  • src/monte_neo/metrics/numba_funcs.py - Numba-optimized calculation functions
  • src/monte_neo/metrics/types.py - Metric data types and dataclasses
  • src/monte_neo/metrics/utils.py - Helper functions for metric calculations
  • src/monte_neo/metrics/profit_factor.py - Profit Factor calculation
  • src/monte_neo/metrics/sharpe.py - Sharpe and Sortino ratio metrics
  • src/monte_neo/metrics/drawdown.py - Max and average drawdown metrics
  • src/monte_neo/metrics/winrate.py - Winrate and expectancy metrics

Trading Logic (indicators/)

  • src/monte_neo/indicators/init.py - Indicator exports
  • src/monte_neo/indicators/base.py - Abstract base indicator class
  • src/monte_neo/indicators/technical.py - Portfolio of technical indicators (entry point)
  • src/monte_neo/indicators/technical_lib.py - Core library of technical indicators
  • src/monte_neo/indicators/numba_funcs.py - Numba-optimized indicator functions
  • src/monte_neo/indicators/sma.py - Simple Moving Average implementation
  • src/monte_neo/indicators/rsi.py - Relative Strength Index implementation
  • src/monte_neo/indicators/macd.py - MACD implementation
  • src/monte_neo/indicators/custom.py - Build-your-own indicator builder
  • src/monte_neo/indicators/dynamic.py - Dynamic indicator with evolutionary generation

Interface (cli/)

  • src/monte_neo/cli/init.py - CLI module exports
  • src/monte_neo/cli/app.py - CLI entry point and argument parsing
  • src/monte_neo/cli/menu.py - Interactive arrow-navigation menu
  • src/monte_neo/cli/progress.py - Rich progress bars and ETA
  • src/monte_neo/cli/styles.py - Terminal styling and themes

Visuals (visualization/)

  • src/monte_neo/visualization/init.py - Viz module exports
  • src/monte_neo/visualization/charts.py - Candlestick and signal charting
  • src/monte_neo/visualization/trades.py - Trade-by-trade visualization
  • src/monte_neo/visualization/metrics.py - Performance metrics dashboard

Utilities (utils/)

  • src/monte_neo/utils/init.py - Utils module exports
  • src/monte_neo/utils/config.py - Configuration management
  • src/monte_neo/utils/logger.py - Standardized logging setup
  • src/monte_neo/utils/parallel.py - Multiprocessing and parallel execution

Tests (tests/)

  • tests/conftest.py - Shared pytest fixtures
  • tests/unit/ - Targeted unit tests for all modules
  • tests/unit/test_dynamic_indicator.py - Tests for dynamic code generation and evolution
  • tests/unit/test_gpu_engine_parallel.py - Tests for GPU parallel path selection
  • tests/unit/test_binance_websocket.py - Tests for Binance WebSocket streaming
  • tests/integration/ - End-to-end workflow tests
  • tests/stress/ - Memory and CPU performance stress tests

Utility Scripts (scripts/)

  • scripts/run_full_test_suite.sh - Master verification script (uv + docker)
  • scripts/check_system.py - Native verification of Genetic Algorithms & Dynamic Indicators
  • docs/project/PACKAGING.md - PyPI / TestPyPI free packaging checklist