How to Prompt Āagman: A Practical Guide
Āagman understands natural language — describe what you want the way you'd explain it to another trader. No forms, no dropdowns. Prompt in whatever language you think in.
Backtest a long-only EMA crossover on RELIANCE, daily, Jan to Dec 2025. Buy when EMA(20) crosses above EMA(50). Stop loss 1.5%, take profit 4.5%. 50 shares per trade.
How do I write my first prompt?
Write your first prompt as a plain-English instruction describing what you want Āagman to research, test, or trade.
Here's the same idea expressed four different ways — one for each thing Āagman does.
Different goals, same principle. Each prompt tells Āagman what instrument, what condition, what risk, and what mode — whether that's a historical backtest, a live order, a stock screen, or a portfolio. What changes across the four is how specific you get with each piece.
What are the five pieces of a prompt?
Every prompt has intent, instrument, condition, action, and constraint. Get them right and the agent knows exactly what to do.
Every Āagman prompt has up to five components. The more complete, the faster you get to results.
| Piece | What Āagman needs to know | Example fragment |
|---|---|---|
| Symbol | Which stock, index, or contract — applies to trades, backtests, and screeners alike | RELIANCE / NIFTY 50 universe / BANKNIFTY 24500 CE |
| Direction & size | Buy or sell, and how much — for trades and backtests; screeners skip this | Buy 50 shares / Sell 1 lot / Use 10% of capital |
| Entry rule | The condition that triggers action — a price, an indicator signal, or a screener filter | At market / When RSI crosses above 30 / ROE above 15% |
| Exit & risk | How the position closes — for trades and backtests; screeners skip this | Stop-loss 2%, target 5% / Trailing stop 3% / Exit after 5 bars |
| Mode | Backtest, live trade, paper trade, or screen / research | Live / Paper / Backtest Jan–Dec 2024 / Screen now |
If you skip a piece, Āagman asks you for it rather than guessing. The more complete your prompt, the faster you get to results.
What can I do with prompts?
Use prompts to backtest strategies, run screeners, build portfolios, and place live or paper trades.
The same prompt structure adapts to live trading, backtesting, portfolios, and screeners.
Deploy a live or paper trade
This is real execution. Say "live" and Āagman places the order after confirming with you. Say "paper" to simulate. Specify intraday (auto-squares-off at EOD) or delivery/CNC (carries overnight).
A simple bracket order
Indicator-driven intraday entry
Positional with a trailing stop
Options work the same way — name the structure, strike, expiry, and premium-based exits.
For multi-leg strategies, describe each leg with BUY or SELL. Āagman places all legs together and exits them as a unit.
Hinglish works natively
Backtest a strategy
Same structure as a live deploy, but instead of saying "live," give a date range. Āagman runs the strategy historically and returns a performance report.
A simple equity backtest
You can layer conditions with AND, chain indicators (like EMA of RSI), use z-scores, arithmetic on indicators, or filter by day-of-week — all in plain language.
Exits go beyond fixed stop/target. Say "trailing stop at 2%" and Āagman tracks the high since entry. Say "exit after 5 bars" for a time stop. Say "use 10% of capital per trade" for percentage-based sizing. Combine them freely.
Options backtests add strike selection, expiry, and premium-based exits.
Build a portfolio
Define a universe of stocks, tell Āagman how to rank and select, and set a rebalance schedule.
You can rank by momentum, Sortino ratio, returns over a period, or lowest volatility. Weighting can be equal or market-cap based. Add a dynamic filter so only qualifying stocks enter at each rebalance.
Or skip ranking entirely for a buy-and-hold.
Run a screener
Screeners are the simplest prompts — just describe what you're filtering for. No date range or sizing needed.
Technical — filter on indicators, patterns, or price action
Fundamental — filter on ratios, margins, shareholding, or cash flow
Hybrid — combine both in one sentence (this is where Āagman is strongest)
Use AND for all conditions to match, OR when any one is enough.
Tips
You don't need perfect syntax. "Buy SBIN when EMA 20 crosses EMA 50" works as well as the formal version.
For options, BUY and SELL mean the option leg itself, not your view on the underlying.
Starting capital is optional for basic backtests but needed for return percentages or percentage-based sizing.
A longer prompt rarely breaks anything. A missing piece sometimes does — when in doubt, be explicit.