Skip to content
Quantix

Quantix

Algo trading bot

Created on 12th October 2025

•

Quantix

Quantix

Algo trading bot

The problem Quantix solves

Challenges Solved:

Accessibility: Makes institutional-grade AI trading tools available to retail investors

Time Efficiency: Reduces manual analysis from hours to 10-15 seconds with automated multi-factor evaluation

Decision Paralysis: Provides confidence-scored recommendations combining LSTM, technical indicators, and sentiment analysis

Portfolio Complexity: Automates optimal asset allocation across multiple stocks based on risk and expected returns

Strategy Validation: Offers historical backtesting to verify strategy effectiveness before real capital deployment

Challenges we ran into

  1. Real-Time Performance Optimization
    Initially, stock analysis took 40+ seconds due to sequential API calls and synchronous ML inference. I optimized by implementing async data fetching, caching frequent requests, reducing LSTM lookback from 100 to 60 timesteps, and using multi-threading for technical indicator calculations, ultimately achieving sub-15-second analysis.

2 Backtesting Accuracy & Speed
Initial backtesting implementation processed every data point, taking 20+ minutes and producing unrealistic results. I introduced smart sampling (every 5th point), adjusted confidence thresholds from 50% to 40% for more trades, fixed buy-and-hold calculations to use proper indexing, and implemented proper trade pairing for accurate win-rate calculations.

  1. Portfolio Optimization Algorithm
    Designing a fair allocation strategy required balancing multiple factors. I developed a weighted scoring system (40% confidence, 40% expected return, 20% risk-inverse) with diversification constraints (max 40% per stock, min 5% threshold), handling edge cases like no BUY signals through fallback to highest-confidence stocks.

  2. Frontend State Management & CSS Conflicts
    Managing complex state across multiple components (loading, errors, results) while maintaining clean UI proved challenging. I resolved CSS specificity issues by creating isolated component stylesheets, implemented proper error boundaries, and used React hooks effectively for async operations and background job polling.

5 Model Training & Overfitting
Early LSTM models showed 95%+ training accuracy but failed on real data due to overfitting. I added dropout layers (0.2), reduced model complexity from 3 to 2 LSTM layers, implemented early stopping with patience=10, and used validation splits to ensure generalization—achieving realistic 60-70% confidence scores.

These challenges taught me production-level debugging, optimization techniques, and the importance of robust error handling in real-world applications.

Tracks Applied (3)

Open Track - Development

Quantix demonstrates Development Track excellence through its production-ready full-stack architecture combining React f...Read More

Freshman Track

Because we are freshers

Open Track - Design

Quantix showcases exceptional UI/UX design through its modern dark-themed interface with neon gradient accents, intuitiv...Read More

Discussion

Builders also viewed

See more projects on Devfolio