Live data from Hacker News

Using a Keras Long Short-Term Memory Model to Predict Stock Prices

heartbeat.fritz.ai

51–60 of 178 posts

Re: Using a Keras Long Short-Term Memory Model to Predict Stock Prices

#51
post #39
post #26

I'm not a purist believer in the efficient market hypothesis. BUT, I doubt there's much alpha to be gained simply from looking at price data which is widely and publicly available. Also keep in mind that markets are dynamic feedback loops so even if this model had an edge, the act of publishing this article would work against you to neutralize that edge in the future. There's a good reason the most successful 'quanti…

How does a lifetime non-compete work?

They kill you.

Re: Using a Keras Long Short-Term Memory Model to Predict Stock Prices

#52
post #47
post #39

Earlier quoted context omitted.

How does a lifetime non-compete work?

I'm shocked that would be even close to enforcable.

Me too I suppose if you where payed for life to not work in the field and would probably not be enforceable.

Re: Using a Keras Long Short-Term Memory Model to Predict Stock Prices

#53
post #26

I'm not a purist believer in the efficient market hypothesis. BUT, I doubt there's much alpha to be gained simply from looking at price data which is widely and publicly available. Also keep in mind that markets are dynamic feedback loops so even if this model had an edge, the act of publishing this article would work against you to neutralize that edge in the future. There's a good reason the most successful 'quanti…

A lifetime noncompete really I assume they pay you for life for this noncompete.

My understanding is that legally, the contract says something reasonable, like a year. But the firm will use it's considerable resources to impede your career if you attempt to work in mathematical trading after that year's up.

On the flip side, employees are compensated very well, and the turnover is very low.

Re: Using a Keras Long Short-Term Memory Model to Predict Stock Prices

#54
This doesn't take away from the exercise, but I notice the model seems to "predict" the movement just after it occurs.

It just lags the current price. If there is no alpha in the price signal, then the rational thing to do is to just stay at the current price, which is what the algo seems to have learned to do.

Re: Using a Keras Long Short-Term Memory Model to Predict Stock Prices

#56
post #36
post #25

Total noob question in this space (algotrading with DL algorithms). What DL is good at, is to automate tasks that are easy for humans (e.g. telling cat from dog, understand a sentence from sound wave, translation, etc) but hard for machines without DL. Now, if a task is even hard/borderline impossible for humans to achieve (e.g. predicting stock market with higher accuracy and consistency), why would we believe DL co…

I think relating DL with human skills is confusing you. DL already beats humans in recognizing dog breeds. DL could always do a better job, because it looks at more patterns than humanly possible.

The reason I relate human skill with DL, is because for tasks where there are real patterns that humans can consistently recognize, DL is applicable, because it relies on human labeled inputs. For patterns, even humans can't consistently recognize (or if there are patterns at all), there's no way for DL to be better than humans, simply because the inputs from human can't be trusted. The example of DL does better job at e.g. recognizing dog breeds, recognizing cancers, whatever, is because those jobs are possible for humans to begin with. The only difference there would be DL could work on more human labeled data than any real human, so that they can recognize more patterns. But if those human labeled data/patterns dont exist in the first place, why we would believe DL could do a better job?

Re: Using a Keras Long Short-Term Memory Model to Predict Stock Prices

#58
All these LSTM Stock Market tutorials seem to be a variation of this guys tutorial which he did a while ago:

https://github.com/jaungiers/LSTM-Neural-Network-for-Time-Se...

Except Jakob explains the folly of the method.

Whereas the author of this piece says the following:

From the plot we can see that the real stock price went up while our model also predicted that the price of the stock will go up. This clearly shows how powerful LSTMs are for analyzing time series and sequential data.

Re: Using a Keras Long Short-Term Memory Model to Predict Stock Prices

#59
post #49

Earlier quoted context omitted.

DL isn’t just good at automating human tasks (see AlphaZero and AlphaGo). It can be used to recognize patterns and train to solve problems better than humans. Though in this case since the market is people making predictions about a prediction I’m not sure how much it’d help. There’s probably something about humans using a rough estimate of what the stock has been historically to inform where it could go though so it…

By DL, i meant generic DL techniques like CNN, LSTM (used in this article), which relies on large amount of labeled data to train, and predict on similar data, thus my comment about automation. Alpha Go (Zero) is very specialized for the game of go, not sure how much of its specialized algorithm could transfer to other generic use cases.

>Alpha Go (Zero) is very specialized for the game of go, not sure how much of its specialized algorithm could transfer to other generic use cases.

AlphaZero is a generalized successor, and it does just that:

https://en.m.wikipedia.org/wiki/AlphaZero

Post reply on HN