12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028{
"surface_id": "stock-dashboard",
"surface_version": 1,
"payload": {
"objects": [
{
"beginRendering": {
"surfaceId": "stock-dashboard",
"root": "root-column"
}
},
{
"surfaceUpdate": {
"surfaceId": "stock-dashboard",
"components": [
{
"id": "root-column",
"component": {
"Column": {
"children": {
"explicitList": [
"header-section",
"market-indices",
"hot-stocks-title",
"hot-stocks-list",
"portfolio-card"
]
}
}
}
},
{
"id": "header-section",
"component": {
"Card": {
"child": "header-row"
}
}
},
{
"id": "header-row",
"component": {
"Row": {
"children": {
"explicitList": [
"header-icon",
"header-title"
]
},
"distribution": "start",
"alignment": "center"
}
}
},
{
"id": "header-icon",
"component": {
"Icon": {
"name": {
"literalString": "fire"
},
"style": "filled"
}
}
},
{
"id": "header-title",
"component": {
"Label": {
"text": {
"literalString": "Market Dashboard"
},
"variant": "title",
"color": "label"
}
}
},
{
"id": "market-indices",
"component": {
"Card": {
"child": "indices-column"
}
}
},
{
"id": "indices-column",
"component": {
"Column": {
"children": {
"explicitList": [
"indices-header",
"indices-carousel"
]
}
}
}
},
{
"id": "indices-header",
"component": {
"Label": {
"text": {
"literalString": "Market Indices"
},
"variant": "subheadlineSemibold",
"color": "label"
}
}
},
{
"id": "indices-carousel",
"component": {
"Carousel": {
"children": {
"explicitList": [
"index-sh",
"index-sz",
"index-hs300"
]
}
}
}
},
{
"id": "index-sh",
"component": {
"Card": {
"child": "index-sh-col"
}
}
},
{
"id": "index-sh-col",
"component": {
"Column": {
"children": {
"explicitList": [
"index-sh-name",
"index-sh-price",
"index-sh-change-row"
]
},
"alignment": "start"
}
}
},
{
"id": "index-sh-name",
"component": {
"Label": {
"text": {
"path": "/indices/sh/name"
},
"variant": "bodySansSemibold",
"color": "secondary"
}
}
},
{
"id": "index-sh-price",
"component": {
"Label": {
"text": {
"path": "/indices/sh/price"
},
"variant": "title",
"color": "label"
}
}
},
{
"id": "index-sh-change-row",
"component": {
"Row": {
"children": {
"explicitList": [
"index-sh-change",
"index-sh-percent"
]
},
"distribution": "start",
"alignment": "center"
}
}
},
{
"id": "index-sh-change",
"component": {
"Label": {
"text": {
"path": "/indices/sh/change"
},
"variant": "bodySemibold",
"color": "label"
}
}
},
{
"id": "index-sh-percent",
"component": {
"Label": {
"text": {
"path": "/indices/sh/percent"
},
"variant": "body",
"color": "secondary"
}
}
},
{
"id": "index-sz",
"component": {
"Card": {
"child": "index-sz-col"
}
}
},
{
"id": "index-sz-col",
"component": {
"Column": {
"children": {
"explicitList": [
"index-sz-name",
"index-sz-price",
"index-sz-change-row"
]
},
"alignment": "start"
}
}
},
{
"id": "index-sz-name",
"component": {
"Label": {
"text": {
"path": "/indices/sz/name"
},
"variant": "bodySansSemibold",
"color": "secondary"
}
}
},
{
"id": "index-sz-price",
"component": {
"Label": {
"text": {
"path": "/indices/sz/price"
},
"variant": "title",
"color": "label"
}
}
},
{
"id": "index-sz-change-row",
"component": {
"Row": {
"children": {
"explicitList": [
"index-sz-change",
"index-sz-percent"
]
},
"distribution": "start",
"alignment": "center"
}
}
},
{
"id": "index-sz-change",
"component": {
"Label": {
"text": {
"path": "/indices/sz/change"
},
"variant": "bodySemibold",
"color": "label"
}
}
},
{
"id": "index-sz-percent",
"component": {
"Label": {
"text": {
"path": "/indices/sz/percent"
},
"variant": "body",
"color": "secondary"
}
}
},
{
"id": "index-hs300",
"component": {
"Card": {
"child": "index-hs300-col"
}
}
},
{
"id": "index-hs300-col",
"component": {
"Column": {
"children": {
"explicitList": [
"index-hs300-name",
"index-hs300-price",
"index-hs300-change-row"
]
},
"alignment": "start"
}
}
},
{
"id": "index-hs300-name",
"component": {
"Label": {
"text": {
"path": "/indices/hs300/name"
},
"variant": "bodySansSemibold",
"color": "secondary"
}
}
},
{
"id": "index-hs300-price",
"component": {
"Label": {
"text": {
"path": "/indices/hs300/price"
},
"variant": "title",
"color": "label"
}
}
},
{
"id": "index-hs300-change-row",
"component": {
"Row": {
"children": {
"explicitList": [
"index-hs300-change",
"index-hs300-percent"
]
},
"distribution": "start",
"alignment": "center"
}
}
},
{
"id": "index-hs300-change",
"component": {
"Label": {
"text": {
"path": "/indices/hs300/change"
},
"variant": "bodySemibold",
"color": "label"
}
}
},
{
"id": "index-hs300-percent",
"component": {
"Label": {
"text": {
"path": "/indices/hs300/percent"
},
"variant": "body",
"color": "secondary"
}
}
},
{
"id": "hot-stocks-title",
"component": {
"Card": {
"child": "hot-stocks-title-label"
}
}
},
{
"id": "hot-stocks-title-label",
"component": {
"Label": {
"text": {
"literalString": "Trending Stocks"
},
"variant": "subheadlineSemibold",
"color": "label"
}
}
},
{
"id": "hot-stocks-list",
"component": {
"Column": {
"children": {
"template": {
"componentId": "stock-item",
"dataBinding": "/stocks"
}
}
}
}
},
{
"id": "stock-item",
"component": {
"Card": {
"child": "stock-item-row"
}
}
},
{
"id": "stock-item-row",
"component": {
"Row": {
"children": {
"explicitList": [
"stock-info-col",
"stock-price-col"
]
},
"distribution": "spaceBetween",
"alignment": "center"
}
}
},
{
"id": "stock-info-col",
"component": {
"Column": {
"children": {
"explicitList": [
"stock-name",
"stock-code"
]
},
"alignment": "start"
}
}
},
{
"id": "stock-name",
"component": {
"Label": {
"text": {
"path": "name"
},
"variant": "bodySemibold",
"color": "label"
}
}
},
{
"id": "stock-code",
"component": {
"Label": {
"text": {
"path": "code"
},
"variant": "caption",
"color": "tertiary"
}
}
},
{
"id": "stock-price-col",
"component": {
"Column": {
"children": {
"explicitList": [
"stock-price",
"stock-change-row"
]
},
"alignment": "end"
}
}
},
{
"id": "stock-price",
"component": {
"Label": {
"text": {
"path": "price"
},
"variant": "bodySemibold",
"color": "label"
}
}
},
{
"id": "stock-change-row",
"component": {
"Row": {
"children": {
"explicitList": [
"stock-change",
"stock-percent"
]
},
"distribution": "end",
"alignment": "center"
}
}
},
{
"id": "stock-change",
"component": {
"Label": {
"text": {
"path": "change"
},
"variant": "caption",
"color": "secondary"
}
}
},
{
"id": "stock-percent",
"component": {
"Label": {
"text": {
"path": "percent"
},
"variant": "captionSemibold",
"color": "label"
}
}
},
{
"id": "portfolio-card",
"component": {
"Card": {
"child": "portfolio-col"
}
}
},
{
"id": "portfolio-col",
"component": {
"Column": {
"children": {
"explicitList": [
"portfolio-header-row",
"portfolio-value-card",
"portfolio-stats"
]
}
}
}
},
{
"id": "portfolio-header-row",
"component": {
"Row": {
"children": {
"explicitList": [
"portfolio-icon",
"portfolio-title"
]
},
"distribution": "start",
"alignment": "center"
}
}
},
{
"id": "portfolio-icon",
"component": {
"Icon": {
"name": {
"literalString": "shopping-bag-one"
},
"style": "filled"
}
}
},
{
"id": "portfolio-title",
"component": {
"Label": {
"text": {
"literalString": "My Portfolio"
},
"variant": "subheadlineSemibold",
"color": "label"
}
}
},
{
"id": "portfolio-value-card",
"component": {
"Card": {
"child": "portfolio-value-col"
}
}
},
{
"id": "portfolio-value-col",
"component": {
"Column": {
"children": {
"explicitList": [
"portfolio-total-label",
"portfolio-total-value",
"portfolio-profit-row"
]
},
"alignment": "start"
}
}
},
{
"id": "portfolio-total-label",
"component": {
"Label": {
"text": {
"literalString": "Total Value"
},
"variant": "bodySans",
"color": "secondary"
}
}
},
{
"id": "portfolio-total-value",
"component": {
"Label": {
"text": {
"path": "/portfolio/totalValue"
},
"variant": "title",
"color": "label"
}
}
},
{
"id": "portfolio-profit-row",
"component": {
"Row": {
"children": {
"explicitList": [
"portfolio-profit-label",
"portfolio-profit-value",
"portfolio-profit-percent"
]
},
"distribution": "start",
"alignment": "center"
}
}
},
{
"id": "portfolio-profit-label",
"component": {
"Label": {
"text": {
"literalString": "P/L:"
},
"variant": "body",
"color": "secondary"
}
}
},
{
"id": "portfolio-profit-value",
"component": {
"Label": {
"text": {
"path": "/portfolio/profit"
},
"variant": "bodySemibold",
"color": "label"
}
}
},
{
"id": "portfolio-profit-percent",
"component": {
"Label": {
"text": {
"path": "/portfolio/profitPercent"
},
"variant": "body",
"color": "secondary"
}
}
},
{
"id": "portfolio-stats",
"component": {
"Row": {
"children": {
"explicitList": [
"portfolio-stat-1",
"portfolio-stat-2"
]
},
"distribution": "spaceAround",
"alignment": "start"
}
}
},
{
"id": "portfolio-stat-1",
"component": {
"Column": {
"children": {
"explicitList": [
"portfolio-holdings-label",
"portfolio-holdings-value"
]
},
"alignment": "center"
}
}
},
{
"id": "portfolio-holdings-label",
"component": {
"Label": {
"text": {
"literalString": "Holdings"
},
"variant": "caption",
"color": "tertiary"
}
}
},
{
"id": "portfolio-holdings-value",
"component": {
"Label": {
"text": {
"path": "/portfolio/holdingsCount"
},
"variant": "bodySemibold",
"color": "label"
}
}
},
{
"id": "portfolio-stat-2",
"component": {
"Column": {
"children": {
"explicitList": [
"portfolio-winrate-label",
"portfolio-winrate-value"
]
},
"alignment": "center"
}
}
},
{
"id": "portfolio-winrate-label",
"component": {
"Label": {
"text": {
"literalString": "Winning Positions"
},
"variant": "caption",
"color": "tertiary"
}
}
},
{
"id": "portfolio-winrate-value",
"component": {
"Label": {
"text": {
"path": "/portfolio/winRate"
},
"variant": "bodySemibold",
"color": "label"
}
}
}
]
}
},
{
"dataModelUpdate": {
"surfaceId": "stock-dashboard",
"path": "/",
"contents": [
{
"key": "indices",
"valueMap": [
{
"key": "sh",
"valueMap": [
{
"key": "name",
"valueString": "S&P 500"
},
{
"key": "price",
"valueString": "3,287.45"
},
{
"key": "change",
"valueString": "+15.23"
},
{
"key": "percent",
"valueString": "(+0.47%)"
}
]
},
{
"key": "sz",
"valueMap": [
{
"key": "name",
"valueString": "NASDAQ Composite"
},
{
"key": "price",
"valueString": "10,892.78"
},
{
"key": "change",
"valueString": "+32.15"
},
{
"key": "percent",
"valueString": "(+0.30%)"
}
]
},
{
"key": "hs300",
"valueMap": [
{
"key": "name",
"valueString": "Dow Jones Industrial Average"
},
{
"key": "price",
"valueString": "3,856.12"
},
{
"key": "change",
"valueString": "+18.67"
},
{
"key": "percent",
"valueString": "(+0.49%)"
}
]
}
]
},
{
"key": "stocks",
"valueMap": [
{
"key": "0",
"valueMap": [
{
"key": "name",
"valueString": "Apple"
},
{
"key": "code",
"valueString": "600519"
},
{
"key": "price",
"valueString": "¥1,678.50"
},
{
"key": "change",
"valueString": "+12.30"
},
{
"key": "percent",
"valueString": "+0.74%"
}
]
},
{
"key": "1",
"valueMap": [
{
"key": "name",
"valueString": "NVIDIA"
},
{
"key": "code",
"valueString": "300750"
},
{
"key": "price",
"valueString": "¥235.80"
},
{
"key": "change",
"valueString": "+5.20"
},
{
"key": "percent",
"valueString": "+2.26%"
}
]
},
{
"key": "2",
"valueMap": [
{
"key": "name",
"valueString": "Microsoft"
},
{
"key": "code",
"valueString": "601318"
},
{
"key": "price",
"valueString": "¥52.35"
},
{
"key": "change",
"valueString": "-0.45"
},
{
"key": "percent",
"valueString": "-0.85%"
}
]
},
{
"key": "3",
"valueMap": [
{
"key": "name",
"valueString": "Amazon"
},
{
"key": "code",
"valueString": "002594"
},
{
"key": "price",
"valueString": "¥278.90"
},
{
"key": "change",
"valueString": "+8.75"
},
{
"key": "percent",
"valueString": "+3.24%"
}
]
},
{
"key": "4",
"valueMap": [
{
"key": "name",
"valueString": "Tesla"
},
{
"key": "code",
"valueString": "600036"
},
{
"key": "price",
"valueString": "¥38.67"
},
{
"key": "change",
"valueString": "+0.23"
},
{
"key": "percent",
"valueString": "+0.60%"
}
]
}
]
},
{
"key": "portfolio",
"valueMap": [
{
"key": "totalValue",
"valueString": "¥158,673.50"
},
{
"key": "profit",
"valueString": "+¥12,345.80"
},
{
"key": "profitPercent",
"valueString": "(+8.44%)"
},
{
"key": "holdingsCount",
"valueString": "8 positions"
},
{
"key": "winRate",
"valueString": "5 profitable"
}
]
}
]
}
}
]
}
}0 tokens
Market Dashboard
Market Indices
S&P 500
3,287.45
+15.23
(+0.47%)
1 / 3
Trending Stocks
My Portfolio
Total Value
¥158,673.50
P/L:
+¥12,345.80
(+8.44%)
Holdings
8 positions
Winning Positions
5 profitable