Skip to content

Conversation

@pierGit7
Copy link
Collaborator

Script che analizza gli stock, crea un modello di analisi e prende decisioni(buy,sell).

Copy link
Collaborator

@CamillaMazzoleni CamillaMazzoleni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

per me è ok

Copy link
Owner

@andrearoota andrearoota left a 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/stocks e 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.

@andrearoota
Copy link
Owner

#25

SMA_7<-data.frame(1:14)

#getting user's Stock
userStock<- GET('http://localhost/api/admin/stocks',add_headers(Authorization='Bearer TOKEN'))
Copy link
Owner

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

Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend enhancement New feature or request

Projects

Status: Sprint Backlog

Development

Successfully merging this pull request may close these issues.

4 participants