Message Boards Message Boards

Gold prices prediction using machine learning?

Posted 2 years ago

Dear all,

I have a historical gold prices time series from 22 September 2008 to 17 September 2021. I would like to predict the gold prices for the ten next days using machine learning methods.

enter image description here

I calculated the autocorrelation function for determining the inputs of the predictive models:

m = ACF[data, 800];

acfS = ListLinePlot[m, ImageSize -> 500, 
  PlotStyle -> {Orange, Thickness[0.005]}, 
        AxesStyle -> Directive[Black, 12], PlotRange -> All]

enter image description here

It is clear that using the antecedent 400 values as input for the predictive model does not make sense. What can I do for solving this problem? Attached are the data.

I appreciate your time.

Alex

Attachments:
POSTED BY: Alex Teymouri
3 Replies
Posted 2 years ago

Hi Alex. Did you make any progress with your idea? And if so, how did your code hold up in the last month as a predictor?

POSTED BY: B. Cornas

An interesting issue, Alex.

POSTED BY: M.A. Ghorbani
Posted 2 years ago

This looks interesting. Unfortunately I am just starting with Mathematica, so I can't bring much to the table, but I'll follow the discussion.

POSTED BY: B. Cornas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract