Using neural networks with jumps in stock returns Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsForeign exchange market forecasting with neural networksNeural networks with non-negative weightsUsing Neural Networks To Predict SetsFeature engineering while using neural networksModel building with neural networksNeural Networks with out normalizationMulticlass classification with Neural NetworksUsing neural networks to solve polynomialsApproximation of function with neural networksCombining neural networks with different variables
What's the meaning of "fortified infraction restraint"?
Using et al. for a last / senior author rather than for a first author
Old style "caution" boxes
Would "destroying" Wurmcoil Engine prevent its tokens from being created?
Is it cost-effective to upgrade an old-ish Giant Escape R3 commuter bike with entry-level branded parts (wheels, drivetrain)?
What does the "x" in "x86" represent?
For a new assistant professor in CS, how to build/manage a publication pipeline
Is there such thing as an Availability Group failover trigger?
Delete nth line from bottom
How do pianists reach extremely loud dynamics?
How would a mousetrap for use in space work?
How to write this math term? with cases it isn't working
Why aren't air breathing engines used as small first stages?
Is grep documentation wrong?
Can an alien society believe that their star system is the universe?
First console to have temporary backward compatibility
Does classifying an integer as a discrete log require it be part of a multiplicative group?
Do wooden building fires get hotter than 600°C?
Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?
How to convince students of the implication truth values?
Is CEO the profession with the most psychopaths?
What font is "z" in "z-score"?
Why didn't Eitri join the fight?
Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?
Using neural networks with jumps in stock returns
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsForeign exchange market forecasting with neural networksNeural networks with non-negative weightsUsing Neural Networks To Predict SetsFeature engineering while using neural networksModel building with neural networksNeural Networks with out normalizationMulticlass classification with Neural NetworksUsing neural networks to solve polynomialsApproximation of function with neural networksCombining neural networks with different variables
$begingroup$
I am using an LSTM network to analyse stock return patterns. A problem is that, there is usually huge jumps in stock returns but if you are only using the trading data, the jumps would seem pretty random. (For example, the jumps from SEC ruling against or in favor of a company.)
Thus, if the neural network learns too much from the jumps, the results would not generalize well. One might cap the returns or use auto encoders. What are some other methods to regularize such jumps and limit the changes the jumps cause to the network?
machine-learning neural-network
$endgroup$
bumped to the homepage by Community♦ 26 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
$begingroup$
I am using an LSTM network to analyse stock return patterns. A problem is that, there is usually huge jumps in stock returns but if you are only using the trading data, the jumps would seem pretty random. (For example, the jumps from SEC ruling against or in favor of a company.)
Thus, if the neural network learns too much from the jumps, the results would not generalize well. One might cap the returns or use auto encoders. What are some other methods to regularize such jumps and limit the changes the jumps cause to the network?
machine-learning neural-network
$endgroup$
bumped to the homepage by Community♦ 26 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
$begingroup$
I am using an LSTM network to analyse stock return patterns. A problem is that, there is usually huge jumps in stock returns but if you are only using the trading data, the jumps would seem pretty random. (For example, the jumps from SEC ruling against or in favor of a company.)
Thus, if the neural network learns too much from the jumps, the results would not generalize well. One might cap the returns or use auto encoders. What are some other methods to regularize such jumps and limit the changes the jumps cause to the network?
machine-learning neural-network
$endgroup$
I am using an LSTM network to analyse stock return patterns. A problem is that, there is usually huge jumps in stock returns but if you are only using the trading data, the jumps would seem pretty random. (For example, the jumps from SEC ruling against or in favor of a company.)
Thus, if the neural network learns too much from the jumps, the results would not generalize well. One might cap the returns or use auto encoders. What are some other methods to regularize such jumps and limit the changes the jumps cause to the network?
machine-learning neural-network
machine-learning neural-network
edited Oct 17 '18 at 17:12
toga
asked Oct 17 '18 at 17:07
togatoga
112
112
bumped to the homepage by Community♦ 26 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 26 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
In standard models that try to characterise jumps, such as the Jump Diffusion model from Mertons (a short introduction), the model consists of two main parts:
- Brownian motion; a random walk to account for the random path, perhaps with some drift - when the values head upwards or downwards in a consisten manner. And
- An additive Possion process, which with some probability add a jump in a time-step, with a given probability.
Drawing from this approach, you could also consider using two models that work independently (or separately) to model the overall market and trend, along with a model that introduces jumps at certain timesteps and itnervals.
You could try using different input data for the second model, such as signals taken from text, such as news feeds or newpapers that discuss current market dynamics/politics, possible decisions from SEC and the like. The first (stable) part could be modelled by your current neural network.
This is just a high level idea, and I haven't actually seen any research that already tried it, so unfortunately cannot provide any links to literature.
$endgroup$
$begingroup$
Thanks for the reply. The problem about the tradition research is that they can not predict anything. The jumps are random like you said. In a sense tho almost nobody could predict the jumps. Not long ago TSLA went down 20% during the after hours when SEC sued Elon but then immediately went back up the second day when Elon and SEC agreed to settle. The neural network should not learn too much from the jump (a 15% - 20% of daily swing) but in a vanilla neural network it definitely would put a lot of weight on that. Maybe I will use wavelet transform etc.
$endgroup$
– toga
Oct 18 '18 at 9:55
$begingroup$
I understand, and that is exactly why I suggested two models. Obviously the model predicting/filtering jumps will need input from external sources (such as embeddings from news articles and twitter), not just prices from previous days, as the news is not factored into the actual market price before it is too late. The model for the general drift of the price path could take in daily prices along with some smoothed variant to make it a little more robust to spikes. You should really be looking at included realized volatility in such a model. Prices alone (even logs of returns) will not suffice.
$endgroup$
– n1k31t4
Oct 18 '18 at 9:59
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f39833%2fusing-neural-networks-with-jumps-in-stock-returns%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
In standard models that try to characterise jumps, such as the Jump Diffusion model from Mertons (a short introduction), the model consists of two main parts:
- Brownian motion; a random walk to account for the random path, perhaps with some drift - when the values head upwards or downwards in a consisten manner. And
- An additive Possion process, which with some probability add a jump in a time-step, with a given probability.
Drawing from this approach, you could also consider using two models that work independently (or separately) to model the overall market and trend, along with a model that introduces jumps at certain timesteps and itnervals.
You could try using different input data for the second model, such as signals taken from text, such as news feeds or newpapers that discuss current market dynamics/politics, possible decisions from SEC and the like. The first (stable) part could be modelled by your current neural network.
This is just a high level idea, and I haven't actually seen any research that already tried it, so unfortunately cannot provide any links to literature.
$endgroup$
$begingroup$
Thanks for the reply. The problem about the tradition research is that they can not predict anything. The jumps are random like you said. In a sense tho almost nobody could predict the jumps. Not long ago TSLA went down 20% during the after hours when SEC sued Elon but then immediately went back up the second day when Elon and SEC agreed to settle. The neural network should not learn too much from the jump (a 15% - 20% of daily swing) but in a vanilla neural network it definitely would put a lot of weight on that. Maybe I will use wavelet transform etc.
$endgroup$
– toga
Oct 18 '18 at 9:55
$begingroup$
I understand, and that is exactly why I suggested two models. Obviously the model predicting/filtering jumps will need input from external sources (such as embeddings from news articles and twitter), not just prices from previous days, as the news is not factored into the actual market price before it is too late. The model for the general drift of the price path could take in daily prices along with some smoothed variant to make it a little more robust to spikes. You should really be looking at included realized volatility in such a model. Prices alone (even logs of returns) will not suffice.
$endgroup$
– n1k31t4
Oct 18 '18 at 9:59
add a comment |
$begingroup$
In standard models that try to characterise jumps, such as the Jump Diffusion model from Mertons (a short introduction), the model consists of two main parts:
- Brownian motion; a random walk to account for the random path, perhaps with some drift - when the values head upwards or downwards in a consisten manner. And
- An additive Possion process, which with some probability add a jump in a time-step, with a given probability.
Drawing from this approach, you could also consider using two models that work independently (or separately) to model the overall market and trend, along with a model that introduces jumps at certain timesteps and itnervals.
You could try using different input data for the second model, such as signals taken from text, such as news feeds or newpapers that discuss current market dynamics/politics, possible decisions from SEC and the like. The first (stable) part could be modelled by your current neural network.
This is just a high level idea, and I haven't actually seen any research that already tried it, so unfortunately cannot provide any links to literature.
$endgroup$
$begingroup$
Thanks for the reply. The problem about the tradition research is that they can not predict anything. The jumps are random like you said. In a sense tho almost nobody could predict the jumps. Not long ago TSLA went down 20% during the after hours when SEC sued Elon but then immediately went back up the second day when Elon and SEC agreed to settle. The neural network should not learn too much from the jump (a 15% - 20% of daily swing) but in a vanilla neural network it definitely would put a lot of weight on that. Maybe I will use wavelet transform etc.
$endgroup$
– toga
Oct 18 '18 at 9:55
$begingroup$
I understand, and that is exactly why I suggested two models. Obviously the model predicting/filtering jumps will need input from external sources (such as embeddings from news articles and twitter), not just prices from previous days, as the news is not factored into the actual market price before it is too late. The model for the general drift of the price path could take in daily prices along with some smoothed variant to make it a little more robust to spikes. You should really be looking at included realized volatility in such a model. Prices alone (even logs of returns) will not suffice.
$endgroup$
– n1k31t4
Oct 18 '18 at 9:59
add a comment |
$begingroup$
In standard models that try to characterise jumps, such as the Jump Diffusion model from Mertons (a short introduction), the model consists of two main parts:
- Brownian motion; a random walk to account for the random path, perhaps with some drift - when the values head upwards or downwards in a consisten manner. And
- An additive Possion process, which with some probability add a jump in a time-step, with a given probability.
Drawing from this approach, you could also consider using two models that work independently (or separately) to model the overall market and trend, along with a model that introduces jumps at certain timesteps and itnervals.
You could try using different input data for the second model, such as signals taken from text, such as news feeds or newpapers that discuss current market dynamics/politics, possible decisions from SEC and the like. The first (stable) part could be modelled by your current neural network.
This is just a high level idea, and I haven't actually seen any research that already tried it, so unfortunately cannot provide any links to literature.
$endgroup$
In standard models that try to characterise jumps, such as the Jump Diffusion model from Mertons (a short introduction), the model consists of two main parts:
- Brownian motion; a random walk to account for the random path, perhaps with some drift - when the values head upwards or downwards in a consisten manner. And
- An additive Possion process, which with some probability add a jump in a time-step, with a given probability.
Drawing from this approach, you could also consider using two models that work independently (or separately) to model the overall market and trend, along with a model that introduces jumps at certain timesteps and itnervals.
You could try using different input data for the second model, such as signals taken from text, such as news feeds or newpapers that discuss current market dynamics/politics, possible decisions from SEC and the like. The first (stable) part could be modelled by your current neural network.
This is just a high level idea, and I haven't actually seen any research that already tried it, so unfortunately cannot provide any links to literature.
answered Oct 18 '18 at 5:51
n1k31t4n1k31t4
6,5612421
6,5612421
$begingroup$
Thanks for the reply. The problem about the tradition research is that they can not predict anything. The jumps are random like you said. In a sense tho almost nobody could predict the jumps. Not long ago TSLA went down 20% during the after hours when SEC sued Elon but then immediately went back up the second day when Elon and SEC agreed to settle. The neural network should not learn too much from the jump (a 15% - 20% of daily swing) but in a vanilla neural network it definitely would put a lot of weight on that. Maybe I will use wavelet transform etc.
$endgroup$
– toga
Oct 18 '18 at 9:55
$begingroup$
I understand, and that is exactly why I suggested two models. Obviously the model predicting/filtering jumps will need input from external sources (such as embeddings from news articles and twitter), not just prices from previous days, as the news is not factored into the actual market price before it is too late. The model for the general drift of the price path could take in daily prices along with some smoothed variant to make it a little more robust to spikes. You should really be looking at included realized volatility in such a model. Prices alone (even logs of returns) will not suffice.
$endgroup$
– n1k31t4
Oct 18 '18 at 9:59
add a comment |
$begingroup$
Thanks for the reply. The problem about the tradition research is that they can not predict anything. The jumps are random like you said. In a sense tho almost nobody could predict the jumps. Not long ago TSLA went down 20% during the after hours when SEC sued Elon but then immediately went back up the second day when Elon and SEC agreed to settle. The neural network should not learn too much from the jump (a 15% - 20% of daily swing) but in a vanilla neural network it definitely would put a lot of weight on that. Maybe I will use wavelet transform etc.
$endgroup$
– toga
Oct 18 '18 at 9:55
$begingroup$
I understand, and that is exactly why I suggested two models. Obviously the model predicting/filtering jumps will need input from external sources (such as embeddings from news articles and twitter), not just prices from previous days, as the news is not factored into the actual market price before it is too late. The model for the general drift of the price path could take in daily prices along with some smoothed variant to make it a little more robust to spikes. You should really be looking at included realized volatility in such a model. Prices alone (even logs of returns) will not suffice.
$endgroup$
– n1k31t4
Oct 18 '18 at 9:59
$begingroup$
Thanks for the reply. The problem about the tradition research is that they can not predict anything. The jumps are random like you said. In a sense tho almost nobody could predict the jumps. Not long ago TSLA went down 20% during the after hours when SEC sued Elon but then immediately went back up the second day when Elon and SEC agreed to settle. The neural network should not learn too much from the jump (a 15% - 20% of daily swing) but in a vanilla neural network it definitely would put a lot of weight on that. Maybe I will use wavelet transform etc.
$endgroup$
– toga
Oct 18 '18 at 9:55
$begingroup$
Thanks for the reply. The problem about the tradition research is that they can not predict anything. The jumps are random like you said. In a sense tho almost nobody could predict the jumps. Not long ago TSLA went down 20% during the after hours when SEC sued Elon but then immediately went back up the second day when Elon and SEC agreed to settle. The neural network should not learn too much from the jump (a 15% - 20% of daily swing) but in a vanilla neural network it definitely would put a lot of weight on that. Maybe I will use wavelet transform etc.
$endgroup$
– toga
Oct 18 '18 at 9:55
$begingroup$
I understand, and that is exactly why I suggested two models. Obviously the model predicting/filtering jumps will need input from external sources (such as embeddings from news articles and twitter), not just prices from previous days, as the news is not factored into the actual market price before it is too late. The model for the general drift of the price path could take in daily prices along with some smoothed variant to make it a little more robust to spikes. You should really be looking at included realized volatility in such a model. Prices alone (even logs of returns) will not suffice.
$endgroup$
– n1k31t4
Oct 18 '18 at 9:59
$begingroup$
I understand, and that is exactly why I suggested two models. Obviously the model predicting/filtering jumps will need input from external sources (such as embeddings from news articles and twitter), not just prices from previous days, as the news is not factored into the actual market price before it is too late. The model for the general drift of the price path could take in daily prices along with some smoothed variant to make it a little more robust to spikes. You should really be looking at included realized volatility in such a model. Prices alone (even logs of returns) will not suffice.
$endgroup$
– n1k31t4
Oct 18 '18 at 9:59
add a comment |
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f39833%2fusing-neural-networks-with-jumps-in-stock-returns%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown