Live Tool: https://majedpro.github.io/pbview/
A comprehensive web-based viewer for PassiveBot trading configuration files. This tool provides an intuitive interface to analyze and visualize all aspects of your PassiveBot configurations.
- Core Metrics: Total Gain, ADG, Sharpe Ratio, Omega Ratio, Max Drawdown, Loss/Profit Ratio
- Advanced Ratios: Calmar Ratio, Sortino Ratio, Sterling Ratio
- Weighted Metrics: ADG, Sharpe, Omega, and Calmar weighted calculations
- Position Statistics: Hold times, positions per day, and trading frequency analysis
- Visual Progress Bars: Color-coded performance indicators
- Comprehensive Parameter Display: 20+ parameters per long/short side
- Entry Settings: Grid spacing, quantity percentages, EMA distances
- Close Settings: Markup ranges, quantity percentages, trailing parameters
- Risk Management: Unstuck thresholds, loss allowances, exposure limits
- Filter Settings: Volume clips, rolling windows, and market conditions
- Flexible Symbol Handling: Supports both array and object formats
- Exchange Management: Multi-exchange trading configurations
- Date Ranges: Start/end dates with balance information
- Advanced Settings: OHLCVS combining, cache compression, gap tolerance
- Execution Parameters: Delays, batch limits, market orders
- Risk Controls: Coin age requirements, restart limits, price thresholds
- Approved Coins: Flexible long/short or unified coin lists
- Performance Monitoring: PnL lookback, OHLCVS updates
- Algorithm Settings: Iterations, population size, CPU usage
- Genetic Parameters: Crossover and mutation probabilities
- Parameter Bounds: Visual range displays for optimization limits
- Scoring Methods: Multi-objective optimization criteria
- Dark Theme: Professional, eye-friendly interface
- Drag & Drop: Seamless file loading with visual feedback
- Responsive Design: Works on desktop, tablet, and mobile
- Auto-Expansion: All sections expanded by default for quick overview
- Global File Reload: Drop new configs anywhere on the page
- Progress Indicators: Real-time loading animations
- Download: Save
config-viewer.htmlto your computer - Open: Double-click the file or open in any modern web browser
- Load Config: Drag and drop your
config.jsonfile or click to browse - Analyze: Explore all sections of your configuration data
- β Standard PassiveBot Configs: Full analysis with performance data
- β Basic Bot Configs: Configuration-only files (like BTCUSDT.json)
- β Mixed Formats: Handles both object and array structures seamlessly
// Standard format with analysis
{
"analysis": { "adg": 0.009, "sharpe_ratio": 0.139, ... },
"backtest": { "symbols": {"binance": ["BTCUSDT"], ...} },
"bot": { "long": {...}, "short": {...} },
"live": { "approved_coins": {"long": [...], "short": [...]} },
...
}
// Simple format without analysis
{
"backtest": { "symbols": ["BTCUSDT"] },
"live": { "approved_coins": ["BTCUSDT"] },
...
}- Modern Web Browser: Chrome 80+, Firefox 75+, Safari 13+, Edge 80+
- JavaScript: Must be enabled
- File Access: Local file reading capability
- No Installation: Runs entirely in the browser
- 100% Client-Side: No data is sent to any server
- Local Processing: All analysis happens in your browser
- No Dependencies: Self-contained HTML file with embedded resources
- Offline Capable: Works without internet connection
- π’ Green: Good performance metrics and positive values
- π‘ Orange: Medium performance metrics
- π΄ Red: Poor performance metrics and negative values
- π΅ Blue: Neutral information and section headers
- Auto-fit Columns: Adapts to screen size automatically
- Minimum Widths: Ensures readability on all devices
- Flexible Spacing: Optimized for both desktop and mobile viewing
| Metric | Good | Medium | Poor |
|---|---|---|---|
| Sharpe Ratio | > 1.0 | 0.5-1.0 | < 0.5 |
| Omega Ratio | > 2.0 | 1.5-2.0 | < 1.5 |
| ADG | > 0.5% | 0.2-0.5% | < 0.2% |
| Max Drawdown | < 20% | 20-50% | > 50% |
| Loss/Profit Ratio | < 0.4 | 0.4-0.6 | > 0.6 |
| Browser | Minimum Version | Status |
|---|---|---|
| Chrome | 80+ | β Fully Supported |
| Firefox | 75+ | β Fully Supported |
| Safari | 13+ | β Fully Supported |
| Edge | 80+ | β Fully Supported |
| Internet Explorer | - | β Not Supported |
-
File Won't Load
- Ensure the file is valid JSON
- Check that JavaScript is enabled
- Try refreshing the page
-
Missing Data
- Some sections may not appear if data is missing from config
- This is normal for basic configuration files
This is a single-file application designed for simplicity and portability. To contribute:
- Fork the repository
- Modify the
config-viewer.htmlfile - Test with various PassiveBot configuration files
- Submit a pull request with your improvements
- Maintain the single-file architecture
- Ensure backward compatibility with existing config formats
- Test with both analysis and non-analysis configurations
- Keep the dark theme consistent
- Ensure mobile responsiveness
This project is open source and available under the MIT License.
- PassiveBot Community: For providing the configuration formats and use cases
Made with β€οΈ for the PassiveBot community
For questions, issues, or feature requests, please open an issue on GitHub.