Deployment & Simulation Troubleshooting Flowchart
Encountered an error during simulation or deployment? This guide maps the exact steps to diagnose and resolve the most common configuration and data integrity issues.
Encountered an error during simulation or deployment? This guide maps the exact steps to diagnose and resolve the most common configuration and data integrity issues.
The Golden Path
Before deploying a live bot, you must pass three critical gates. This flowchart details what to do if any gate fails.
Failure Path 1
Root Cause
The historical data provided is incomplete or malformed—for example, fewer than 50 candles, or OHLCV data points contain zero values.
Why It Happens
BitThor requires a minimum volume of clean, complete data to reliably calculate indicator signals and simulate trades. If the data source is too sparse or contains gaps, the analysis engine cannot produce meaningful results.
Remediation
Failure Path 2
Root Cause
The current settings used to run the simulation do not exactly match the configuration saved when the simulation was originally run—for example, you changed an indicator period or advanced parameter.
Why It Happens
This is a critical safety feature. BitThor will not deploy a bot with a configuration that differs from the audited simulation snapshot, as it could lead to unexpected performance.
4-Step Recovery
Failure Path 3
Root Cause
The live connection to the exchange, or the temporary activation token, has expired or is unavailable.
Why It Happens
The deployment process requires the live market analyzer to be actively connected and authenticated. Tokens have a finite lifespan and network conditions can interrupt exchange connectivity.
Remediation
Failure Path 4
Root Cause
A simulation run submitted via the API did not include the required marketRegime field,
or the value provided did not match one of the accepted regime labels.
Why It Happens
BitThor captures the market regime at the time of simulation to support audit traceability across different market conditions. Non-wizard API calls must supply this field explicitly; the Setup Wizard supplies it automatically using a Sideways default when no value is provided.
Accepted Values
Bullish, Bearish, Sideways, Volatile
— case-insensitive. Any other string is rejected with a 400 status.
Remediation
"marketRegime": "Sideways" (or the appropriate regime label) in your simulation request body.Review the full Getting Started guide for complete deployment process context.