lilianweng / stock-rnn

Predict stock market prices using RNN model with multilayer LSTM cells + optional multi-stock embeddings.
https://lilianweng.github.io/lil-log
1.72k stars 656 forks source link

how to predicate a single price for tomorrow? #4

Closed johndpope closed 4 years ago

johndpope commented 6 years ago

awesome job on this - very clean.

but how to predicate a single price for tomorrow? eg. for tesla stocks? I get I can easily download and train from history - https://finance.yahoo.com/quote/TSLA/history?p=TSLA

but where can I tell it tomorrow's date?

lilianweng commented 6 years ago

If you use the last chuck of available prices, which would be up to today, feed it into the model and I would expect the output to be tomorrow price(s).

The model does not know the dates but only the sequences and the order of numbers.

plagi commented 6 years ago

How can you feed data in to the model?

rishiswethan commented 6 years ago

Where do I see this prediction for tomorrow?

CaesarChen1991 commented 6 years ago

Same question here.. Having no idea of how to feed new data to the model.

johndpope commented 6 years ago

you can use elliot wave TA to forecast impulse waves. Check out all the videos on youtube. 40 hrs worth. https://twitter.com/PhilakoneCrypto

Made 2.1k yesterday buying and selling btc.

any rnn needs to have more parameters than just price. need to understand RSI / MACD and set according to your trading style. wait for bullish divergence + MACD is about to bullwip - then buy.

be very careful over coming months - there's a lot of btc holders getting week hands. could be good buying opportunity coming up if we re-test 5k levels.

Eg. you can use this - to predict things https://www.tradingview.com/symbols/BTCUSD/technicals/

but understand you're getting 3 mixed trading signals according to time frame - how much profit you're aiming for.

screen shot 2018-03-20 at 10 45 26 am screen shot 2018-03-20 at 10 45 22 am screen shot 2018-03-20 at 10 45 18 am
johndpope commented 6 years ago

this fibonacci pivot point at $7156 hit the other day as btc price dropped - and buyers/a single buyer entered huge orders - triggering rally.

screen shot 2018-03-20 at 10 46 37 am
cikoned commented 4 years ago

same question here???

johndpope commented 4 years ago

just flip a coin / heads it's up / tails it's down.