
MokshaGPT
Stock Market Insights by AI
MokshaGPT brings institutional-grade quantitative backtesting tools to retail traders. No coding. No complex indicators scripting. Formulate your ideas in plain English and let our AI do the work.
Type what you want to achieve. Our AI will analyze your query and route you to the correct tool prefilled!
MokshaGPT segments backtesting into three tailored execution layers. Find the exact fit for your strategy criteria.
Describe strategy rules in natural English (e.g., indicators, stock tickers, timeline, transaction fees). Our backend translates your input, runs a vectorized mathematical simulation on historical market data, and delivers instant, readable reports.
โ Full trades logs & drawdown details
โ Volatility, Sharpe, expectancies
โ Vectorbt-backed high-speed engine
Set target thresholds (e.g. Sharpe ratio > 1.5, Win Rate > 60%). An autonomous LangGraph loop will execute backtests, analyze the performance, adjust parameter rules, and run againโuntil your strategy objectives are fully met.
โ Continuous agentic execution loop
โ Automatic stop-loss and trailing tuning
โ Detailed parameter logs per iteration
Avoid single-strategy risk. Enter a single quant hypothesis, and the AI generates 3 distinct, uncorrelated models (Trend Following, Mean Reversion, Breakout). They run concurrently, aggregating their equity vectors to cushion max drawdowns.
โ 3 diverse quantitative strategies
โ Mathematical daily equity summation
โ Dramatically reduced portfolio drawdown
Say goodbye to hours spent debugging complex PineScript, Python code, or MT5 strategy scripts. Formulate your logic naturally.
Optimizing rules manually leads to curve-fitting. The Backtest Optimizer analyzes failures scientifically, preserving real-world edge.
Evaluate strategies like a hedge fund. Access deep metrics: Sharpe ratios, Sortino ratios, Calmar drawdown multipliers, and expectations.
Supports NYSE, NASDAQ, NSE (India), FTSE (London), DAX (Germany), Crypto pairs, Forex, and physical Commodity futures.
Our backtester computes institutional metrics. Here is a guide to what they mean and how they measure strategy performance:
Sharpe Ratio measures the risk-adjusted return of your strategy. It divides the excess returns of the portfolio above the risk-free rate by the daily standard deviation of those returns. A Sharpe ratio above 1.0 is considered decent, above 2.0 is excellent, and above 3.0 represents a world-class trading system.
Maximum drawdown measures the largest peak-to-trough decline in the value of the portfolio before a new peak is achieved. It is a critical gauge of historical downside risk. Most professional quants target keeping drawdown below 15% to minimize capital impairment and behavioral stress.
Profit Factor is calculated as gross profit divided by gross loss for all executed trades during the backtesting duration. A Profit Factor of 1.0 means you broke even. Target a profit factor of 1.5 to 2.5 for a robust strategy that can absorb shifting market regimes.
Similar to the Sharpe Ratio, but the Sortino Ratio only penalizes negative volatility (downside risk). It isolates the variance of negative returns, giving a cleaner view of whether a strategyโs risk comes from actual losses or rapid positive surges.
With MokshaGPT, you don't need any programming skills. You simply type your strategy parameters in natural English (e.g. "Buy AAPL when 20 EMA crosses above 50 EMA, hold for 1 year"). Our advanced AI compiler parses your rules, structures them into vectorized Python commands, and runs a comprehensive historical simulation on our institutional database.
A LangGraph autonomous optimizer represents a state-of-the-art agentic loop. Instead of running a single backtest and guessing what parameters to tweak next, our agent iteratively executes simulations, reads Sharpe/drawdown metrics, analyzes the failures, adjusts thresholds autonomously, and repeats the loop until the strategy meets your desired performance benchmarks.
The Ensemble Builder automatically constructs three distinct, uncorrelated strategiesโtypically combining a trend follower, a mean reversion model, and a volatility breakout engine. Because these strategies rely on different mathematical signals, their losing periods rarely overlap. When one model experiences a dip, the others cushion the total equity value, yielding a significantly smoother overall portfolio curve.
Backtests simulate historical performance. While highly accurate for verifying if a strategy had an edge in the past, real-world execution contains slippage, transaction fees, liquidity constraints, and latency. MokshaGPT factors in standard transaction fees (approximated at 0.1% per trade) to ensure our simulations reflect realistic trading costs.