No video

Stock Price Prediction with Machine Learning Mistakes: Prices As Inputs (Episode 20)

  Рет қаралды 13,110

Lazy Programmer

Lazy Programmer

Күн бұрын

Пікірлер: 38
@KishorParida
@KishorParida 8 ай бұрын
There are data pipelines, periodic deployment training schedules (hourly, daily, weekly), trend indicator models (decide whether the price will go up or down), sentiment models (external factors), and last but not least a solution to apply sentiment weights to influence predicted prices. All these together may help forecast prices for a specific domain.
@scottmiller2591
@scottmiller2591 9 ай бұрын
Meucci covers this in great detail in "Risk and Asset Allocation" - the first step is always setting up a stationary domain.
@smarttradzt4933
@smarttradzt4933 2 жыл бұрын
I'd this problem 2 years ago when I used LSTM and arima to do urea price forecasting...it's great to see a video that confirms my results too..
@flight_risk
@flight_risk Жыл бұрын
if you do not directly use price and instead use Fourier features derived from price- e.g., sin(Dense(prices))- then does the result become stationary? My inspirations for this question are Kazemi, Goel and Eghbali et al., 2019, and Tancik, Mildenhall, and Srinivasan, et al., 2020. Also, could you discuss standardizing the input to a z-score using the rolling mean and standard deviation over time to minimize distributional shift rather than using fixed standardization factors? This is sort of like augmenting the model with a non-parametric convolution over the input features. It’s simple to do and I think for most applications any computational expense associated with a moving average might be acceptable.
@flight_risk
@flight_risk Жыл бұрын
Part of the reason Fourier features are so powerful in the context of sequence modeling is that their inner products can form a low rank approximation for the “distances” between pairs of continuous values and their linear combinations, as proposed by Liutkus and Cifka et al., in their relative positional encoding work. So my intuition is that one might sort of be “internally differentiating” input signals without actually having to go to the trouble of doing anything other than learning some frequencies and phase shifts to model incremental price changes, which, while still subject to _second_ order changes in the market regime like the rate of inflation, still seems to be stationary in the first order to me.
@duncanleung524
@duncanleung524 2 жыл бұрын
Would it make more sense to predict the price using percentage changes? e.g. day 1 value is 0%, day 2 value is 15% instead of day 1 value being $1 and day 2 value being $1.15
@LazyProgrammerOfficial
@LazyProgrammerOfficial 2 жыл бұрын
Thanks for your inquiry. You have the right idea but one part is still wrong (you don't want to predict price). This is covered in my Time Series Analysis course so check that out for full details!
@pink_cloudsky
@pink_cloudsky 2 ай бұрын
However if you use models like the statsmodels SARIMA in python which they allow you to indicate the order of differencing, then price as inputs would be still a valid approach. Right ?
@technicalanalysischannelby5097
@technicalanalysischannelby5097 Жыл бұрын
I have subscribed to one of your courses - TIME SERIES ANALYSIS, FORECASTING, AND MACHINE LEARNING IN PYTHON, but still not find the technique to solve the data not stationary.
@MikeLiteros
@MikeLiteros 7 ай бұрын
When will there be a udemy discount on timeseries and the finance course?
@LazyProgrammerOfficial
@LazyProgrammerOfficial 7 ай бұрын
The best value (amount of content per dollar) is available at Deep Learning Courses (link in description).
@pliniozanini7398
@pliniozanini7398 2 жыл бұрын
What if past prices are scaled by the lastest price? It would keep the psst and predicted price in the same scaled, avoiding extrapolation, as well as keeping the same range of values despite not being stationary.
@LazyProgrammerOfficial
@LazyProgrammerOfficial 2 жыл бұрын
Yes, that is one way I have seen. Unfortunately, it appeared to be no more successful than any other lag-based methods.
@pliniozanini7398
@pliniozanini7398 2 жыл бұрын
I guess no lag only method is actually of much use and if someone finds on that could be, won't be telling everyone... a quant trading framework doesn't need to be actually accurate to predict the price or return to profitable, sometimes slightly better than guessing can do some good.
@ivonne8412
@ivonne8412 2 жыл бұрын
Hi, where is your video about why min-max scaling is bad?
@LazyProgrammerOfficial
@LazyProgrammerOfficial 2 жыл бұрын
kzfaq.info/get/bejne/jMyoZK9jz86Wfps.html
@ivonne8412
@ivonne8412 2 жыл бұрын
@@LazyProgrammerOfficial Thank you!
@ShimoriUta77
@ShimoriUta77 7 ай бұрын
Bro roasted courses and then proceeded to market his own course 😳
@LazyProgrammerOfficial
@LazyProgrammerOfficial 7 ай бұрын
Not roasting courses, providing mathematical evidence against a flawed method, which appears not just in courses but blogs, tutorials, and on Github. Watch the video again and you will see that I've not roasted any courses. ;)
@ShimoriUta77
@ShimoriUta77 7 ай бұрын
​@@LazyProgrammerOfficial oh, now rewatching it sure makes sense. I beg your pardon sir, it was my fault for not understanding what you said.
@debokysaha3101
@debokysaha3101 2 жыл бұрын
Can I get the coupon now?
@LazyProgrammerOfficial
@LazyProgrammerOfficial 2 жыл бұрын
Thanks for your inquiry. All coupons can be found at lazyprogrammer.me. Best regards
@debokysaha3101
@debokysaha3101 2 жыл бұрын
@@LazyProgrammerOfficial Thanks for creating such amazing contents!!
@AhmedMohammed-wq1or
@AhmedMohammed-wq1or Жыл бұрын
@@LazyProgrammerOfficial can you please share any new coupon for it
@LazyProgrammerOfficial
@LazyProgrammerOfficial Жыл бұрын
@@AhmedMohammed-wq1or Coupons are available via my newsletter
@abertj.7365
@abertj.7365 2 жыл бұрын
Just anwering your dumb question, even if you developed a very good trading strategy, to open an account say in Interactive Brokers and maintain regularly trading margins will deplete your bank accounts until you become a pro, it's a big investment, and also for any Day Trading Robot development you need to be a real pro developer to account and handle microsecond Tick Data, so developing some trading strategy is very far and deifferent than trading with -> you need a lot of trading experience and huge capital. As of ny comment before, in my opinion, you are exactly the same as your critic -> you are interested in making videos and selling your stuff since if you could you will make one 2 hour video covering all that you say properly, but... fakes don't do that, not lazy probably incompetent.
@LazyProgrammerOfficial
@LazyProgrammerOfficial 2 жыл бұрын
This is called a "strawman argument". Look it up. Nothing you've said is even remotely close to what I am saying. Stop inventing random things out of thin air.
@abertj.7365
@abertj.7365 2 жыл бұрын
@@LazyProgrammerOfficial Did you put attention to your name "Lazy Programmer". Your argument is called a "scammer argument".
@LazyProgrammerOfficial
@LazyProgrammerOfficial 2 жыл бұрын
@@abertj.7365 This video is about math, not trading. Do you know the difference? You can't even identify the *subject* of the video, never mind being able to intelligently discuss its contents. Stop embarrassing yourself.
@abertj.7365
@abertj.7365 2 жыл бұрын
@@LazyProgrammerOfficial So now you want to divert your laziness and say you preach about the correct math to one who holds Ph.D. in Math? Lazy one? Stop embarrassing yourself, you know nothing about math or trading, maybe you know some arithmetics and have seen some Hollywood movies about trading.
@LazyProgrammerOfficial
@LazyProgrammerOfficial 2 жыл бұрын
@@abertj.7365 You haven't even properly refuted any point in the video. Just throwing insults like a little man-child. Sad.
@anhcoder
@anhcoder 7 ай бұрын
dislike this because promote course without evidence what's better
@LazyProgrammerOfficial
@LazyProgrammerOfficial 7 ай бұрын
Sadly your comment is incomprehensible, can you try rephrasing? If you are sure of yourself, then please continue the discussion and tell me why I am wrong.
@anhcoder
@anhcoder 7 ай бұрын
​@@LazyProgrammerOfficial This is not incomprehensible. You mentioned about another course isn't good at all, but after watch your video, you didn't show any improvement, or briliant approach to resolve the problem. If you're kind of person who likes to be rewarded and praised then just delete my comment.
@LazyProgrammerOfficial
@LazyProgrammerOfficial 7 ай бұрын
@@anhcoder Your thinking is incorrect (logical fallacy) and it's a problem which pervades research too. Showing that something is factually wrong doesn't require you to come up with a "better approach". A null result is a valid result. For instance, showing that stock prices closely follow a random walk indicates what further approaches should and should not be attempted. > If you're kind of person who likes to be rewarded and praised Sounds like you are taking the video as a personal attack (maybe you took this approach in the past?) instead of thinking scientifically.
@LazyProgrammerOfficial
@LazyProgrammerOfficial 7 ай бұрын
@@anhcoder Can't come up with a rebuttal? ;)
Two Effective Algorithms for Time Series Forecasting
14:20
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 17 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
Whoa
01:00
Justin Flom
Рет қаралды 50 МЛН
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 7 МЛН
You need to learn AI in 2024! (And here is your roadmap)
45:21
David Bombal
Рет қаралды 692 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
LSTM Top Mistake In Price Movement Predictions For Trading
9:48
CodeTrading
Рет қаралды 87 М.
This is why Deep Learning is really weird.
2:06:38
Machine Learning Street Talk
Рет қаралды 384 М.
Predicting Stock Prices with FBProphet in Python
21:26
NeuralNine
Рет қаралды 30 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 17 МЛН