-
Notifications
You must be signed in to change notification settings - Fork 0
Script per analisi dei dati in R #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
CamillaMazzoleni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
per me è ok
andrearoota
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ti invito a commentare le varie sezioni spiegando cosa vai a fare e magari linkando qualche paper/wikipedia che spiega l'algoritmo utilizzato.
Dopodiché manca la parte riguardata il lavoro effettivo sulle azioni degli utenti; di seguito ti scrivo le API da utilizzare:
GET http://localhost/api/admin/stockse inserendo nell'header"Authorization" = "Bearer TOKEN"
Per la parte di salvataggio delle azioni di compravendita dobbiamo ancora decidere come impostare, ma resta il fatto che tutta la parte inerente a questo algoritmo non è richiesta dall'attuale sprint e perciò non ci lavoreremo più per ora.
backend/script/EOD.R
Outdated
| SMA_7<-data.frame(1:14) | ||
|
|
||
| #getting user's Stock | ||
| userStock<- GET('http://localhost/api/admin/stocks',add_headers(Authorization='Bearer TOKEN')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Al posto di TOKEN si deve inserire il token generato quando verrà chiamato lo script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verrà chiamato lo script passando come argomento nella linea di comando il token da utilizzare, per richiamarlo all'interno dello script usa questa guida
Script che analizza gli stock, crea un modello di analisi e prende decisioni(buy,sell).