MagnusChase03 / Hackathon2022

Github repo for HackUTD2022
GNU General Public License v3.0
1 stars 0 forks source link

User Data Model #9

Open kevinharv opened 1 year ago

kevinharv commented 1 year ago
kolbeMosh commented 1 year ago

Do you have any current investments? y/n

if you do what are they? return json object with all investments and percentages invested

how much money are you thinking of investing? return something that indicates the bracket of investment that we can use.

In case of emergency will you need access to your investments? yes/no

what percentage of your investment do you need access to in case of an emergency? integer representing the percentage

What is your financial goal? percentage of growth as int

MagnusChase03 commented 1 year ago

localhost:3000/userProfile (POST)

var newUserProfile = { "username": req.body.username, "publicStockPercent": parseDouble(req.body.publicStockPercent), "privateStockPercent": parseDouble(req.body.privateStockPercent), "bondsPercent": parseDouble(req.body.bondsPercent), "cryptoPercent": parseDouble(req.body.cryptoPercent), "forexPercent": parseDouble(req.body.forexPercent), "liquidityPrefrence": req.body.liquidityPrefrence, "investmentLength": parseInt(req.body.investmentLength), "disposableIncomeBracket": req.body.disposableIncomeBracket, "financialGoal": req.body.financialGoal };

kolbeMosh commented 1 year ago

I would rather protect my principle than risk making more money 1 strongly disagree 2 disagree 3 neutral 4 agree 5 strongly agree