Data will be transferred to Web Client as JSON and rendered by Web Client.
{
"userSummary":
{
"account":
{
"userid": "", // Globally-unique identifier
"dollarsAvailable": "", // Current buying power
"dollarsPending": "" // Amount on hold
},
"transactions": [
{
"timestamp": "", // Timestamp of execution
"id": "", // Globally-unique transaction identifier of
"type": "", // Type of transaction eg. BUY, SELL
"status": "", // Status of transaction eg. pending, complete, cancelled
"dollarsAmount": "", // Dollar amount involved in transaction
"sharePrice": "", // Price per share at time of purchase
}],
"holdings": [
{
"stockSymbol": "", // Unique identifier
"shares": "", // Number of shares purchased
"sharePrice": "", // Price per share at time of purchase
"purchaseDate": "" // Timestamp of execution
}],
"triggers": [
{
"type": "", // Type of trigger, eg. BUY, SELL
"dollarAmount": "", // Dollar amount involved in transaction if triggered
"transactionId": "" // Globally-unique trigger identifier
}]
}
}
Display Summary via Web Client
Data Fields
Data will be transferred to Web Client as JSON and rendered by Web Client.
JSON Schema [WIP]