H
H
Helo89892021-05-11 13:53:47
Java
Helo8989, 2021-05-11 13:53:47

How to make an api in java to display a linear regression of the bitcoin rate. With a prediction of its future price based on the last week's data?

You need to make an experimental application in java to display a linear regression of the bitcoin rate. With a prediction of its future price based on the data of the last week. The course must be taken from the public api. I would be grateful for advice on development.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
BorLaze, 2021-05-11
@BorLaze

Are you seriously sure that it is possible to "predict its future price based on the data of the last week"? :-)))
It's easier to give a forecast "will rise in price" or "will fall in price" based on Math.random() - the reliability will be the same.

R
Romses Panagiotis, 2021-05-11
@romesses

In short:
one process periodically (launched by the task scheduler or just with a loop) takes the bitcoin rate, then saves the result somewhere or sends it directly for analysis. The result is analyzed, calculated, and the prediction value is entered into the database.
Another process is in the form of a web application that reads ready-made values ​​from the database and issues them to the client.
Answer the question whether it is possible to predict the course based on linear regression.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question