✓ Indexed in BIBNEX
Info:eu Repo/semantics/article
Stock former: A Transformer-Based Profit-Driven Model for Financial Time-Series Forecasting in the Indian Stock Market
Abstract
This research presents Stock former, a Transformer-based deep learning model for financial time-series forecasting in the Indian stock market. Using hourly data from the top five NIFTY Bank stocks such as HDFC Bank, ICICI Bank, SBI, Kodak Bank, and Axis Bank, the model leverages the self-attention mechanism to capture temporal and inter-stock dependencies [3]. A Granger Causality test is employed to identify the most influential stock before training. The architecture integrates 1D-CNN feature extraction, Transformer encoding, and a profit-oriented Stock Tan Loss function to directly optimize trading performance. Results indicate improved predictive accuracy and robust trading signals, offering a scalable and interpretable framework for AI-driven financial forecasting.
Keywords
Stock former
Transformer
Financial Time-Series Forecasting
NIFTY Bank
Deep Learning
Granger Causality
Profit Optimization
AI in Finance
Self-Attention
Algorithmic Trading
Cite This Article
(2026).
Stock former: A Transformer-Based Profit-Driven Model for Financial Time-Series Forecasting in the Indian Stock Market.
Journal of Recent Innovations in Computer Science and Technology
, 3(3)
.
https://doi.org/10.70454/jricst.2026.30301
“Stock former: A Transformer-Based Profit-Driven Model for Financial Time-Series Forecasting in the Indian Stock Market.”
Journal of Recent Innovations in Computer Science and Technology,
vol. 3,
no. 3,
2026
.
https://doi.org/10.70454/jricst.2026.30301
“Stock former: A Transformer-Based Profit-Driven Model for Financial Time-Series Forecasting in the Indian Stock Market.”
Journal of Recent Innovations in Computer Science and Technology
3
, no. 3
(2026)
.
https://doi.org/10.70454/jricst.2026.30301
(2026)
‘Stock former: A Transformer-Based Profit-Driven Model for Financial Time-Series Forecasting in the Indian Stock Market’,
Journal of Recent Innovations in Computer Science and Technology
, 3
(3)
.
Available at:
https://doi.org/10.70454/jricst.2026.30301
Stock former: A Transformer-Based Profit-Driven Model for Financial Time-Series Forecasting in the Indian Stock Market.
Journal of Recent Innovations in Computer Science and Technology.
2026
;3
(3)
.
doi:
10.70454/jricst.2026.30301