This commit is contained in:
Tanishq Dubey 2024-05-25 20:32:50 -04:00
parent c69356a5d9
commit ea05bfbaca
3 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ def buy():
else:
TRANSACTIONS[user_id].append(t)
return jsonify(t)
tx = t
return jsonify({"term": tx.instrument, "quantity": tx.quantity, "side": tx.side, "date": tx.date, "rate": tx.rate})
@app.route("/api/login", methods=["POST"])

Binary file not shown.

BIN
users.p

Binary file not shown.