Related Experiment Video
Updated: Oct 3, 2025

06:19
Integration of Animal Behavioral Assessment and Convolutional Neural Network to Study Wasabi-Alcohol Taste-Smell Interaction
Published on: August 16, 2024
577
Deep reinforcement learning stock market trading, utilizing a CNN with candlestick images
Andrew Brim1, Nicholas S Flann1
1Department of Computer Science, Utah State University, Logan, Utah, United States of America.
Plos One
|February 18, 2022
Summary
This study uses a Double Deep Q-Network (DDQN) with Convolutional Neural Networks (CNNs) to achieve higher stock market returns than the S&P 500. Feature map visualizations reveal how the AI focuses on specific candlestick patterns for trading decisions.
Area of Science:
- Artificial Intelligence
- Computational Finance
- Machine Learning
Background:
- Algorithmic trading utilizes neural networks, but their decision-making processes remain opaque.
- The "black box" nature of neural networks hinders trust in their application to financial trading.
- Feature map visualization offers a method to interpret neural network outputs.
Purpose of the Study:
- To investigate the trading behavior of a neural network using feature map visualizations.
- To assess the performance of a Double Deep Q-Network (DDQN) against the S&P 500 Index.
- To understand how Convolutional Neural Networks (CNNs) interpret candlestick chart data.
Main Methods:
- A DDQN model was developed incorporating a CNN for analyzing candlestick chart images.
- The model was trained and tested on the 30 largest stocks within the S&P 500.
- Feature map visualizations were generated post-training to analyze the CNN's focus within input images.
Main Results:
- The DDQN model demonstrated superior returns compared to the S&P 500 Index from January 2, 2020, to June 30, 2020.
- Feature map analysis indicated the CNN dynamically shifted attention to more recent candlesticks.
- This attention shift was observed in response to market events, such as the 2020 coronavirus crash.
Conclusions:
- The DDQN model, enhanced by CNNs, offers a potentially profitable algorithmic trading strategy.
- Feature map visualizations provide valuable insights into the decision-making process of trading neural networks.
- The system's adaptability to market volatility suggests its robustness in dynamic financial environments.
Related Concept Videos
Observational Learning
360
Albert Bandura's observational learning, also known as imitation or modeling, occurs when a person observes and imitates another's behavior. It is a quicker process than operant conditioning. A well-known example is the Bobo doll study, where children who saw an adult acting aggressively towards the doll were more likely to act aggressively when left alone, compared to those who observed a nonaggressive adult. Many psychologists view observational learning as a form of latent learning...
360
Reinforcement
410
Positive and negative reinforcement are key concepts in operant conditioning, a learning process where the consequences of a behavior affect the likelihood of that behavior being repeated.
Positive reinforcement occurs when a behavior is followed by the presentation of a rewarding stimulus, increasing the frequency of that behavior. For example:
Positive reinforcement occurs when a behavior is followed by the presentation of a rewarding stimulus, increasing the frequency of that behavior. For example:
410

