Coder Social home page Coder Social logo

Comments (1)

Leci37 avatar Leci37 commented on July 20, 2024

Thanks for your questions.

What is the difference between raw, raw alpha and other folders in d_price?
RAW is if you get the data from yahoo API , if RAW_alpha if you get it from 0_API_alphavantage_get_old_history.py , min_max is deprecated and I have removed it , and I have created the alpaca folder for when you get it from API_alpaca 0_API_alpaca_historical.py
Note: my opinion 0_API_alpaca_historical.py works better (but you have to register in alpaca)

In which of these folders should I put my OHLCV data, and what file names should I give them (or how can I change this in the program?)?
Just look in the code for the string “d_price/”. it is recommended to change it in each file, since we don't know which OHLCV data provider you have (yahoo, alpha and alpaca APIs are offered by default).

From what I understand, you get the news data from twitter (is that correct?).... Suggestion: add basic functionality to parse data from listed RSS feeds.
News is obtained from yahoo and finviz.com, (see file https://github.com/Leci37/TensorFlow-stocks-prediction-Machine-learning-RealTime/blob/master/news_sentiment/news_get_data_NUTS.py ) NO NEWS FROM TWITTER in this version.
While news are obtained, the news are not valued by the TensorFlow models as of today. (providers with little and poor data).
However the language processing is a proprietary engineering and it would take a team of +-8 people to get something decent. Besides there is not enough news and each news provider requires its own extraction bootstrap.
If you are not a team it is better to focus on technical patterns.

how to calculate technical indicators with your script using my OHLCV data (some cryptocurrencies - missing in alphavantage and yahoo)?
Download the data to d_price with your own code, and take a look at these 2 lines:

from features_W3_old import extract_features_v3
df_bars = extract_features_v3(df_raw, extra_columns=False) # IT WORKS Tech indicators Count: 292  

https://github.com/Leci37/TensorFlow-stocks-prediction-Machine-learning-RealTime/blob/master/Tutorial/RUN_buy_sell_Tutorial_3W_5min_RT.py

### From what I understand, you are using yahoo data from the last 6-7 days for the forecast. If I use another data source, how often should this data be (1 minute, ticks, 10 minutes)? How often should this data be updated with respect to the present (offset)?
I have already tried 1min , 5min, 15min and one hour, they are all a nightmare. the change of the frequency has to be given to you by the OHLVC data provider (yahoo, alpaca). In my opinion slightly better with daily.

The forecast does not work at all for the evening and afternoon data, as it was missing in the data sets, do you have any idea or intention to fix this?
I don't understand what you mean, if you are referring to the aftermarket and premarket, they are hard data to work with as the most relevant data the volume disappears. How do you get into the model data in which the volume disappears and makes the technical indicators go crazy ?

I recommend you to see my other project which is technical indicators, and simply refine (this stock works 89% of the time with the RSI below 11.34) the values using a decision tree. https://github.com/Leci37/Strategy-stock-Random-Forest-ML-sklearn-TraderView

from tensorflow-stocks-prediction-machine-learning-realtime.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.