Spaces:
Sleeping
Sleeping
{ | |
"metadata": { | |
"writer_version": "0.7.0rc2" | |
}, | |
"components": { | |
"root": { | |
"id": "root", | |
"type": "root", | |
"content": { | |
"appName": "Finance Dashboard" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"handlers": {}, | |
"visible": true | |
}, | |
"c0f99a9e-5004-4e75-a6c6-36f17490b134": { | |
"id": "c0f99a9e-5004-4e75-a6c6-36f17490b134", | |
"type": "page", | |
"content": { | |
"pageMode": "" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "root", | |
"handlers": {}, | |
"visible": true | |
}, | |
"bebc5fe9-63a7-46a7-b0fa-62303555cfaf": { | |
"id": "bebc5fe9-63a7-46a7-b0fa-62303555cfaf", | |
"type": "header", | |
"content": { | |
"text": "Finance Research Dashboard" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "c0f99a9e-5004-4e75-a6c6-36f17490b134", | |
"handlers": {}, | |
"visible": true | |
}, | |
"ahwykl4cny005thy": { | |
"id": "ahwykl4cny005thy", | |
"type": "dataframe", | |
"content": { | |
"dataframe": "@{main_df_subset}", | |
"showIndex": "no", | |
"enableSearch": "no" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "vyij4ox2ad95xyr9", | |
"handlers": {}, | |
"visible": true | |
}, | |
"opn16nq04zq9xha8": { | |
"id": "opn16nq04zq9xha8", | |
"type": "plotlygraph", | |
"content": { | |
"spec": "@{scatter_chart}" | |
}, | |
"isCodeManaged": false, | |
"position": 2, | |
"parentId": "1db76a00z7imlyz1", | |
"handlers": { | |
"plotly-click": "charts.update_scatter_chart" | |
} | |
}, | |
"e13teponreio9yyz": { | |
"id": "e13teponreio9yyz", | |
"type": "button", | |
"content": { | |
"text": "Max", | |
"buttonColor": "#BFCBFF", | |
"cssClasses": "", | |
"buttonTextColor": "#000000" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "g5mgb80xt38atz4f", | |
"handlers": { | |
"wf-click": "charts.handle_click" | |
}, | |
"visible": true | |
}, | |
"g5mgb80xt38atz4f": { | |
"id": "g5mgb80xt38atz4f", | |
"type": "horizontalstack", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "1db76a00z7imlyz1", | |
"handlers": {}, | |
"visible": true | |
}, | |
"juip2rw7hywumv35": { | |
"id": "juip2rw7hywumv35", | |
"type": "button", | |
"content": { | |
"text": "5D", | |
"buttonColor": "#BFCBFF", | |
"cssClasses": "", | |
"buttonTextColor": "#000000" | |
}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "g5mgb80xt38atz4f", | |
"handlers": { | |
"wf-click": "charts.handle_click" | |
}, | |
"visible": true | |
}, | |
"afamuurw1lpjkkze": { | |
"id": "afamuurw1lpjkkze", | |
"type": "button", | |
"content": { | |
"text": "1M", | |
"buttonColor": "#BFCBFF", | |
"cssClasses": "", | |
"buttonTextColor": "#000000" | |
}, | |
"isCodeManaged": false, | |
"position": 2, | |
"parentId": "g5mgb80xt38atz4f", | |
"handlers": { | |
"wf-click": "charts.handle_click" | |
}, | |
"visible": true | |
}, | |
"77u7x4pf0ximsf0j": { | |
"id": "77u7x4pf0ximsf0j", | |
"type": "button", | |
"content": { | |
"text": "3M", | |
"buttonColor": "#BFCBFF", | |
"cssClasses": "", | |
"buttonTextColor": "#000000" | |
}, | |
"isCodeManaged": false, | |
"position": 3, | |
"parentId": "g5mgb80xt38atz4f", | |
"handlers": { | |
"wf-click": "charts.handle_click" | |
}, | |
"visible": true | |
}, | |
"oh2g51ixvuu8gdwa": { | |
"id": "oh2g51ixvuu8gdwa", | |
"type": "metric", | |
"content": { | |
"name": "Open", | |
"note": "L24", | |
"description": "", | |
"metricValue": "@{last_24_hours_open}" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "rgv1dgdrvgiosh42", | |
"handlers": {}, | |
"visible": true | |
}, | |
"rgv1dgdrvgiosh42": { | |
"id": "rgv1dgdrvgiosh42", | |
"type": "horizontalstack", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "1db76a00z7imlyz1", | |
"handlers": {}, | |
"visible": true | |
}, | |
"6646510g33an9r0g": { | |
"id": "6646510g33an9r0g", | |
"type": "metric", | |
"content": { | |
"note": "L24", | |
"name": "High", | |
"description": "", | |
"metricValue": "@{last_24_hours_high}" | |
}, | |
"isCodeManaged": false, | |
"position": 2, | |
"parentId": "rgv1dgdrvgiosh42", | |
"handlers": {}, | |
"visible": true | |
}, | |
"df3mr8my8ivc8yrt": { | |
"id": "df3mr8my8ivc8yrt", | |
"type": "metric", | |
"content": { | |
"note": "L24", | |
"name": "Low", | |
"description": "", | |
"metricValue": "@{last_24_hours_low}" | |
}, | |
"isCodeManaged": false, | |
"position": 4, | |
"parentId": "rgv1dgdrvgiosh42", | |
"handlers": {}, | |
"visible": true | |
}, | |
"9v92jyh672s5wjkg": { | |
"id": "9v92jyh672s5wjkg", | |
"type": "tab", | |
"content": { | |
"name": "Stock data" | |
}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "yzujnjalyh2s2x16", | |
"handlers": {}, | |
"visible": true | |
}, | |
"bha2uz0y2jr7eszp": { | |
"id": "bha2uz0y2jr7eszp", | |
"type": "separator", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "rgv1dgdrvgiosh42", | |
"handlers": {}, | |
"visible": true | |
}, | |
"nzp2whzndpknrk55": { | |
"id": "nzp2whzndpknrk55", | |
"type": "separator", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 3, | |
"parentId": "rgv1dgdrvgiosh42", | |
"handlers": {}, | |
"visible": true | |
}, | |
"suu5ceib1bqj0si5": { | |
"id": "suu5ceib1bqj0si5", | |
"type": "columns", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "9v92jyh672s5wjkg", | |
"handlers": {}, | |
"visible": true | |
}, | |
"vyij4ox2ad95xyr9": { | |
"id": "vyij4ox2ad95xyr9", | |
"type": "column", | |
"content": { | |
"width": "1" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "suu5ceib1bqj0si5", | |
"handlers": {}, | |
"visible": true | |
}, | |
"chwivjdj78wyyi9x": { | |
"id": "chwivjdj78wyyi9x", | |
"type": "button", | |
"content": { | |
"text": "Analyze trends" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "1yuilwwrhm40gxtx", | |
"handlers": { | |
"wf-click": "generate_stock_analysis" | |
}, | |
"visible": true | |
}, | |
"km4vvfnq6bwlakmp": { | |
"id": "km4vvfnq6bwlakmp", | |
"type": "text", | |
"content": { | |
"text": "@{analysis}", | |
"useMarkdown": "yes" | |
}, | |
"isCodeManaged": false, | |
"position": 4, | |
"parentId": "i23vdas64ziuiazm", | |
"handlers": {}, | |
"visible": "show_analysis_text.visible" | |
}, | |
"h72djsz1oqncb5ls": { | |
"id": "h72djsz1oqncb5ls", | |
"type": "section", | |
"content": { | |
"title": "Latest news" | |
}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "0p1levffmcf4xlpl", | |
"handlers": {}, | |
"visible": true | |
}, | |
"zinu9f9cyur23m66": { | |
"id": "zinu9f9cyur23m66", | |
"type": "repeater", | |
"content": { | |
"repeaterObject": "@{articles}", | |
"keyVariable": "itemId", | |
"valueVariable": "item" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "h72djsz1oqncb5ls", | |
"handlers": {}, | |
"visible": true | |
}, | |
"dbdmqg2z74k4frq4": { | |
"id": "dbdmqg2z74k4frq4", | |
"type": "columns", | |
"content": { | |
"cssClasses": "" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "zinu9f9cyur23m66", | |
"handlers": {}, | |
"visible": true | |
}, | |
"p13mw4f6rr4z8d47": { | |
"id": "p13mw4f6rr4z8d47", | |
"type": "column", | |
"content": { | |
"title": "", | |
"width": "1", | |
"isSticky": "yes", | |
"isCollapsible": "", | |
"startCollapsed": "", | |
"cssClasses": "" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "dbdmqg2z74k4frq4", | |
"handlers": {}, | |
"visible": true | |
}, | |
"tji08jpu1y52kzz1": { | |
"id": "tji08jpu1y52kzz1", | |
"type": "link", | |
"content": { | |
"url": "@{item.url}", | |
"text": "@{item.source}", | |
"primaryTextColor": "#1d53d3", | |
"cssClasses": "link" | |
}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "4avlmncllyffxniu", | |
"handlers": {}, | |
"visible": true | |
}, | |
"4avlmncllyffxniu": { | |
"id": "4avlmncllyffxniu", | |
"type": "section", | |
"content": { | |
"title": "@{itemId}", | |
"primaryTextColor": "#000000", | |
"containerBackgroundColor": "#f7f7f7", | |
"containerShadow": "5px 5px 5px 2px #f8f7f7" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "p13mw4f6rr4z8d47", | |
"handlers": {}, | |
"visible": true | |
}, | |
"w3wt3976ggvcuwrg": { | |
"id": "w3wt3976ggvcuwrg", | |
"type": "text", | |
"content": { | |
"text": "**@{item.published_at}**", | |
"alignment": "right", | |
"useMarkdown": "yes" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "4avlmncllyffxniu", | |
"handlers": {}, | |
"visible": true | |
}, | |
"1db76a00z7imlyz1": { | |
"id": "1db76a00z7imlyz1", | |
"type": "section", | |
"content": { | |
"title": "@{symbol} stock performance" | |
}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "18wepug77yr8m1iu", | |
"handlers": {}, | |
"visible": true | |
}, | |
"i23vdas64ziuiazm": { | |
"id": "i23vdas64ziuiazm", | |
"type": "section", | |
"content": { | |
"title": "" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "0p1levffmcf4xlpl", | |
"handlers": {}, | |
"visible": true | |
}, | |
"8dbcbgiukyg74dkb": { | |
"id": "8dbcbgiukyg74dkb", | |
"type": "columns", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 3, | |
"parentId": "c0f99a9e-5004-4e75-a6c6-36f17490b134", | |
"handlers": {}, | |
"visible": true | |
}, | |
"0p1levffmcf4xlpl": { | |
"id": "0p1levffmcf4xlpl", | |
"type": "column", | |
"content": { | |
"width": "0.75" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "8dbcbgiukyg74dkb", | |
"handlers": {}, | |
"visible": true | |
}, | |
"334d69p14onyi9wq": { | |
"id": "334d69p14onyi9wq", | |
"type": "column", | |
"content": { | |
"width": "1" | |
}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "8dbcbgiukyg74dkb", | |
"handlers": {}, | |
"visible": true | |
}, | |
"yzujnjalyh2s2x16": { | |
"id": "yzujnjalyh2s2x16", | |
"type": "tabs", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "334d69p14onyi9wq", | |
"handlers": {}, | |
"visible": true | |
}, | |
"18wepug77yr8m1iu": { | |
"id": "18wepug77yr8m1iu", | |
"type": "tab", | |
"content": { | |
"name": "Performance" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "yzujnjalyh2s2x16", | |
"handlers": {} | |
}, | |
"9eieaedqpr1ickbb": { | |
"id": "9eieaedqpr1ickbb", | |
"type": "section", | |
"content": { | |
"title": "Investment research options", | |
"cssClasses": "", | |
"containerBackgroundColor": "#e9d3fd" | |
}, | |
"isCodeManaged": false, | |
"position": 2, | |
"parentId": "c0f99a9e-5004-4e75-a6c6-36f17490b134", | |
"handlers": {}, | |
"visible": true | |
}, | |
"1yuilwwrhm40gxtx": { | |
"id": "1yuilwwrhm40gxtx", | |
"type": "horizontalstack", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "9eieaedqpr1ickbb", | |
"handlers": {}, | |
"visible": true | |
}, | |
"1vyfwym5dfh07ihb": { | |
"id": "1vyfwym5dfh07ihb", | |
"type": "message", | |
"content": { | |
"message": "@{message}" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "i23vdas64ziuiazm", | |
"handlers": {}, | |
"visible": true | |
}, | |
"fwmg7b84wstpxs7m": { | |
"id": "fwmg7b84wstpxs7m", | |
"type": "button", | |
"content": { | |
"text": "1Y", | |
"buttonColor": "#BFCBFF", | |
"cssClasses": "", | |
"buttonTextColor": "#000000" | |
}, | |
"isCodeManaged": false, | |
"position": 4, | |
"parentId": "g5mgb80xt38atz4f", | |
"handlers": { | |
"wf-click": "charts.handle_click" | |
}, | |
"visible": true | |
}, | |
"jcs5oslp27w5v52j": { | |
"id": "jcs5oslp27w5v52j", | |
"type": "button", | |
"content": { | |
"text": "5Y", | |
"buttonColor": "#BFCBFF", | |
"cssClasses": "", | |
"buttonTextColor": "#000000" | |
}, | |
"isCodeManaged": false, | |
"position": 5, | |
"parentId": "g5mgb80xt38atz4f", | |
"handlers": { | |
"wf-click": "charts.handle_click" | |
}, | |
"visible": true | |
}, | |
"s2jsn9u5xb23hase": { | |
"id": "s2jsn9u5xb23hase", | |
"type": "tags", | |
"content": { | |
"tags": "{\n \"AAPL\": \"AAPL\",\n \"IBM\": \"IBM\",\n \"NVDA\": \"NVDA\",\n \"MSFT\": \"MSFT\",\n \"TSLA\": \"TSLA\"\n}" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "kr54hbg2r5fkhsct", | |
"handlers": { | |
"wf-tag-click": "stock_tags" | |
}, | |
"visible": true | |
}, | |
"kr54hbg2r5fkhsct": { | |
"id": "kr54hbg2r5fkhsct", | |
"type": "section", | |
"content": { | |
"title": "Select a stock ticker" | |
}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "c0f99a9e-5004-4e75-a6c6-36f17490b134", | |
"handlers": {}, | |
"visible": true | |
}, | |
"8yxe1itvlcq4zhpi": { | |
"id": "8yxe1itvlcq4zhpi", | |
"type": "tab", | |
"content": { | |
"name": "Income data" | |
}, | |
"isCodeManaged": false, | |
"position": 2, | |
"parentId": "yzujnjalyh2s2x16", | |
"handlers": {}, | |
"visible": true | |
}, | |
"tmiso5qe0e0jfl4i": { | |
"id": "tmiso5qe0e0jfl4i", | |
"type": "dataframe", | |
"content": { | |
"dataframe": "@{income_statement_df}" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "8yxe1itvlcq4zhpi", | |
"handlers": {}, | |
"visible": true | |
}, | |
"x6p3vxia2xlpbbib": { | |
"id": "x6p3vxia2xlpbbib", | |
"type": "button", | |
"content": { | |
"text": "Visualize income statement" | |
}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "1yuilwwrhm40gxtx", | |
"handlers": { | |
"wf-click": "generate_income_analysis" | |
}, | |
"visible": true | |
}, | |
"oo7y10uo68z3ayf8": { | |
"id": "oo7y10uo68z3ayf8", | |
"type": "plotlygraph", | |
"content": { | |
"spec": "@{bar_graph}" | |
}, | |
"isCodeManaged": false, | |
"position": 2, | |
"parentId": "i23vdas64ziuiazm", | |
"handlers": { | |
"plotly-click": "charts.update_bar_graph" | |
}, | |
"visible": "show_bar_graph.visible" | |
}, | |
"a8a854zgzdrcel9j": { | |
"id": "a8a854zgzdrcel9j", | |
"type": "dropdowninput", | |
"content": { | |
"label": "Output language", | |
"options": "@{output_language}" | |
}, | |
"isCodeManaged": false, | |
"position": 3, | |
"parentId": "i23vdas64ziuiazm", | |
"handlers": { | |
"wf-option-change": "prompt_parameters_lang" | |
}, | |
"visible": "show_analysis_text.language" | |
}, | |
"1c3vvmgyhvkm9d6e": { | |
"id": "1c3vvmgyhvkm9d6e", | |
"type": "horizontalstack", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "i23vdas64ziuiazm", | |
"handlers": {}, | |
"visible": "show_income_metrics.visible" | |
}, | |
"e7kux7h89zec8cmh": { | |
"id": "e7kux7h89zec8cmh", | |
"type": "metric", | |
"content": { | |
"name": "Operating Margin", | |
"note": "", | |
"metricValue": "@{operating_margin}" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "1c3vvmgyhvkm9d6e", | |
"handlers": {}, | |
"visible": true | |
}, | |
"0u3afw3gbxbj8h1x": { | |
"id": "0u3afw3gbxbj8h1x", | |
"type": "separator", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 1, | |
"parentId": "1c3vvmgyhvkm9d6e", | |
"handlers": {}, | |
"visible": true | |
}, | |
"yxm3uezkrgpl11fc": { | |
"id": "yxm3uezkrgpl11fc", | |
"type": "metric", | |
"content": { | |
"name": "Gross Margin", | |
"note": "", | |
"metricValue": "@{gross_margin}" | |
}, | |
"isCodeManaged": false, | |
"position": 2, | |
"parentId": "1c3vvmgyhvkm9d6e", | |
"handlers": {}, | |
"visible": true | |
}, | |
"nmdddxrvpgirasj6": { | |
"id": "nmdddxrvpgirasj6", | |
"type": "metric", | |
"content": { | |
"name": "EBIDTA Margin", | |
"note": "", | |
"metricValue": "@{ebitda_margin}" | |
}, | |
"isCodeManaged": false, | |
"position": 4, | |
"parentId": "1c3vvmgyhvkm9d6e", | |
"handlers": {}, | |
"visible": true | |
}, | |
"xlzf1vlkmxokw9yj": { | |
"id": "xlzf1vlkmxokw9yj", | |
"type": "separator", | |
"content": {}, | |
"isCodeManaged": false, | |
"position": 3, | |
"parentId": "1c3vvmgyhvkm9d6e", | |
"handlers": {}, | |
"visible": true | |
}, | |
"c52e2wkln9shvcoq": { | |
"id": "c52e2wkln9shvcoq", | |
"type": "section", | |
"content": { | |
"title": "", | |
"containerBackgroundColor": "#FFE999" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "18wepug77yr8m1iu", | |
"handlers": {}, | |
"visible": "demo_mode.visible" | |
}, | |
"3knng5h0zv8i3xra": { | |
"id": "3knng5h0zv8i3xra", | |
"type": "text", | |
"content": { | |
"text": "@{tab_message}", | |
"useMarkdown": "yes" | |
}, | |
"isCodeManaged": false, | |
"position": 0, | |
"parentId": "c52e2wkln9shvcoq", | |
"handlers": {}, | |
"visible": "" | |
}, | |
"rhomvmilcrm8f2r1": { | |
"id": "rhomvmilcrm8f2r1", | |
"type": "button", | |
"content": { | |
"text": "Summarize earnings" | |
}, | |
"isCodeManaged": false, | |
"position": 2, | |
"parentId": "1yuilwwrhm40gxtx", | |
"handlers": { | |
"wf-click": "summarize_earnings" | |
}, | |
"visible": true | |
}, | |
"1o0ui3hahmjblams": { | |
"id": "1o0ui3hahmjblams", | |
"type": "text", | |
"parentId": "c0f99a9e-5004-4e75-a6c6-36f17490b134", | |
"content": { | |
"text": "Made with \u2764\ufe0f using [Writer Framework](https://github.com/writer/writer-framework/)", | |
"useMarkdown": "yes", | |
"alignment": "center" | |
}, | |
"handlers": {}, | |
"position": 4, | |
"visible": true | |
} | |
} | |
} |