Financial Stock Price Forecasting API

Position: Backend Engineer, Software Engineer, Project Manager
Type: Team project (in progress)
Duration: September 2025 - Present
Stack: Java, Python, Spring Boot, GitHub Actions, Postman
Skills: API design, systems architecture, CI/CD, Machine Learning, Natural Language Processing

GitHub Repository

Summary

Microservice architecture StockDataService, NewsDataService, ForecastDataService with CompositeController
Multi-model pipeline Combines quantitative (price) and qualitative (sentiment) models for forecasting
Cache & freshness JSON cache with atomic reads/writes and ?force=true override
RESTful API Endpoints for daily prices, sentiment analysis, and predictions with JSON responses

Objective

Our Financial Stock Price Forecasting API is a Java-based REST API that forecasts short-term stock movements by combining quantitative (historical prices) and qualitative (market sentiment) signals. The system ingests market data from Alpha Vantage and news sentiment from Hugging Face transformers, producing confidence-adjusted predictions via three model pipelines—stock, sentiment, and combined fusion. We will deploy API endpoints for X-day price, X-day sentiment, and next-day combined prediction.

Why This API?

While components like sentiment APIs and stock price feeds already exist, a single developer-facing platform that merges price data and sentiment analytics into one system and produces predictive outputs rather than just raw scores is uncommon. Our Financial Stock Price Forecasting API fills that gap by unifying both signals into a reproducible forecasting API with caching, standardized schemas, and modular endpoints for analytics and scalability.

Methods

Key Features

API Endpoints

Next Steps