Agent Performing Autonomous Stock Trading under Good and Bad Situations
- URL: http://arxiv.org/abs/2306.03985v1
- Date: Tue, 6 Jun 2023 19:44:37 GMT
- Title: Agent Performing Autonomous Stock Trading under Good and Bad Situations
- Authors: Yunfei Luo and Zhangqi Duan
- Abstract summary: We have developed a pipeline that simulates the stock trading environment.
We have trained an agent to automate the stock trading process with deep reinforcement learning methods.
We evaluate our platform during relatively good (before 2021) and bad ( 2021 - 2022) situations.
- Score: 0.0
- License: http://creativecommons.org/licenses/by-nc-nd/4.0/
- Abstract: Stock trading is one of the popular ways for financial management. However,
the market and the environment of economy is unstable and usually not
predictable. Furthermore, engaging in stock trading requires time and effort to
analyze, create strategies, and make decisions. It would be convenient and
effective if an agent could assist or even do the task of analyzing and
modeling the past data and then generate a strategy for autonomous trading.
Recently, reinforcement learning has been shown to be robust in various tasks
that involve achieving a goal with a decision making strategy based on
time-series data. In this project, we have developed a pipeline that simulates
the stock trading environment and have trained an agent to automate the stock
trading process with deep reinforcement learning methods, including deep
Q-learning, deep SARSA, and the policy gradient method. We evaluate our
platform during relatively good (before 2021) and bad (2021 - 2022) situations.
The stocks we've evaluated on including Google, Apple, Tesla, Meta, Microsoft,
and IBM. These stocks are among the popular ones, and the changes in trends are
representative in terms of having good and bad situations. We showed that
before 2021, the three reinforcement methods we have tried always provide
promising profit returns with total annual rates around $70\%$ to $90\%$, while
maintain a positive profit return after 2021 with total annual rates around 2%
to 7%.
Related papers
- When AI Meets Finance (StockAgent): Large Language Model-based Stock Trading in Simulated Real-world Environments [55.19252983108372]
We have developed a multi-agent AI system called StockAgent, driven by LLMs.
The StockAgent allows users to evaluate the impact of different external factors on investor trading.
It avoids the test set leakage issue present in existing trading simulation systems based on AI Agents.
arXiv Detail & Related papers (2024-07-15T06:49:30Z) - Beyond Trend Following: Deep Learning for Market Trend Prediction [49.89480853499917]
We advocate for the use of Artificial Intelligence and Machine Learning techniques to predict future market trends.
These predictions, when done properly, can improve the performance of asset managers by increasing returns and reducing drawdowns.
arXiv Detail & Related papers (2024-06-10T11:42:30Z) - Data Cross-Segmentation for Improved Generalization in Reinforcement
Learning Based Algorithmic Trading [5.75899596101548]
We propose a Reinforcement Learning (RL) algorithm that trades based on signals from a learned predictive model.
We test our algorithm on 20+ years of equity data from Bursa Malaysia.
arXiv Detail & Related papers (2023-07-18T16:00:02Z) - Using a Deep Learning Model to Simulate Human Stock Trader's Methods of Chart Analysis [0.276240219662896]
The proposed scheme looks at stock prices of the previous 600 days and predicts whether the stock price will rise or fall 10% or 20% within the next D days.
Using the proposed method for the Korea market it gave return of 75.36% having Sharpe ratio of 1.57, which far exceeds the market return by 36% and 0.61, respectively.
On the US market it gives total return of 27.17% with Sharpe ratio of 0.61, which outperforms other benchmarks such as NASDAQ, S&P500, DOW JONES index by 17.69% and 0.27, respectively.
arXiv Detail & Related papers (2023-04-28T14:27:18Z) - Dynamic Datasets and Market Environments for Financial Reinforcement
Learning [68.11692837240756]
FinRL-Meta is a library that processes dynamic datasets from real-world markets into gym-style market environments.
We provide examples and reproduce popular research papers as stepping stones for users to design new trading strategies.
We also deploy the library on cloud platforms so that users can visualize their own results and assess the relative performance.
arXiv Detail & Related papers (2023-04-25T22:17:31Z) - A Stock Trading System for a Medium Volatile Asset using Multi Layer
Perceptron [0.6882042556551609]
We propose a stock trading system having as main core the feed-forward deep neural networks (DNN) to predict the price for the next 30 days of open market.
The results were promising bringing a total profit factor of 3.2% in just one month from a very modest budget of $100.
arXiv Detail & Related papers (2022-01-17T16:08:40Z) - Exploration of Algorithmic Trading Strategies for the Bitcoin Market [1.933681537640272]
This work brings an algorithmic trading approach to the Bitcoin market to exploit the variability in its price on a day-to-day basis.
As an empirical test of our models, we evaluate them using a real-world trading strategy on completely unseen data collected throughout the first quarter of 2021.
Using only a binary predictor, our models showed an average profit of 86%, matching the results of the more traditional buy-and-hold strategy.
arXiv Detail & Related papers (2021-10-28T08:13:34Z) - Stock Price Prediction Under Anomalous Circumstances [81.37657557441649]
This paper aims to capture the movement pattern of stock prices under anomalous circumstances.
We train ARIMA and LSTM models at the single-stock level, industry level, and general market level.
Based on 100 companies' stock prices in the period of 2016 to 2020, the models achieve an average prediction accuracy of 98%.
arXiv Detail & Related papers (2021-09-14T18:50:38Z) - Extreme Volatility Prediction in Stock Market: When GameStop meets Long
Short-Term Memory Networks [7.23389716633927]
Beginning of 2021 saw a surge in volatility for certain stocks such as GameStop company stock (Ticker GME under NYSE)
GameStop stock increased around 10 fold from its decade-long average to its peak of $485.
In this paper, we hypothesize a buy-and-hold strategy can be outperformed in the presence of extreme volatility by predicting and trading consolidation breakouts.
arXiv Detail & Related papers (2021-03-01T16:44:32Z) - Universal Trading for Order Execution with Oracle Policy Distillation [99.57416828489568]
We propose a novel universal trading policy optimization framework to bridge the gap between the noisy yet imperfect market states and the optimal action sequences for order execution.
We show that our framework can better guide the learning of the common policy towards practically optimal execution by an oracle teacher with perfect information.
arXiv Detail & Related papers (2021-01-28T05:52:18Z) - A Deep Reinforcement Learning Framework for Continuous Intraday Market
Bidding [69.37299910149981]
A key component for the successful renewable energy sources integration is the usage of energy storage.
We propose a novel modelling framework for the strategic participation of energy storage in the European continuous intraday market.
An distributed version of the fitted Q algorithm is chosen for solving this problem due to its sample efficiency.
Results indicate that the agent converges to a policy that achieves in average higher total revenues than the benchmark strategy.
arXiv Detail & Related papers (2020-04-13T13:50:13Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.