curl --location --request POST '/predictions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"stockId": 0,
"prediction": "UP"
}'
{
"predictionId": 0,
"date": "2019-08-24T14:15:22Z",
"prediction": "UP",
"userId": 0,
"stock": {
"stockId": 0,
"name": "string",
"price": 0,
"fluctuation": 0,
"individualIndicator": "STRONG_SELL",
"analystIndicator": "STRONG_SELL",
"newsIndicator": "NEGATIVE"
},
"result": {
"resultId": 0,
"actualPrice": 0,
"result": "S",
"evaluatedAt": "2019-08-24T14:15:22Z"
}
}