Leci37 / TensorFlow-stocks-prediction-Machine-learning-RealTime

Predict operation stocks points (buy-sell) with past technical patterns, and powerful machine-learning libraries such as: Sklearn.RandomForest , Sklearn.GradientBoosting, XGBoost, Google TensorFlow and Google TensorFlow LSTM..Real time Twitter:
241 stars 75 forks source link

Timescales #9

Closed Ezyweb-uk closed 10 months ago

Ezyweb-uk commented 1 year ago

It will take me a while to read and digest your excellent readme notes and instructions, but I think you mention 15min candles. Would this code also work on higher timescales, for example could I setup to test using end-of-day prices, or would that make no sense because of other real-time inputs?

Leci37 commented 1 year ago

The code is perfectly scalable, and has both section of maximum time (train with data from 3 months, 3 years ...) ,

as well as a candle change section time (if you want candles of 5s, 15min, 1h or 1day), can be implemented with just a few changes in the code,

the code is designed with scalability in consideration.

For example have :

class Option_Historical(Enum):
    YEARS_3 = 1
    MONTH_3 = 2
    MONTH_6 = 3
    DAY_6 = 4
    DAY_1 = 5