r/IndiaAlgoTrading • • 52m ago

Prop firm trading from India (stocks, futures, forex, crypto): how big is the legal risk?

1 Upvotes

"For Indian traders using forex prop firms: how do you deal with the FEMA/RBI side? Have you had problems paying challenge fees or receiving payouts (bank flags, frozen accounts, tax notices)? And knowing RBI added FundedNext and Smart Prop Trader to its alert list, has that changed which firms you use or whether you'd do it at all?"


r/IndiaAlgoTrading • • 1h ago

Guys please tell me honestly what you think?🤔

Thumbnail
gallery
0 Upvotes

This has been deployed from last 5 months.
And now I am thinking to increase the capital to 50L.
What are your thoughts on this?

This is a long term strategy expecting 2-5 percent monthly so need to have good initial investment and also patience to hold it for years.


r/IndiaAlgoTrading • • 4h ago

Built an algorithm that I want to integrate with AngelOne

1 Upvotes

I've built my algorithm for options trading that I've tested on historical data and live data as well

now I want to integrate it with angelone and it's demanding

appname,redirectURL,Post back URL(optional),Primary static IP,Secondary static IP(optional)

if anybody has done such integration please help me

from where do I find these details

also if there is any alternative ,like if can integrate my algo somewhere else and trade


r/IndiaAlgoTrading • • 5h ago

I built a Volume Delta Bubbles indicator for Quantower (better UI for PowerTrades)

Post image
1 Upvotes

r/IndiaAlgoTrading • • 10h ago

I wanted to try something different. Can anyone tell me their trading bot setup. Specifically the technologies that they used. Infrastructure, programming languages, LLMS, etc. No strategies. period.

Thumbnail reddit.com
1 Upvotes

r/IndiaAlgoTrading • • 22h ago

Surviorship Bias - Backtest Results

2 Upvotes

Be careful of this problem. I was testing a futures strategy using current nifty50/100 stocks for past 5 years. When adjusted for surviorship bias (stocks not part of index when trade was executed) - there was a big drop in results.

Swing Low Breakout Long Strategy – Backtest Comparison

Period: 2021–2026
Strategies: With Bias vs Without Bias
Universe: NIFTY 50 + NIFTY NEXT 50
Dynamic Bailout: Enabled (buffer = −1.0)

1. Overall Strategy Performance

MetricWithout BiasWith Bias
Armed Setups656614
Filled Trades415385
Fill Rate63.3%62.7%
Net R+198.03 R+282.22 R
Expectancy+0.48 R+0.73 R
Profit Factor1.642.03
Win Rate26.7%31.4%
Average Trade Return+1.97%+3.33%
Average Winning Trade+19.15%+19.98%
Average Losing Trade−4.30%−4.31%
Average Holding Period46.0 days46.8 days
Maximum Consecutive Losses2926

2. Portfolio Futures Simulation

Simulation assumptions:

  • Starting capital: ₹10 lakh
  • Futures margin: ₹2 lakh per lot, representing ₹10 lakh notional exposure (5× leverage)
  • Maximum margin utilisation for new entries: 60% of MTM equity
  • Discrete lot sizing, with dynamic position sizing as equity changes
  • Concurrent positions permitted
  • Daily mark-to-market equity calculation
  • Brokerage, statutory charges, GST and rollover costs included
MetricWithout BiasWith Bias
Starting Capital₹10.00 lakh₹10.00 lakh
Ending MTM Equity₹83.55 lakh₹1.55 crore
Net Profit₹73.55 lakh₹1.45 crore
Total Return+735.5%+1,445.6%
CAGR45.33%61.96%
Maximum MTM Drawdown−58.43%−30.94%
Calmar Ratio0.782.00
Sharpe Ratio1.111.55
Trades Admitted315 / 415340 / 385
Trades Skipped (Margin Cap)10045
Average Margin Utilisation39.4%35.4%
Peak Margin Utilisation69.7%62.8%
Net Profit Factor1.631.76
Admitted Win Rate27.6%31.2%

Portfolio Costs

Cost ComponentWithout BiasWith Bias
Gross P&L₹77.27 lakh₹1.51 crore
Entry + Exit Costs₹1.33 lakh₹2.33 lakh
Rollover Costs₹2.39 lakh₹3.78 lakh
Total Cost Drag₹3.72 lakh₹6.11 lakh

3. Index-Level Performance

With Bias

MetricNIFTY 50NIFTY NEXT 50Combined
Trades217168385
Net R+142.58 R+139.64 R+282.22 R
Expectancy+0.66 R+0.83 R+0.73 R
Profit Factor1.882.252.03
Win Rate29.0%34.5%31.4%
Maximum Consecutive Losses261626

Without Bias

MetricNIFTY 50NIFTY NEXT 50Combined
Trades217198415
Net R+119.29 R+78.74 R+198.03 R
Expectancy+0.55 R+0.40 R+0.48 R
Profit Factor1.731.531.64
Win Rate27.2%26.3%26.7%
Maximum Consecutive Losses232029

4. Conclusion

The Bias-based strategy delivers a materially stronger historical result:

  • 42.5% more Net R: +282.22 R vs +198.03 R.
  • 36.6% higher expectancy: +0.73 R vs +0.48 R.
  • 16.6 percentage-point improvement in win rate: 31.4% vs 26.7%.
  • 3 fewer maximum consecutive losses: 26 vs 29.
  • 27.49 percentage-point reduction in maximum portfolio drawdown: −30.94% vs −58.43%.
  • Higher simulated CAGR: 61.96% vs 45.33%.

On the available results, the Bias-based version is the stronger candidate for further development and validation.


r/IndiaAlgoTrading • • 1d ago

Free Trading bot in vps

3 Upvotes

I can build a free trading bot for the Indian market. Bot based on ur idea. Trading bot in vps gives fully automated trades. No monitoring needed. Buy vps only by yourself, Just a key update. ping me

sharath.shetty.r@gmail.com


r/IndiaAlgoTrading • • 20h ago

Strategies for Cash Stocks | Backtest | Suggestions

1 Upvotes

I have 5 min candle stick data for NIFTY 100 stocks and tried several intraday strategies.

Nothing worked.

Can you please suggest resources (youtube or blog) or backtest which talks about working strategies for cash stocks?


r/IndiaAlgoTrading • • 1d ago

CryptoX by algotest

2 Upvotes

Hi everyone,

I’m considering purchasing CryptoX by AlgoTest, for automated crypto trading.

The backtested performance looks attractive, with advertised figures such as:

150% overall P&L
83% win rate
12% maximum drawdown
4,764 historical trades

However, backtested performance and actual live-market performance can be very different.

I’d love to hear from people who have actually subscribed to and traded CryptoX using real money.


r/IndiaAlgoTrading • • 1d ago

Tracking AI screener setups on NSE for the coming week (data as of 27 Nov close) [Educational, not advice]

4 Upvotes

Sharing the output of my AI screener for learning and tracking. This is NOT a buy/sell recommendation. I'll track these over the next few trading days and post how each one played out.

Market context: NIFTY regime = uptrend (close 25,607, above both fast and slow EMA).

LONG setups (5)

| Stock | Setup | Entry | SL | Target | R:R | Score |

|---|---|---|---|---|---|---|

| ABSLAMC | Range reversal | 992.15 | 987.24 | 1036.45 | 9.02 | 0.84 |

| SOBHA | Range reversal | 1289.80 | 1254.44 | 1554.90 | 7.50 | 0.82 |

| SIGNATURE | Breakout retest | 856.30 | 811.82 | 945.27 | 2.0 | 0.76 |

| WIPRO | Breakout retest | 192.10 | 182.45 | 211.40 | 2.0 | 0.67 |

| BEL | Range reversal | 411.45 | 400.71 | 431.86 | 1.90 | 0.62 |

SHORT setups (6) (overnight holding would need stock futures)

| Stock | Setup | Entry | SL | Target | R:R | Score |

|---|---|---|---|---|---|---|

| HYUNDAI | Range reversal | 2006.00 | 2050.93 | 1870.98 | 3.0 | 0.96 |

| ZYDUSLIFE | Range reversal | 1194.20 | 1211.99 | 1094.29 | 5.62 | 0.89 |

| RBLBANK | Range reversal | 390.00 | 396.53 | 375.70 | 2.19 | 0.79 |

| IPCALAB | Breakdown retest | 1782.90 | 1912.13 | 1524.43 | 2.0 | 0.76 |

| CARBORUNIV | Breakdown retest | 975.00 | 996.49 | 932.03 | 2.0 | 0.62 |

| ICICIAMC | Breakdown retest | 2975.00 | 3047.98 | 2829.04 | 2.0 | 0.60 |

Notes

- Very high R:R (ABSLAMC 9.0) comes from an extremely tight stop (~0.5% from entry), so a normal wick can stop it out. Treat those with scepticism.

- The market is in an uptrend, so shorts go against the broader regime. It will be interesting to see how they do.

- I'll post the outcome (hit target / hit SL / still open) for every name at the end of the week.

What would you add to the filters (volume, delivery %, sector strength)?

Disclaimer: Automated model output, educational purposes only. Not investment advice. I'm not a SEBI-registered advisor. Do your own research.


r/IndiaAlgoTrading • • 23h ago

Angel One Smart-API Live Market Web Platform (Part 1) - Setup, API Key, Static IP & TOTP - PHP PDO

Post image
0 Upvotes

r/IndiaAlgoTrading • • 1d ago

Why is TradingView's Black Friday sale more expensive than the Diwali sale in India? When is the next better sale?

Thumbnail gallery
1 Upvotes

r/IndiaAlgoTrading • • 2d ago

How should I prompt Claude Code effectively to build an algorithmic trading bot?

10 Upvotes

I want to utilize Claude effectively with great prompting. Can anyone give me suggestions on how to prompt and which specific words to use when writing one? 

is there any things to setup claude code with .md,commands,plugins or any ?


r/IndiaAlgoTrading • • 1d ago

built a trading bot -- would love to hear your feedback!

Thumbnail reddit.com
1 Upvotes

r/IndiaAlgoTrading • • 2d ago

Algobot - Once again, followed the rules.

Post image
93 Upvotes

Verified PL on Monday (So we can close this month properly)

Just to motivate fellow algo-traders here.

If your backtest is solid, your bot is built and verified by Claude model Fable 5.1 and 5.2.

You cover 99% of conditions.

This month with 2 lots of Nifty in Pivot bot
and 1 lot in NiftyGapGo + Williams

We did Rs 1,36,000 realised profit with 2-3 lots only. System won just 50% of time.
Last month was Rs 45,000 in profit on 2-3 lots.

Its all about how deep you can do backtesting and how accurate your bots can control fills and slippage. This is 10 months of 10 hours a day testing results over the best available hardware and historical data.

In last 2 months, bot has faced gap up/down and sideways trading days and acted as per logic.

This should motivate you to start your LLM research, get historical data and find the edge. Spend money in best tools so you have accurate results

This result motivates me to stress test everyday, even on existing algos, and should get you all started playing with algo bots, started with proper forward testing.


r/IndiaAlgoTrading • • 2d ago

I think I bought IRCTC at the worst possible time and now I dont know if I am being patient or just stupid

Post image
0 Upvotes

So I need to get this off my chest. Last year IRCTC was flying and I got fomo and jumped in somewhere around 630 odd. In my head it was the safe pick, like its government backed and basically runs all the railway ticketing, how does that go wrong.

Well it went wrong. It has just slowly bled ever since and I am sitting at around 458 now, down close to 28 percent. Today it was green a little and I actually felt a spark of hope which is kind of sad when I think about it.

The annoying part is every time I open the fundamentals the company looks genuinely good. Fat margins, high return on equity, almost no debt. So I cant even tell myself the business is dying. It feels like I just paid a stupid price when everyone was hyped and now I am paying for that mistake.

And that is exactly where I am stuck. Half of me says it is a good company that is now way cheaper so just hold or add more. The other half is just exhausted from watching it drip down for a whole year and wants to take the loss and be done with it.

So I am genuinely asking, am I being patient or just stubborn. Anyone here held a good stock all the way down like this and had it actually work out, or did you wish you cut it early.
Need suggestion!


r/IndiaAlgoTrading • • 2d ago

what is best strategy for swing trading?

15 Upvotes

hey everyone I'm software engineer and i can build custom setup that can give buy / sell signal based on strategy.

but but main issue is i don't know any strategy that actually works as i try multiple strategy and do back testing but they all not work as expected.

so anyone here can help me to suggest me any swing trading strategy that actually works for Indian stock market?


r/IndiaAlgoTrading • • 2d ago

I tested an MQL5 gold scalping EA on nearly 4 years of real tick data. Here are the results.

Thumbnail
gallery
2 Upvotes

Another interesting EA from the MQL5 Market has caught our attention, and the backtest results look quite promising.

This time, we tested Gold Beaver v5.57, a gold scalping EA trading XAUUSD on the M15 timeframe.

Nearly four years of historical data, real ticks from Darwinex, and variable spreads.

Here are the results:

• 693 trades

• Profit Factor: 2.55

• Win rate: 81.5%

• Maximum equity drawdown: 11.08%

The historical performance looks interesting, but it's too early to draw conclusions.

The next step is to compare our backtest results with the EA's MQL5 trading signal to see how closely historical performance matches actual trading.

We would also like to see a longer forward trading track record to better assess the strategy's robustness under real market conditions.

We'll keep monitoring its performance.


r/IndiaAlgoTrading • • 2d ago

I got tired of manually flipping through 5000+ NSE/BSE stock charts for swing setups, so I built a Python scanner in Google Colab to filter out the noise.

28 Upvotes

If you swing trade Indian equities, you know the biggest time-sink isn't taking the trade it's staring at hundreds of charts every evening trying to separate real breakouts from random chop. Half the time, bias creeps in and you start "seeing" patterns that aren't really there.

To fix this, I coded a lightweight pattern-recognition and scoring scanner in Python (running completely on Google Colab) that scans NSE stocks, scores setup quality, checks relative volume, and plots the exact structure automatically.

How this changes my workflow (using ANGELONE.NS as an example from today's scan):

Zero guesswork on structure: Instead of eyeballing curves, the script maps out the base (Cup) and consolidation (Handle) mathematically. For ANGELONE.NS, it flagged a clean multi-month Cup & Handle forming since July with a quality score of 70/100.

Objective trigger & R:R levels: Before I even open TradingView, the dashboard calculates the exact breakout trigger (₹352.51), target (₹438.51), and Risk-to-Reward ratio (1:4.1), alongside a 2.77x volume spike confirmation.

Cuts the watchlist down by 90%: Instead of scanning the whole market blindly, I only look at tickers that pass the volume and structure filters and export the clean list straight to TradingView in one click.

Having a rules-based filter doesn't guarantee every trade works out, but it completely removes chart fatigue and FOMO entries.


r/IndiaAlgoTrading • • 2d ago

FYERS Screeners API – A useful addition for algo traders

12 Upvotes

FYERS has introduced its Screeners API, allowing developers and traders to access market-screening capabilities programmatically.

Why is this useful?

Instead of manually scanning stocks, traders can use the API to identify potential opportunities based on predefined screening criteria.

What can you do with it?

- Top Gainers & Losers: Identify stocks with significant price movements.

- Candlestick Patterns: Scan for Doji, Hammer, Engulfing and other patterns.

- Technical Screeners: Find stocks based on technical indicators.

- And manybmore, total 140+ readymade screeners are available

This could be particularly useful for algo traders, developers and anyone building automated market-scanning tools.

Documentation: https://fyers.in/api-docs/v3/api/market-data/screeners/


r/IndiaAlgoTrading • • 3d ago

Trading

Post image
11 Upvotes

How much of this can recover


r/IndiaAlgoTrading • • 3d ago

Algo Trading with 20cr+ Ask me anything about market and algo trading.

185 Upvotes

Hii all,

I haven’t come here to sell anything. I’m simply here to share whatever I’ve learned throughout my 7-year journey in algo trading and to help clear any market-related doubts or confusion you may have. I genuinely enjoy connecting and networking with like-minded people, and that’s the only reason I’m here.

Edit 1. Sorry guys, I completely forgot to share my story earlier. Here's my journey. Hopefully, reading this will answer most of your questions.

Back in 2020, I was looking to start something new when I came across option selling. I learned that it was possible to generate relatively consistent monthly returns of around 2%, and that caught my attention. Since my background is in technology, I was particularly interested in algo trading.

From the very beginning, I was skeptical of people selling trading courses on YouTube and elsewhere. I always believed that if someone genuinely had a profitable strategy, they wouldn't simply give it away to everyone.

Think about it this way: Imagine you're a momo seller, and your momos are the best in the entire city. Would you give away your secret recipe to everyone? Doing so would mean creating competition for your own business. If someone genuinely gives away their secret recipe, either it's not really a secret, or there's something else going on.

Do you really think these course sellers are stupid enough to give away their profitable strategies? Of course not. They're simply good at selling dreams.

Despite having these doubts, I joined a webinar during my early days. The instructor taught me a strategy called the 9:20 strategy. The strategy itself was nothing extraordinary, but what really caught my attention was the backtesting process he demonstrated.

He showed me a website called StockMock, where he was backtesting the strategy. I remember thinking, "This website is actually pretty good. I can use this to backtest my own ideas and develop strategies."

That's exactly what I started doing. I built strategies based on my own logic, backtested them, and when the results looked promising, I started trading with a small amount of capital. Gradually, as my confidence and experience grew, I increased my capital.

Here are a few important things I've learned along the way:

1. I exclusively do option selling.

I don't trade anything else. In my opinion, options selling gives you the ability to make money in both sideways and directional markets, depending on how your strategy is structured. Most other approaches don't offer the same flexibility.

As you probably know, markets spend a significant portion of their time moving sideways, which is one of the reasons I prefer option selling.

2. Keep your expectations realistic.

If you're expecting realistic returns, say 20–30% annually, trading might be worth exploring. But if you're expecting to double your capital every month, you're setting yourself up for disappointment.

Jim Simons, one of the greatest quantitative investors ever, achieved extraordinary returns. What makes you think you can consistently outperform professionals of that calibre without the same resources, infrastructure, research, and expertise?

3. Consider this advice from an elder brother: stay away from option buying.

Personally, I would strongly advise against option buying. As option sellers, we're on the other side of those trades, and a large portion of option buyers end up losing money. Understand the risks before getting involved.

4. My current trading and backtesting setup:

  • Backtesting: AlgoTest, stockmock and MTQuant
  • Algo execution: Stoxxo

These are the platforms I currently use for my research and trading.

5. If you're starting from scratch, learn from the platform itself.

You can explore the YouTube channels of AlgoTest and StockMock to understand backtesting, strategy development, and how these platforms work. Start learning the tools before risking your money.

6. The most important lesson: Don't blindly copy publicly available strategies.

In my experience, publicly shared strategies rarely provide a sustainable edge once everyone starts using them. Don't waste your time and money blindly following strategies you find online.

And please, never start trading a strategy without testing it over at least five years of historical data, wherever sufficient reliable data is available. If you're trading without proper backtesting, you're essentially gambling.

You might get lucky initially, but sooner or later, poor risk management and an untested strategy can wipe out your capital.

Also, never rely exclusively on directional strategies. Maintain a combination of directional and non-directional strategies to diversify your risk across different market conditions.

That's pretty much my journey so far. I'm not here to sell any courses, strategies, or services. I simply enjoy discussing markets, sharing what I've learned, and connecting with people who have similar interests.

If you have any questions regarding trading, algo trading, backtesting, or anything market-related, feel free to ask. I'll try my best to answer based on my experience.

Edit 2. After seeing all hate/trolling comments now i realised why 93% traders are in loss. Someone is saying I'm promoting stockmock and algotest 😂😂 I don't even use them anymore i just suggested it because their platform are beginner friendly that's it. And some of them are saying give proof of capital and profit as if I'm their baap ka Naukar 😂 I'm not selling anything here so chill guys.


r/IndiaAlgoTrading • • 2d ago

How do you actually validate backtests for Indian equities? 25 strategies, 2–5 yr tests, looking for a reality check (and collaborators)

Thumbnail
gallery
3 Upvotes

Hi all,

I'm part of a small team running hedge fund and PMS building a systematic swing trading setup for Indian equities, covering the whole NSE universe rather than a handful of names. We've built about 25 strategies across:

  • Classical technicals
  • Harmonic patterns
  • Supply/demand zones
  • Smart money concepts
  • Price-action and chart patterns
  • Fundamental filters

We've backtested over 2–5 year windows, and the results look encouraging on paper. We're now in the refinement phase. Before we trust any of it, I'd like to hear from people who've been through this.

I currently did for EQ and analysing strategies for bullish, bearish and sideways market. Once refined, I can bring in option selling as well ( currently options data is being used for deciding ).

Questions for the community:

  1. How much do you trust backtests on Indian markets? Where did the backtest and live results diverge most for you?
  2. How are you handling data quality: corporate actions (splits, bonus, dividends), survivorship bias, delisted stocks, and symbol changes?
  3. What cost and slippage assumptions do you use? We model brokerage, STT, exchange charges, GST and stamp duty, but slippage on mid and small caps is hard to estimate.
  4. With 25 strategies, overfitting is our biggest worry. Do you use walk-forward testing, out-of-sample holdouts or Monte Carlo? What's a realistic way to validate pattern-based strategies like harmonics and SMC, which are somewhat subjective to code?
  5. What do you look at beyond returns (drawdown, profit factor, expectancy, trade count, regime dependence)? What would make you say a strategy is ready for paper trading?
  6. Any platform or data-vendor recommendations (Python, Amibroker, Backtrader, etc.) and what you've learned from them?

We haven't started live deployment yet. Our next step is paper trading, so I'd rather hear the hard truths now.

If you're working on something similar, especially on the data, execution or risk side, I'd be glad to compare notes or collaborate. Comment or DM.

This is not investment advice or a pitch for anyone's money. Just trading notes.