Goto

Collaborating Authors

 market sentiment


FinRLlama: A Solution to LLM-Engineered Signals Challenge at FinRL Contest 2024

Grover, Arnav

arXiv.org Artificial Intelligence

In response to Task II of the FinRL Challenge at ACM ICAIF 2024, this study proposes a novel prompt framework for fine-tuning large language models (LLM) with Reinforcement Learning from Market Feedback (RLMF). Our framework incorporates market-specific features and short-term price dynamics to generate more precise trading signals. Traditional LLMs, while competent in sentiment analysis, lack contextual alignment for financial market applications. To bridge this gap, we fine-tune the LLaMA-3.2-3B-Instruct model using a custom RLMF prompt design that integrates historical market data and reward-based feedback. Our evaluation shows that this RLMF-tuned framework outperforms baseline methods in signal consistency and achieving tighter trading outcomes; awarded as winner of Task II. You can find the code for this project on GitHub.


Integrative Analysis of Financial Market Sentiment Using CNN and GRU for Risk Prediction and Alert Systems

Wu, You, Sun, Mengfang, Zheng, Hongye, Hu, Jinxin, Liang, Yingbin, Lin, Zhenghao

arXiv.org Artificial Intelligence

This document presents an in-depth examination of stock market sentiment through the integration of Convolutional Neural Networks (CNN) and Gated Recurrent Units (GRU), enabling precise risk alerts. The robust feature extraction capability of CNN is utilized to preprocess and analyze extensive network text data, identifying local features and patterns. The extracted feature sequences are then input into the GRU model to understand the progression of emotional states over time and their potential impact on future market sentiment and risk. This approach addresses the order dependence and long-term dependencies inherent in time series data, resulting in a detailed analysis of stock market sentiment and effective early warnings of future risks.


Innovative Sentiment Analysis and Prediction of Stock Price Using FinBERT, GPT-4 and Logistic Regression: A Data-Driven Approach

Shobayo, Olamilekan, Adeyemi-Longe, Sidikat, Popoola, Olusogo, Ogunleye, Bayode

arXiv.org Artificial Intelligence

This study explores the comparative performance of cutting-edge AI models, i.e., Finaance Bidirectional Encoder representations from Transsformers (FinBERT), Generatice Pre-trained Transformer GPT-4, and Logistic Regression, for sentiment analysis and stock index prediction using financial news and the NGX All-Share Index data label. By leveraging advanced natural language processing models like GPT-4 and FinBERT, alongside a traditional machine learning model, Logistic Regression, we aim to classify market sentiment, generate sentiment scores, and predict market price movements. This research highlights global AI advancements in stock markets, showcasing how state-of-the-art language models can contribute to understanding complex financial data. The models were assessed using metrics such as accuracy, precision, recall, F1 score, and ROC AUC. Results indicate that Logistic Regression outperformed the more computationally intensive FinBERT and predefined approach of versatile GPT-4, with an accuracy of 81.83% and a ROC AUC of 89.76%. The GPT-4 predefined approach exhibited a lower accuracy of 54.19% but demonstrated strong potential in handling complex data. FinBERT, while offering more sophisticated analysis, was resource-demanding and yielded a moderate performance. Hyperparameter optimization using Optuna and cross-validation techniques ensured the robustness of the models. This study highlights the strengths and limitations of the practical applications of AI approaches in stock market prediction and presents Logistic Regression as the most efficient model for this task, with FinBERT and GPT-4 representing emerging tools with potential for future exploration and innovation in AI-driven financial analytics


EUR/USD Exchange Rate Forecasting incorporating Text Mining Based on Pre-trained Language Models and Deep Learning Methods

Shi, Xiangyu, Ding, Hongcheng, Faroog, Salaar, Dewi, Deshinta Arrova, Abdullah, Shamsul Nahar, Malek, Bahiah A

arXiv.org Artificial Intelligence

This study introduces a novel approach for EUR/USD exchange rate forecasting that integrates deep learning, textual analysis, and particle swarm optimization (PSO). By incorporating online news and analysis texts as qualitative data, the proposed PSO-LSTM model demonstrates superior performance compared to traditional econometric and machine learning models. The research employs advanced text mining techniques, including sentiment analysis using the RoBERTa-Large model and topic modeling with LDA. Empirical findings underscore the significant advantage of incorporating textual data, with the PSO-LSTM model outperforming benchmark models such as SVM, SVR, ARIMA, and GARCH. Ablation experiments reveal the contribution of each textual data category to the overall forecasting performance. The study highlights the transformative potential of artificial intelligence in finance and paves the way for future research in real-time forecasting and the integration of alternative data sources.


CryptoGPT: a 7B model rivaling GPT-4 in the task of analyzing and classifying real-time financial news

Zhang, Ying, Guillaume, Matthieu Petit, Krauth, Aurélien, Labidi, Manel

arXiv.org Artificial Intelligence

CryptoGPT: a 7B model competing with GPT-4 in a specific task -- The Impact of Automatic Annotation and Strategic Fine-Tuning via QLoRAIn this article, we present a method aimed at refining a dedicated LLM of reasonable quality with limited resources in an industrial setting via CryptoGPT. It is an LLM designed for financial news analysis for the cryptocurrency market in real-time. This project was launched in an industrial context. This model allows not only for the classification of financial information but also for providing comprehensive analysis. We refined different LLMs of the same size such as Mistral-7B and LLama-7B using semi-automatic annotation and compared them with various LLMs such as GPT-3.5 and GPT-4. Our goal is to find a balance among several needs: 1. Protecting data (by avoiding their transfer to external servers), 2. Limiting annotation cost and time, 3. Controlling the model's size (to manage deployment costs), and 4. Maintaining better analysis quality.


Degree of Irrationality: Sentiment and Implied Volatility Surface

Weng, Jiahao, Xie, Yan

arXiv.org Artificial Intelligence

As such, indicators in the options market, such as options prices, implied volatility, and the Greeks, are seen as "smarter" compared to indicators in the securities market. Numerous studies have confirmed this perspective and have explored the discovery function of options implied volatility on securities prices. For instance, Ni et al. (2020) found that the degree of skewness in implied volatility smiles has a significant predictive ability for stock market returns, while Han and Li (2021) discovered that the difference between call and put implied volatility has significant predictive power for stock market returns. Additionally, there is more research on the predictive ability of options implied volatility on realized volatility, dating back to Latane and Rendleman (1976-05) reverse use of the BS formula to derive the implied standard deviation of options and constructing a weighted implied standard deviation (WISD) using delta-neutral weighting, which was found to predict actual volatility significantly better than methods based on historical volatility. In recent years, numerous studies have incorporated the VIX index and the HAR method proposed by Corsi (2009), achieving notable results in predicting stock market volatility Byun and Kim (2013); Zhang (2020); Wan and Tian (2023). Preprint submitted to Elsarticle May 18, 2024 However, indicators in the options market should not be treated as the gold standard.


Emoji Driven Crypto Assets Market Reactions

Zuo, Xiaorui, Chen, Yao-Tsung, Härdle, Wolfgang Karl

arXiv.org Artificial Intelligence

In the burgeoning realm of cryptocurrency, social media platforms like Twitter have become pivotal in influencing market trends and investor sentiments. In our study, we leverage GPT-4 and a fine-tuned transformer-based BERT model for a multimodal sentiment analysis, focusing on the impact of emoji sentiment on cryptocurrency markets. By translating emojis into quantifiable sentiment data, we correlate these insights with key market indicators like BTC Price and the VCRIX index. This approach may be fed into the development of trading strategies aimed at utilizing social media elements to identify and forecast market trends. Crucially, our findings suggest that strategies based on emoji sentiment can facilitate the avoidance of significant market downturns and contribute to the stabilization of returns. This research underscores the practical benefits of integrating advanced AI-driven analyses into financial strategies, offering a nuanced perspective on the interplay between digital communication and market dynamics in an academic context.


Learning the Market: Sentiment-Based Ensemble Trading Agents

Ye, Andrew, Xu, James, Wang, Yi, Yu, Yifan, Yan, Daniel, Chen, Ryan, Dong, Bosheng, Chaudhary, Vipin, Xu, Shuai

arXiv.org Artificial Intelligence

We propose the integration of sentiment analysis and deep-reinforcement learning ensemble algorithms for stock trading, and design a strategy capable of dynamically altering its employed agent given concurrent market sentiment. In particular, we create a simple-yet-effective method for extracting news sentiment and combine this with general improvements upon existing works, resulting in automated trading agents that effectively consider both qualitative market factors and quantitative stock data. We show that our approach results in a strategy that is profitable, robust, and risk-minimal -- outperforming the traditional ensemble strategy as well as single agent algorithms and market metrics. Our findings determine that the conventional practice of switching ensemble agents every fixed-number of months is sub-optimal, and that a dynamic sentiment-based framework greatly unlocks additional performance within these agents. Furthermore, as we have designed our algorithm with simplicity and efficiency in mind, we hypothesize that the transition of our method from historical evaluation towards real-time trading with live data should be relatively simple.


Data-driven Hedging of Stock Index Options via Deep Learning

Chen, Jie, Li, Lingfei

arXiv.org Machine Learning

Options hedging is an important problem in financial markets. The prevailing approach to hedging first assumes a parametric stochastic model for the dynamics of the underlying asset. The model is then calibrated to observed option prices from the market, based on which various sensitivities are computed and used to hedge the risk of options. Popular choices include local volatility models ([5]), stochastic volatility models ([15], [12], [8]), jump-diffusions and purejump processes ([4], [18], [20]). Despite the prevalence of the model-based approach, it is well understood that model risk can affect the hedging result significantly. Recently, a data-driven approach that doesn't rely on any stochastic model for the underlying asset is proposed.


Data Science in Crypto

#artificialintelligence

Under the hood of every cryptocurrency protocol, we will always find that Blockchain Technology is the engine that allows it to keep running. If we trace back the technologies that made its application possible, we will find that the science behind it has been around for decades, and only just recently became ubiquitous. Gradual changes over the last couple of decades contributed to the recent uptake of cryptocurrencies. More and more companies are now able to collect increasingly larger amounts of data. All that data was just lying there, like gasoline waiting for the spark that would transform it into valuable, usable information with real-world applications.