-
Notifications
You must be signed in to change notification settings - Fork 0
/
2 - Inflation Intro.json
1 lines (1 loc) · 380 KB
/
2 - Inflation Intro.json
1
{"uuid":"aef31a4e-c96e-11ed-93db-135854f1169c","page":{"id":138213888,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"query1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"query1\",\"type\",\"datasource\",\"subtype\",\"RESTQuery\",\"namespace\",null,\"resourceName\",\"a47972b9-9a9e-4344-a277-38a5b4107c9e\",\"resourceDisplayName\",\"inflation_api\",\"template\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"~#iL\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",null,\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[]],\"queryTimeout\",\"10001\",\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"bodyType\",\"none\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"style\",null,\"position2\",null,\"mobilePosition2\",null,\"mobileAppPosition\",null,\"tabIndex\",null,\"container\",\"\",\"createdAt\",\"~m1679571273703\",\"updatedAt\",\"~m1679585935610\",\"folder\",\"\",\"screen\",null]]],\"$main\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$main\",\"^4\",\"frame\",\"^5\",\"Frame\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"type\",\"main\",\"sticky\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",false]],\"^;\",[\"^3\",[]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1679571289572\",\"^B\",\"~m1679571289572\",\"^C\",\"\",\"^D\",null]]],\"image1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image1\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"center\",\"srcWidth\",null,\"clickable\",false,\"flipVertical\",false,\"src\",\"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true\",\"hidden\",false,\"srcHeight\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"contain\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"\",\"_disclosedFields\",[],\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"rowGroup\",\"body\",\"subcontainer\",\"\",\"row\",2.2,\"col\",5,\"height\",2.2,\"width\",2,\"tabNum\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1679583372886\",\"^B\",\"~m1679596122413\",\"^C\",\"\",\"^D\",null]]],\"button1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button1\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"Save my money!\",\"showInEditor\",false,\"tooltipText\",\"\",\"style\",[\"^3\",[\"background\",\"danger\"]],\"_disclosedFields\",[],\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"\",\"events\",[\"^:\",[[\"^3\",[\"event\",\"click\",\"type\",\"util\",\"method\",\"openApp\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"uuid\",\"6707d836-c9d3-11ed-aec2-c7174d0bac4e\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",14.800000000000002,\"col\",4,\"^G\",1.2,\"^H\",4,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1679583424330\",\"^B\",\"~m1679622962873\",\"^C\",\"\",\"^D\",null]]],\"textInput1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"textInput1\",\"^4\",\"widget\",\"^5\",\"TextInputWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"iconAfter\",\"\",\"showCharacterCount\",false,\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"patternType\",\"\",\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"100000\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"100000\",\"_disclosedFields\",[],\"label\",\"Your savings (CHF)\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"\",\"minLength\",null,\"inputTooltip\",\"\",\"events\",[\"^:\",[[\"^3\",[\"event\",\"submit\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"query1\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"autoCapitalize\",\"none\",\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",6.6000000000000005,\"col\",4,\"^G\",1,\"^H\",4,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1679583701268\",\"^B\",\"~m1679596984717\",\"^C\",\"\",\"^D\",null]]],\"text2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text2\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"This year's inflation is <b>3.4%</b>. Let's assume that it has an average of <b>2%</b> per year.\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",9.2,\"col\",4,\"^G\",0.6,\"^H\",4,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1679584687760\",\"^B\",\"~m1679646158170\",\"^C\",\"\",\"^D\",null]]],\"text3\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text3\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"{{'After one year, you could purchase as much goods as if you were left with CHF'}} <b>{{textInput1.value - parseInt(textInput1.value / 100 * 2)}}</b>.\\n{{\\n\\n(function () {\\n return '';\\n}())\\n}}\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",10.799999999999999,\"col\",4,\"^G\",0.6,\"^H\",4,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1679587376252\",\"^B\",\"~m1679616330659\",\"^C\",\"\",\"^D\",null]]],\"text5\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text5\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"{{\\\"This means that the total value of your fortune went down by CHF\\\"}} <b>{{parseInt(textInput1.value / 100 * 2)}}</b>.\\n{{\\n\\n(function () {\\n return '';\\n}())\\n}}\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",12.4,\"col\",4,\"^G\",0.6,\"^H\",4,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1679609978574\",\"^B\",\"~m1679616332995\",\"^C\",\"\",\"^D\",null]]]]],\"^A\",null,\"version\",\"2.115.0\",\"appThemeId\",null,\"appMaxWidth\",\"1560px\",\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^:\",[]],\"pageLoadValueOverrides\",[\"^:\",[]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",false,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false,\"mobileOfflineModeDelaySync\",false,\"mobileOfflineModeBannerMode\",\"default\",\"displaySetting\",[\"^ \",\"landscapeMode\",false,\"tabletMode\",false]],\"folders\",[\"^:\",[]],\"queryStatusVisibility\",false,\"markdownLinkBehavior\",\"auto\",\"inAppRetoolPillAppearance\",\"NO_OVERRIDE\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",true,\"runtimeV2OptOut\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",true]]]"},"changesRecord":[{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T23:23:35.266Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T23:23:35.266Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text1":{"id":"text1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### 👋 Welcome on board to...","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:24:36.486Z","namespace":null,"position2":{"col":3,"row":2.2,"width":6,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T05:54:58.906Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"*Learn by SIX* is a platform to **learn about finances**, regardless of your knowledge on the subject.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:30:49.341Z","namespace":null,"position2":{"col":4,"row":9.8,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:42:24.427Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:33:01.993Z","namespace":null,"position2":{"col":4,"row":10.4,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:33:20.358Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","events":{},"hidden":false,"altText":"","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:23:34.882Z","namespace":null,"position2":{"col":4,"row":3.6,"width":4,"height":4.800000000000001,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:26:02.536Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"query1":{"id":"query1","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10001","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T23:23:13.180Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T23:23:13.180Z","resourceName":"54188684-c4ad-46d7-927a-bc3eed255adc","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"$header":{"id":"$header","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"header","style":{"primary-surface":"hsl(4, 57%, 52%)","primary-background":"hsl(4, 57%, 52%)"},"sticky":true,"isHiddenOnMobile":true,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T23:29:20.778Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T23:29:49.793Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Start Learning","style":{"background":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{"uuid":"aef31a4e-c96e-11ed-93db-135854f1169c"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:39:45.279Z","namespace":null,"position2":{"col":4,"row":13.6,"width":4,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:59:39.161Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation1":{"id":"navigation1","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":[],"data":[],"events":{},"hidden":false,"labels":[],"_labels":[],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":[],"iconByIndex":[],"orientation":"horizontal","tooltipText":"","_iconByIndex":[],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":[],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":[],"_tooltipByIndex":[],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":[],"_disclosedFields":[],"_itemTypeByIndex":[],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":[],"_highlightByIndex":[],"_parentKeyByIndex":[],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":[],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-23T23:29:21.096Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"header"},"updatedAt":"2023-03-23T23:30:31.087Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":true,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T11:34:49.572Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T11:34:49.572Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"This year's inflation is <b>{{query1.data['0'].yearly_rate_pct}}%</b>. Let's assume that it has an average of <b>2%</b> per year.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:18:07.760Z","namespace":null,"position2":{"col":4,"row":9.2,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:27.157Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{'After one year, you could purchase as much goods as if you were left with CHF'}} <b>{{textInput1.value - parseInt(textInput1.value / 100 * 2)}}</b>.\n{{\n\n(function () {\n return '';\n}())\n}}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T16:02:56.252Z","namespace":null,"position2":{"col":4,"row":10.799999999999999,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:30.659Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text5":{"id":"text5","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{\"This means that the total value of your fortune went down by CHF\"}} <b>{{parseInt(textInput1.value / 100 * 2)}}</b>.\n{{\n\n(function () {\n return '';\n}())\n}}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:19:38.574Z","namespace":null,"position2":{"col":4,"row":12.4,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:32.995Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","events":{},"hidden":false,"altText":"","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T14:56:12.886Z","namespace":null,"position2":{"col":5,"row":2.2,"width":2,"height":2.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T18:28:42.413Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"query1":{"id":"query1","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10001","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:34:33.703Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T15:38:55.610Z","resourceName":"a47972b9-9a9e-4344-a277-38a5b4107c9e","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Save my money!","style":{"background":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{"uuid":"6707d836-c9d3-11ed-aec2-c7174d0bac4e"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T14:57:04.330Z","namespace":null,"position2":{"col":4,"row":14.800000000000002,"width":4,"height":1.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T01:56:02.873Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"textInput1":{"id":"textInput1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextInputWidget2","tabIndex":null,"template":{"label":"Your savings (CHF)","value":"100000","events":[{"type":"datasource","event":"submit","method":"trigger","params":{},"waitMs":"0","pluginId":"query1","targetId":null,"waitType":"debounce"}],"hidden":false,"invalid":false,"loading":false,"pattern":"","autoFill":"","disabled":false,"readOnly":false,"required":false,"_validate":false,"iconAfter":"","labelWrap":false,"maxLength":null,"minLength":null,"showClear":false,"textAfter":"","iconBefore":"","labelAlign":"left","labelWidth":"33","spellCheck":false,"textBefore":"","formDataKey":"{{ self.id }}","patternType":"","placeholder":"100000","tooltipText":"","autoComplete":false,"inputTooltip":"","labelCaption":"","showInEditor":false,"labelPosition":"left","autoCapitalize":"none","labelWidthUnit":"%","_disclosedFields":[],"customValidation":"","validationMessage":"","showCharacterCount":false,"hideValidationMessage":false,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:01:41.268Z","namespace":null,"position2":{"col":4,"row":6.6000000000000005,"width":4,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T18:43:04.717Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":true,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T23:23:35.266Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T23:23:35.266Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text1":{"id":"text1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### 👋 Welcome on board to...","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:24:36.486Z","namespace":null,"position2":{"col":3,"row":2.2,"width":6,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T05:54:58.906Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"*Learn by SIX* is a platform to **learn about finances**, regardless of your knowledge on the subject.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:30:49.341Z","namespace":null,"position2":{"col":4,"row":9.8,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:42:24.427Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:33:01.993Z","namespace":null,"position2":{"col":4,"row":10.4,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:33:20.358Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","events":{},"hidden":false,"altText":"","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:23:34.882Z","namespace":null,"position2":{"col":4,"row":3.6,"width":4,"height":4.800000000000001,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:26:02.536Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"query1":{"id":"query1","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10001","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T23:23:13.180Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T23:23:13.180Z","resourceName":"54188684-c4ad-46d7-927a-bc3eed255adc","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"$header":{"id":"$header","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"header","style":{"primary-surface":"hsl(4, 57%, 52%)","primary-background":"hsl(4, 57%, 52%)"},"sticky":true,"isHiddenOnMobile":true,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T23:29:20.778Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T23:29:49.793Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Start Learning","style":{"background":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{"uuid":"aef31a4e-c96e-11ed-93db-135854f1169c"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:39:45.279Z","namespace":null,"position2":{"col":4,"row":13.6,"width":4,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:59:39.161Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation1":{"id":"navigation1","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":[],"data":[],"events":{},"hidden":false,"labels":[],"_labels":[],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":[],"iconByIndex":[],"orientation":"horizontal","tooltipText":"","_iconByIndex":[],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":[],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":[],"_tooltipByIndex":[],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":[],"_disclosedFields":[],"_itemTypeByIndex":[],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":[],"_highlightByIndex":[],"_parentKeyByIndex":[],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":[],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-23T23:29:21.096Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"header"},"updatedAt":"2023-03-23T23:30:31.087Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":true,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T11:34:49.572Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T11:34:49.572Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"This year's inflation is <b>{{query1.data['0'].yearly_rate_pct}}%</b>. Let's assume that it has an average of <b>2%</b> per year.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:18:07.760Z","namespace":null,"position2":{"col":4,"row":9.2,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:27.157Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{'After one year, you could purchase as much goods as if you were left with CHF'}} <b>{{textInput1.value - parseInt(textInput1.value / 100 * 2)}}</b>.\n{{\n\n(function () {\n return '';\n}())\n}}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T16:02:56.252Z","namespace":null,"position2":{"col":4,"row":10.799999999999999,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:30.659Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text5":{"id":"text5","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{\"This means that the total value of your fortune went down by CHF\"}} <b>{{parseInt(textInput1.value / 100 * 2)}}</b>.\n{{\n\n(function () {\n return '';\n}())\n}}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:19:38.574Z","namespace":null,"position2":{"col":4,"row":12.4,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:32.995Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","events":{},"hidden":false,"altText":"","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T14:56:12.886Z","namespace":null,"position2":{"col":5,"row":2.2,"width":2,"height":2.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T18:28:42.413Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"query1":{"id":"query1","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10001","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:34:33.703Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T15:38:55.610Z","resourceName":"a47972b9-9a9e-4344-a277-38a5b4107c9e","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Save my money!","style":{"background":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{"uuid":"6707d836-c9d3-11ed-aec2-c7174d0bac4e"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T14:57:04.330Z","namespace":null,"position2":{"col":4,"row":14.800000000000002,"width":4,"height":1.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T01:56:02.873Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"textInput1":{"id":"textInput1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextInputWidget2","tabIndex":null,"template":{"label":"Your savings (CHF)","value":"100000","events":[{"type":"datasource","event":"submit","method":"trigger","params":{},"waitMs":"0","pluginId":"query1","targetId":null,"waitType":"debounce"}],"hidden":false,"invalid":false,"loading":false,"pattern":"","autoFill":"","disabled":false,"readOnly":false,"required":false,"_validate":false,"iconAfter":"","labelWrap":false,"maxLength":null,"minLength":null,"showClear":false,"textAfter":"","iconBefore":"","labelAlign":"left","labelWidth":"33","spellCheck":false,"textBefore":"","formDataKey":"{{ self.id }}","patternType":"","placeholder":"100000","tooltipText":"","autoComplete":false,"inputTooltip":"","labelCaption":"","showInEditor":false,"labelPosition":"left","autoCapitalize":"none","labelWidthUnit":"%","_disclosedFields":[],"customValidation":"","validationMessage":"","showCharacterCount":false,"hideValidationMessage":false,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:01:41.268Z","namespace":null,"position2":{"col":4,"row":6.6000000000000005,"width":4,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T18:43:04.717Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":true,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"USA":{"id":"USA","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=VER01_4&from=2019-09-16","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T08:04:30.941Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T08:04:48.928Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"logo":{"id":"logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","style":{"borderRadius":"4px"},"events":{},"hidden":false,"altText":"six logo","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.542Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":1.6,"tabNum":0,"rowGroup":"header","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-23T17:47:27.257Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","style":{"canvas":"rgba(246, 246, 246, 1)"},"sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:06.724Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:10:48.137Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"Chart":{"id":"Chart","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n{\n\"name\": \"Zurich Bond\",\n\"x\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test.dates}},\n\"y\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#033663\"\n},\n\"mode\": \"lines+markers\"\n},\n{\n\"name\": \"SMI\",\n\"x\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"y\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#FFA500\"\n},\n\"mode\": \"lines+markers\"\n}\n]","title":"","xAxis":"{{eodZurichBond.data.test.dates}}","events":[{"type":"datasource","event":"clear","method":"trigger","params":{},"waitMs":"0","pluginId":"eodZurichBond","targetId":null,"waitType":"debounce"}],"layout":"","chartType":"line","groupByJS":"","xAxisMode":"javascript","xAxisType":"date","dataseries":{"0":{"color":"#033663","label":"values","colors":{},"visible":true,"chartType":"line","datasource":"{{eodZurichBond.data.test['values']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodZurichBond.data.test}}","showInEditor":false,"xAxisDropdown":"dates","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":true,"isLayoutJsonDirty":false,"datasourceDataType":"object","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T12:16:55.661Z","namespace":null,"position2":{"col":0,"row":1.4,"width":9,"height":10.399999999999999,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-24T00:48:12.339Z","resourceName":null,"mobilePosition2":{"col":0,"row":2.4,"width":12,"height":8.4,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Kanton Zürich 23 Bonds","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:17:53.700Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-24T00:53:43.852Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"ZH181 - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:20:43.254Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-24T00:48:44.713Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text4":{"id":"text4","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### iShares SMI® ETF (CH)","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.616Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-24T00:57:39.706Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text5":{"id":"text5","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"CSSMI - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.721Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-24T00:52:22.765Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text6":{"id":"text6","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Verizon Communications Inc","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:47.656Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T08:11:48.459Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text7":{"id":"text7","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"VER01 - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:48.051Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T08:12:12.811Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text8":{"id":"text8","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Vanguard S&P 500 ETF","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:50.414Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T08:08:15.403Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text9":{"id":"text9","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"VOO - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:50.771Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T08:09:07.690Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"title":{"id":"title","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Government bonds: safer alternative to stocks and ETFs","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"top","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.700Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T06:30:09.647Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"Chart2":{"id":"Chart2","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n{\n\"name\": \"US Bond\",\n\"x\": {{USA.data.test == undefined ? '' : USA.data.test.dates}},\n\"y\": {{USA.data.test == undefined ? '' : USA.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{USA.data.test == undefined ? '' : USA.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{USA.data.test == undefined ? '' : USA.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#033663\"\n},\n\"mode\": \"lines+markers\"\n},\n{\n\"name\": \"S&P 500\",\n\"x\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test.dates}},\n\"y\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#FFA500\"\n},\n\"mode\": \"lines+markers\"\n}\n]","title":"","xAxis":"{{eodZurichBond.data.test.dates}}","events":[{"type":"datasource","event":"clear","method":"trigger","params":{},"waitMs":"0","pluginId":"eodZurichBond","targetId":null,"waitType":"debounce"}],"layout":"","chartType":"line","groupByJS":"","xAxisMode":"javascript","xAxisType":"date","dataseries":{"0":{"color":"#033663","label":"values","colors":{},"visible":true,"chartType":"line","datasource":"{{eodZurichBond.data.test['values']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodZurichBond.data.test}}","showInEditor":false,"xAxisDropdown":"dates","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":true,"isLayoutJsonDirty":false,"datasourceDataType":"object","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:45.532Z","namespace":null,"position2":{"col":0,"row":1.6000000000000014,"width":9,"height":10.4,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T08:07:56.128Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"alert1":{"id":"alert1","type":"widget","style":{},"folder":"","screen":null,"subtype":"AlertWidget","tabIndex":null,"template":{"url":"","type":"info","title":"","action":"","newWindow":false,"buttonText":"","buttonType":"action","description":"Stocks can have a larger average annual payoff than bonds, but their price varies a lot more.","exportQuery":"","valueToCopy":"","exportFileName":"","exportFileType":"csv","internalUrlPath":"","internalUrlQuery":"","internalUrlHashParams":""},"container":"","createdAt":"2023-03-23T21:57:24.258Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":1.4000000000000004,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-24T00:58:02.273Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"alert2":{"id":"alert2","type":"widget","style":{},"folder":"","screen":null,"subtype":"AlertWidget","tabIndex":null,"template":{"url":"","type":"info","title":"","action":"","newWindow":false,"buttonText":"","buttonType":"action","description":"Larger example, a US government issued bond compared to the top 500 traded US companies.","exportQuery":"","valueToCopy":"","exportFileName":"","exportFileType":"csv","internalUrlPath":"","internalUrlQuery":"","internalUrlHashParams":""},"container":"","createdAt":"2023-03-24T01:00:45.196Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":1.4,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T07:59:26.891Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"steps1":{"id":"steps1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StepsWidget","tabIndex":null,"template":{"_ids":["1a912","383d5","e9032"],"data":[],"value":"{{ self.values[0] }}","hidden":false,"labels":[],"values":[],"_labels":["","",""],"_values":["Step 1","Step 2","Step 3"],"itemMode":"static","heightType":"auto","orientation":"horizontal","selectedItem":null,"showInEditor":false,"hiddenByIndex":[],"selectedIndex":null,"selectedLabel":"","_hiddenByIndex":["","",""],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","",""],"_tooltipByIndex":["","",""],"horizontalAlign":"center","showStepNumbers":true,"_disclosedFields":[],"navigateContainer":true,"targetContainerId":"steppedContainer1","indicateCompletedSteps":false,"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.318Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:11:49.318Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Share snippet","style":{"background":"danger"},"events":{},"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"bold/interface-share","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:44:03.815Z","namespace":null,"position2":{"col":10,"row":0,"width":2,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T20:45:51.807Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container1":{"id":"container1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:18:47.436Z","namespace":null,"position2":{"col":9,"row":1.3322676295501878e-15,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T17:18:47.436Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container2":{"id":"container2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.331Z","namespace":null,"position2":{"col":9,"row":0.1999999999999993,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T20:28:36.331Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container3":{"id":"container3","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:46.324Z","namespace":null,"position2":{"col":9,"row":1.4,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T01:00:46.324Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container4":{"id":"container4","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:48.371Z","namespace":null,"position2":{"col":9,"row":1.5999999999999996,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T01:00:48.371Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation":{"id":"navigation","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["3595b","6e42f","d5c7b","51b60","eee1d"],"data":[],"style":{"hoverText":"rgba(199, 111, 104, 1)","pillRadius":"5px","highlightText":"rgb(255, 255, 255)","highlightBackground":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{},"waitMs":"0","pluginId":"","targetId":"6e42f","waitType":"debounce"},{"type":"util","event":"click","method":"openUrl","params":{},"waitMs":"0","pluginId":"","targetId":"3595b","waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["Bonds vs Stocks","Stocks vs ETFs","Track your Favourites","UBS-CS Merger","Glossary"],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["6e80c","","","",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["bold/money-bank","bold/shopping-business-stock","bold/interface-favorite-award","bold/shopping-business-handshake","bold/interface-content-book-page"],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["","","","",false],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","","","",""],"_tooltipByIndex":["","","","",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["","","","",false],"_disclosedFields":[],"_itemTypeByIndex":["app","app","app","app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["6707d836-c9d3-11ed-aec2-c7174d0bac4e","ef42d32a-c9d5-11ed-8d55-0f533707d11b","ba057b42-c956-11ed-a714-af9e0330f425","3dcbe15c-c9b9-11ed-9563-ff300355bb57","c2df3b6c-c9b1-11ed-b660-670f9694e5e3"],"_highlightByIndex":["","","","",""],"_parentKeyByIndex":["","","","",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["left","left","left","left","left"],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-23T08:46:06.603Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-24T02:03:58.117Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic1":{"id":"statistic1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodZurichBond.data.allData[eodZurichBond.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodZurichBond.data.allData[eodZurichBond.data.allData.length - 1].value - eodZurichBond.data.allData[0].value)/eodZurichBond.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T14:23:46.605Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container1","subcontainer":"44061"},"updatedAt":"2023-03-24T00:47:37.737Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic2":{"id":"statistic2","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodTimeseriesCS.data.allData[eodZurichBond.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodTimeseriesCS.data.allData[eodTimeseriesCS.data.allData.length - 1].value - eodTimeseriesCS.data.allData[0].value)/eodTimeseriesCS.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T20:28:36.446Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container2","subcontainer":"44061"},"updatedAt":"2023-03-24T00:47:37.744Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic3":{"id":"statistic3","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ USA.data.allData[USA.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((USA.data.allData[USA.data.allData.length - 1].value - USA.data.allData[0].value)/USA.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-24T01:00:46.931Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container3","subcontainer":"44061"},"updatedAt":"2023-03-24T08:10:20.298Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic4":{"id":"statistic4","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ vanguard500.data.allData[vanguard500.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((vanguard500.data.allData[vanguard500.data.allData.length - 1].value - vanguard500.data.allData[0].value)/vanguard500.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-24T01:00:48.823Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container4","subcontainer":"44061"},"updatedAt":"2023-03-24T08:09:50.351Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"nextButton1":{"id":"nextButton1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Next","style":{"background":"danger"},"events":[{"type":"widget","event":"click","method":"showNextVisibleView","params":{"wrap":false},"waitMs":"0","pluginId":"steppedContainer1","waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":"{{ steppedContainer1.currentViewIndex + 1 === steppedContainer1.viewKeys.length }}","clickable":false,"iconAfter":"bold/interface-arrows-right-alternate","iconBefore":"","tooltipText":"","showInEditor":false,"loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.608Z","namespace":null,"position2":{"col":8,"row":0,"width":4,"height":1,"tabNum":0,"rowGroup":"footer","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:16:04.024Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"prevButton1":{"id":"prevButton1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Previous","events":[{"type":"widget","event":"click","method":"showPreviousVisibleView","params":{"wrap":false},"waitMs":"0","enabled":"","pluginId":"steppedContainer1","waitType":"debounce"}],"hidden":"","submit":false,"loading":false,"disabled":"{{ steppedContainer1.currentViewIndex === 0 }}","clickable":false,"iconAfter":"","iconBefore":"bold/interface-arrows-left-alternate","tooltipText":"","showInEditor":false,"styleVariant":"outline","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.501Z","namespace":null,"position2":{"col":0,"row":0,"width":4,"height":1,"tabNum":0,"rowGroup":"footer","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:18:39.063Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"vanguard500":{"id":"vanguard500","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=VOO_69&from=2019-01-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T08:04:00.463Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T08:04:19.752Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo":{"id":"company_logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/zh.ch","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:35:39.257Z","namespace":null,"position2":{"col":0,"row":0.1999999999999999,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-24T00:56:24.130Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo2":{"id":"company_logo2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/blackrock.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.522Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-24T00:57:18.533Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo3":{"id":"company_logo3","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/verizon.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:47.208Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T08:12:37.078Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo4":{"id":"company_logo4","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/vanguard.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:49.923Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T08:13:03.413Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodZurichBond":{"id":"eodZurichBond","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=ZH181_4&from=2019-09-16","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:50:02.018Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T00:43:34.645Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"sidebarFrame1":{"id":"sidebarFrame1","type":"frame","style":{},"folder":"","screen":null,"subtype":"SidebarFrameWidget","tabIndex":null,"template":{"style":{"background":"rgba(255, 255, 255, 1)","primary-surface":"rgb(34, 52, 67)"},"width":"small","hidden":false,"loading":false,"showFooter":true,"showHeader":true,"isInEditMode":false,"styleContext":{"primary":"canvas"},"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:03.553Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:11:50.609Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesCS":{"id":"eodTimeseriesCS","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=CSSMI_4&from=2019-01-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T21:35:05.545Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T00:34:05.098Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"steppedContainer1":{"id":"steppedContainer1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["4acf7","597d0"],"views":[],"events":[{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseriesCSDetail","targetId":null,"waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["",""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["Example 1\n","Example 2\n"],"clickable":false,"heightType":"auto","showFooter":true,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":["",""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":["",""],"currentViewKey":"{{ self.viewKeys[0] }}","tooltipByIndex":[],"_tooltipByIndex":["",""],"disabledByIndex":[],"_disabledByIndex":["",""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":["",""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:48.908Z","namespace":null,"position2":{"col":0,"row":1.4000000000000001,"width":12,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T01:18:05.072Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesCSDetail":{"id":"eodTimeseriesCSDetail","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=CSGN_4&from=2023-02-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T22:26:51.932Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T22:49:59.942Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"never","multiScreenMobileApp":false,"queryStatusVisibility":true,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":false,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":false,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"logo":{"id":"logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","style":{"borderRadius":"4px"},"events":{},"hidden":false,"altText":"six logo","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.542Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":1.6,"tabNum":0,"rowGroup":"header","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-23T17:47:27.257Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","style":{"canvas":"rgba(246, 246, 246, 1)"},"sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:06.724Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:10:48.137Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"Chart":{"id":"Chart","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n{\n\"name\": {{searchInstruments.data.data.searchInstruments['0'].hit.issuer.name}} ,\n\"x\": {{eodTimeseries.data.test == undefined ? '' : eodTimeseries.data.test.dates}},\n\"y\": {{eodTimeseries.data.test == undefined ? '' : eodTimeseries.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodTimeseries.data.test == undefined ? '' : eodTimeseries.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodTimeseries.data.test == undefined ? '' : eodTimeseries.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#033663\"\n},\n\"mode\": \"lines+markers\"\n},\n{\n\"name\": {{ select1.value.split(\"_\")[0] }} ,\n\"x\": {{eodTimeseriesETF.data.test == undefined ? '' : eodTimeseriesETF.data.test.dates}},\n\"y\": {{eodTimeseriesETF.data.test == undefined ? '' : eodTimeseriesETF.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodTimeseriesETF.data.test == undefined ? '' : eodTimeseriesETF.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodTimeseriesETF.data.test == undefined ? '' : eodTimeseriesETF.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#FFA500\"\n},\n\"mode\": \"lines+markers\"\n}\n]","title":"","xAxis":"{{eodTimeseries.data.test.dates}}","events":[{"type":"datasource","event":"clear","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseries","targetId":null,"waitType":"debounce"}],"layout":"","chartType":"line","groupByJS":"","xAxisMode":"javascript","xAxisType":"date","dataseries":{"0":{"color":"#033663","label":"values","colors":{},"visible":true,"chartType":"line","datasource":"{{eodTimeseries.data.test['values']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodTimeseries.data.test}}","showInEditor":false,"xAxisDropdown":"dates","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":true,"isLayoutJsonDirty":false,"datasourceDataType":"object","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T12:16:55.661Z","namespace":null,"position2":{"col":0,"row":0.6000000000000005,"width":9,"height":11.600000000000001,"tabNum":0,"rowGroup":"body","container":"container3","subcontainer":"f12fe"},"updatedAt":"2023-03-24T06:04:36.552Z","resourceName":null,"mobilePosition2":{"col":0,"row":2.4,"width":12,"height":8.4,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### {{searchInstruments.data.data.searchInstruments['0'].hit.issuer.name}} ","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:17:53.700Z","namespace":null,"position2":{"col":0,"row":0.8,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-23T17:18:15.717Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker}} - {{ instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.mostLiquidMarket.name }}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:20:43.254Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-23T17:24:13.426Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text4":{"id":"text4","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"You have probably heard that sentence once in your life, but what does it actually mean and why is diversification the better option for you?\n\nTo explain, we would like you to enter any company you like below:","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:55:11.452Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.6,"tabNum":0,"rowGroup":"body","container":"container2","subcontainer":"f12fe"},"updatedAt":"2023-03-23T23:56:57.390Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text5":{"id":"text5","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"More than 97% of daytraders loose money. Eventhough you might be investing a lot of time into researching the ideal company to invest in, the odds of success are simply not on your side. There are companies who aim to \"beat the market\", but still cannot manage to do so on a consistent basis despite having hundreds of employees whose entire job it is to research and analyse stocks.\n\nWe understand that picking individual stocks is definetely a more exciting experience than just passively paying in money into a broad \"basket\" of various companies. But, the sooner you understand that this is not a financially wise strategy for you, the better.\n\nDon't take our word for it. See how the company you entered above performed against some of the most popular ETFs.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T00:02:28.184Z","namespace":null,"position2":{"col":0,"row":0,"width":10,"height":0.6,"tabNum":0,"rowGroup":"body","container":"container3","subcontainer":"f12fe"},"updatedAt":"2023-03-24T00:34:17.484Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text7":{"id":"text7","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{ select1.value.split(\"_\")[0] }} - {{ instrumentSummaryETF.data.data.instruments['0'].referenceData.instrumentSummary.mostLiquidMarket.name }}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T00:11:38.747Z","namespace":null,"position2":{"col":0,"row":1.2000000000000002,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T00:58:40.700Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text8":{"id":"text8","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"_...compared to the..._","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T00:13:28.515Z","namespace":null,"position2":{"col":9,"row":0.7999999999999998,"width":3,"height":0.6,"tabNum":0,"rowGroup":"body","container":"container3","subcontainer":"f12fe"},"updatedAt":"2023-03-24T00:26:20.058Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"title":{"id":"title","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Single Stocks vs ETFs","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"top","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.700Z","namespace":null,"position2":{"col":0,"row":0,"width":4,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:54:14.032Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company":{"id":"company","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextInputWidget2","tabIndex":null,"template":{"label":"Label","style":{"accent":"danger","sharedValidation":"info"},"value":"","events":[{"type":"datasource","event":"submit","method":"trigger","params":{},"waitMs":"0","enabled":"{{ !!company.value }}","pluginId":"searchInstruments","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"submit","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseriesETF","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"submit","method":"trigger","params":{},"waitMs":"0","pluginId":"instrumentSummaryETF","targetId":null,"waitType":"debounce"}],"hidden":false,"invalid":false,"loading":false,"pattern":"","autoFill":"","disabled":false,"readOnly":false,"required":false,"_validate":false,"hideLabel":true,"iconAfter":"","labelWrap":false,"maxLength":null,"minLength":null,"showClear":false,"textAfter":"","iconBefore":"bold/shopping-business-stock","labelAlign":"left","labelWidth":"33","spellCheck":false,"textBefore":"","formDataKey":"{{ self.id }}","patternType":"","placeholder":"Company","tooltipText":"","autoComplete":false,"inputTooltip":"","labelCaption":"","showInEditor":false,"labelPosition":"left","autoCapitalize":"none","labelWidthUnit":"%","_disclosedFields":[],"customValidation":"","validationMessage":"","showCharacterCount":false,"hideValidationMessage":false,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.876Z","namespace":null,"position2":{"col":0,"row":0.6000000000000001,"width":8,"height":1,"tabNum":0,"rowGroup":"body","container":"container2","subcontainer":"f12fe"},"updatedAt":"2023-03-24T06:14:45.241Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"select1":{"id":"select1","type":"widget","style":{},"folder":"","screen":null,"subtype":"SelectWidget2","tabIndex":null,"template":{"_ids":["7e754","ad7b4","ee04c"],"data":[],"label":"Label","value":"IVV_69","events":[{"type":"datasource","event":"change","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseriesETF","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"change","method":"trigger","params":{},"waitMs":"0","pluginId":"instrumentSummaryETF","targetId":null,"waitType":"debounce"}],"hidden":false,"labels":[],"values":[],"_labels":["20 largest Swiss companies","500 largest US companies","overall US stock market"],"_values":["CSSMI_4","IVV_69","VTI_69"],"invalid":false,"loading":false,"disabled":false,"itemMode":"static","readOnly":false,"required":false,"_validate":false,"hideLabel":true,"iconAfter":"","labelWrap":false,"showClear":false,"textAfter":"","iconBefore":"","inputValue":"","labelAlign":"left","labelWidth":"33","searchMode":"fuzzy","textBefore":"","formDataKey":"{{ self.id }}","iconByIndex":[],"placeholder":"Select an ETF","tooltipText":"","_iconByIndex":["","",""],"colorByIndex":[],"emptyMessage":"No options","imageByIndex":[],"labelCaption":"","selectedItem":null,"showInEditor":false,"_colorByIndex":["","",""],"_imageByIndex":["","",""],"allowDeselect":false,"hiddenByIndex":[],"labelPosition":"left","selectedIndex":null,"selectedLabel":"","_hiddenByIndex":["","",""],"captionByIndex":[],"disabledValues":[],"labelWidthUnit":"%","tooltipByIndex":[],"_captionByIndex":["","",""],"_tooltipByIndex":["","",""],"disabledByIndex":[],"overlayMinWidth":null,"_disabledByIndex":["","",""],"_disclosedFields":[],"allowCustomValue":false,"customValidation":"","deprecatedLabels":[],"overlayMaxHeight":375,"itemAdornmentSize":"auto","validationMessage":"","itemAdornmentShape":"circle","automaticItemColors":false,"fallbackTextByIndex":[],"_fallbackTextByIndex":["","",""],"hideValidationMessage":false,"showSelectionIndicator":true,"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T00:12:34.231Z","namespace":null,"position2":{"col":0,"row":0.19999999999999996,"width":12,"height":1,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T01:00:04.330Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container1":{"id":"container1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:18:47.436Z","namespace":null,"position2":{"col":9,"row":0.5999999999999996,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"container3","subcontainer":"f12fe"},"updatedAt":"2023-03-23T17:18:47.436Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container2":{"id":"container2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["f12fe"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:54:41.778Z","namespace":null,"position2":{"col":0,"row":1.2,"width":6,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:54:41.778Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container3":{"id":"container3","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["f12fe"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T00:01:04.208Z","namespace":null,"position2":{"col":0,"row":6.3999999999999995,"width":12,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:01:04.208Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container4":{"id":"container4","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T00:11:37.848Z","namespace":null,"position2":{"col":9,"row":1.3999999999999995,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"container3","subcontainer":"f12fe"},"updatedAt":"2023-03-24T00:11:37.848Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"logoEngine":{"id":"logoEngine","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?company_name={{searchInstruments.data.data.searchInstruments['0'].hit.issuer.name}} ","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T18:08:11.478Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T18:08:57.917Z","resourceName":"54188684-c4ad-46d7-927a-bc3eed255adc","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation":{"id":"navigation","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["3595b","6e42f","d5c7b","51b60","eee1d"],"data":[],"style":{"hoverText":"rgba(199, 111, 104, 1)","pillRadius":"5px","highlightText":"rgb(255, 255, 255)","highlightBackground":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{},"waitMs":"0","pluginId":"","targetId":"6e42f","waitType":"debounce"},{"type":"util","event":"click","method":"openUrl","params":{},"waitMs":"0","pluginId":"","targetId":"3595b","waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["Bonds vs Stocks","Stocks vs ETFs","Track your Favourites","UBS-CS Merger","Glossary"],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["6e80c","","","",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["bold/money-bank","bold/shopping-business-stock","bold/interface-favorite-award","bold/shopping-business-handshake","bold/interface-content-book-page"],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["","","","",false],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","","","",""],"_tooltipByIndex":["","","","",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["","","","",false],"_disclosedFields":[],"_itemTypeByIndex":["app","app","app","app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["6707d836-c9d3-11ed-aec2-c7174d0bac4e","ef42d32a-c9d5-11ed-8d55-0f533707d11b","ba057b42-c956-11ed-a714-af9e0330f425","3dcbe15c-c9b9-11ed-9563-ff300355bb57","c2df3b6c-c9b1-11ed-b660-670f9694e5e3"],"_highlightByIndex":["","","","",""],"_parentKeyByIndex":["","","","",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["left","left","left","left","left"],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-24T02:06:44.527Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-24T02:06:44.527Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic1":{"id":"statistic1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodTimeseries.data.allData[eodTimeseries.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodTimeseries.data.allData[eodTimeseries.data.allData.length - 1].value - eodTimeseries.data.allData[0].value)/eodTimeseries.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T14:23:46.605Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container1","subcontainer":"44061"},"updatedAt":"2023-03-23T19:48:34.450Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic2":{"id":"statistic2","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodTimeseriesETF.data.allData[eodTimeseriesETF.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummaryETF.data.data.instruments == undefined ? '' : instrumentSummaryETF.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodTimeseriesETF.data.allData[eodTimeseriesETF.data.allData.length - 1].value - eodTimeseriesETF.data.allData[0].value)/eodTimeseriesETF.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-24T00:11:37.999Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container4","subcontainer":"44061"},"updatedAt":"2023-03-24T06:09:23.888Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo":{"id":"company_logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://universal.hellopublic.com/companyLogos/{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}@2x.png","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:35:39.257Z","namespace":null,"position2":{"col":0,"row":0.1999999999999999,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-23T18:58:30.582Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"searchButton":{"id":"searchButton","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Start","style":{"background":"danger"},"events":[{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","enabled":"{{ !!company.value }}","pluginId":"searchInstruments","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseriesETF","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","pluginId":"instrumentSummaryETF","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":"false","disabled":false,"clickable":false,"iconAfter":"","iconBefore":"bold/shopping-business-startup","tooltipText":"","showInEditor":false,"loaderPosition":"auto","submitTargetId":"","horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.921Z","namespace":null,"position2":{"col":8,"row":0.6000000000000001,"width":4,"height":1,"tabNum":0,"rowGroup":"body","container":"container2","subcontainer":"f12fe"},"updatedAt":"2023-03-24T01:00:23.733Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseries":{"id":"eodTimeseries","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids={{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}_{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidMarket.bc }}&from=2019-03-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:50:02.018Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T01:18:41.820Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"sidebarFrame1":{"id":"sidebarFrame1","type":"frame","style":{},"folder":"","screen":null,"subtype":"SidebarFrameWidget","tabIndex":null,"template":{"style":{"background":"rgba(255, 255, 255, 1)","primary-surface":"rgb(34, 52, 67)"},"width":"small","hidden":false,"loading":false,"showFooter":true,"showHeader":true,"isInEditMode":false,"styleContext":{"primary":"canvas"},"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:03.553Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:11:50.609Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"containerTitle1":{"id":"containerTitle1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"#### \"Don't put all your eggs in one basket\"","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:54:41.947Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-23T23:55:23.022Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"containerTitle2":{"id":"containerTitle2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"#### Performance of your chosen company vs the broader market over the last four years","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T00:01:04.356Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T06:11:11.855Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesETF":{"id":"eodTimeseriesETF","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids={{ select1.value }}&from=2019-03-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T00:41:05.864Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T01:18:32.974Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"instrumentSummary":{"id":"instrumentSummary","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids={{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}_{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidMarket.bc }}","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T16:53:21.440Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T17:04:21.316Z","resourceName":"f3315b06-b710-4523-84c4-41f0deff921b","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"searchInstruments":{"id":"searchInstruments","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?query={{ company.value }}","events":[{"type":"datasource","event":"success","method":"trigger","params":{},"waitMs":"0","pluginId":"instrumentSummary","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"success","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseries","targetId":null,"waitType":"debounce"},{"type":"util","event":"failure","method":"showNotification","params":{"options":{"title":"No results :(","description":"We did not find any instruments for your search. Please check the instrument's spelling.","notificationType":"warning"}},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T13:41:15.416Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T00:44:27.543Z","resourceName":"119276bb-e578-4c6a-b14c-75a9fabc62e5","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"instrumentSummaryETF":{"id":"instrumentSummaryETF","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids={{ select1.value }}","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T00:57:56.014Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T00:58:27.320Z","resourceName":"f3315b06-b710-4523-84c4-41f0deff921b","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"never","multiScreenMobileApp":false,"queryStatusVisibility":true,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":false,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":false,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"logo":{"id":"logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","style":{"borderRadius":"4px"},"events":{},"hidden":false,"altText":"six logo","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.542Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":1.6,"tabNum":0,"rowGroup":"header","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-23T17:47:27.257Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","style":{"canvas":"rgba(246, 246, 246, 1)"},"sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:06.724Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:10:48.137Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### {{searchInstruments.data.data.searchInstruments['0'].hit.issuer.name}} ","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:17:53.700Z","namespace":null,"position2":{"col":0,"row":0.8,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-23T17:18:15.717Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker}} - {{ instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.mostLiquidMarket.name }}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:20:43.254Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-23T17:24:13.426Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"title":{"id":"title","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Track Your Favourites","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"top","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.700Z","namespace":null,"position2":{"col":0,"row":0,"width":4,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T07:57:14.546Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"chart1":{"id":"chart1","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n {\n \"name\": {{searchInstruments.data.data.searchInstruments['0'].hit.issuer.name}} ,\n \"x\": {{formatDataAsObject(eodTimeseries.data.allData).date}},\n \"y\": {{formatDataAsObject(eodTimeseries.data.allData)['value']}},\n \"type\": \"line\",\n \"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n \"transforms\": [\n {\n \"type\": \"sort\",\n \"target\": {{formatDataAsObject(eodTimeseries.data.allData).date}},\n \"order\": \"ascending\"\n },\n {\n \"type\": \"aggregate\",\n \"groups\": {{formatDataAsObject(eodTimeseries.data.allData).date}},\n \"aggregations\": [\n {\n \"target\": \"y\",\n \"func\": \"sum\",\n \"enabled\": true\n }\n ]\n }\n ],\n \"marker\": {\n \"color\": \"#033663\"\n },\n \"mode\": \"lines+markers\"\n }\n]","title":"","xAxis":"{{formatDataAsObject(eodTimeseries.data.allData).date}}","layout":"","chartType":"line","groupByJS":"","xAxisMode":"dropdown","xAxisType":"default","dataseries":{"0":{"color":"#033663","label":"value","colors":{},"visible":true,"chartType":"line","datasource":"{{formatDataAsObject(eodTimeseries.data.allData)['value']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodTimeseries.data.allData}}","xAxisDropdown":"date","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":true,"isLayoutJsonDirty":false,"datasourceDataType":"array","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true},"container":"","createdAt":"2023-03-24T07:42:19.510Z","namespace":null,"position2":{"col":0,"row":1.4000000000000001,"width":9,"height":13.200000000000001,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T07:56:34.242Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company":{"id":"company","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextInputWidget2","tabIndex":null,"template":{"label":"Label","style":{"accent":"danger","sharedValidation":"info"},"value":"","events":[{"type":"datasource","event":"submit","method":"trigger","params":{},"waitMs":"0","enabled":"{{ !!company.value }}","pluginId":"searchInstruments","targetId":null,"waitType":"debounce"}],"hidden":false,"invalid":false,"loading":false,"pattern":"","autoFill":"","disabled":false,"readOnly":false,"required":false,"_validate":false,"hideLabel":true,"iconAfter":"","labelWrap":false,"maxLength":null,"minLength":null,"showClear":false,"textAfter":"","iconBefore":"bold/shopping-business-stock","labelAlign":"left","labelWidth":"33","spellCheck":false,"textBefore":"","formDataKey":"{{ self.id }}","patternType":"","placeholder":"Company","tooltipText":"","autoComplete":false,"inputTooltip":"","labelCaption":"","showInEditor":false,"labelPosition":"left","autoCapitalize":"none","labelWidthUnit":"%","_disclosedFields":[],"customValidation":"","validationMessage":"","showCharacterCount":false,"hideValidationMessage":false,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.876Z","namespace":null,"position2":{"col":6,"row":0,"width":2,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T01:32:51.419Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"firstLoad":{"id":"firstLoad","type":"datasource","style":null,"folder":"","screen":null,"subtype":"JavascriptQuery","tabIndex":null,"template":{"data":null,"error":null,"query":"company.setValue('Apple');\nsearchInstruments.trigger();\nsetTimeout(()=>{console.log('timeout out'); company.setValue('');}, 5000);\n","events":[],"rawData":null,"finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T01:35:38.034Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T07:34:03.070Z","resourceName":"JavascriptQuery","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container1":{"id":"container1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:18:47.436Z","namespace":null,"position2":{"col":9,"row":1.4000000000000004,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T17:18:47.436Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"logoEngine":{"id":"logoEngine","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?company_name={{searchInstruments.data.data.searchInstruments['0'].hit.issuer.name}} ","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":false,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T18:08:11.478Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T07:52:27.199Z","resourceName":"54188684-c4ad-46d7-927a-bc3eed255adc","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic1":{"id":"statistic1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodTimeseries.data.allData[eodTimeseries.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodTimeseries.data.allData[eodTimeseries.data.allData.length - 1].value - eodTimeseries.data.allData[0].value)/eodTimeseries.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T14:23:46.605Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container1","subcontainer":"44061"},"updatedAt":"2023-03-23T19:48:34.450Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"clear_input":{"id":"clear_input","type":"datasource","style":null,"folder":"","screen":null,"subtype":"JavascriptQuery","tabIndex":null,"template":{"data":null,"error":null,"query":"console.log('running check if should clear input...');\nif (should_clear_input.value == 1) {\n console.log('clearing input...');\n company.setValue('');\n}\nawait should_clear_input.setValue(0);","events":[],"rawData":null,"finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T07:44:42.757Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T07:45:12.697Z","resourceName":"JavascriptQuery","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation2":{"id":"navigation2","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["3595b","6e42f","d5c7b","51b60","eee1d"],"data":[],"style":{"hoverText":"rgba(199, 111, 104, 1)","pillRadius":"5px","highlightText":"rgb(255, 255, 255)","highlightBackground":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{},"waitMs":"0","pluginId":"","targetId":"6e42f","waitType":"debounce"},{"type":"util","event":"click","method":"openUrl","params":{},"waitMs":"0","pluginId":"","targetId":"3595b","waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["Bonds vs Stocks","Stocks vs ETFs","Track your Favourites","UBS-CS Merger","Glossary"],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["6e80c","","","",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["bold/money-bank","bold/shopping-business-stock","bold/interface-favorite-award","bold/shopping-business-handshake","bold/interface-content-book-page"],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["","","","",false],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","","","",""],"_tooltipByIndex":["","","","",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["","","","",false],"_disclosedFields":[],"_itemTypeByIndex":["app","app","app","app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["6707d836-c9d3-11ed-aec2-c7174d0bac4e","ef42d32a-c9d5-11ed-8d55-0f533707d11b","ba057b42-c956-11ed-a714-af9e0330f425","3dcbe15c-c9b9-11ed-9563-ff300355bb57","c2df3b6c-c9b1-11ed-b660-670f9694e5e3"],"_highlightByIndex":["","","","",""],"_parentKeyByIndex":["","","","",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["left","left","left","left","left"],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-24T02:07:13.770Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-24T02:07:13.770Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo":{"id":"company_logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://universal.hellopublic.com/companyLogos/{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}@2x.png","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:35:39.257Z","namespace":null,"position2":{"col":0,"row":0.1999999999999999,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-23T18:58:30.582Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"searchButton":{"id":"searchButton","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Search","style":{"background":"danger"},"events":[{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","enabled":"{{ !!company.value }}","pluginId":"searchInstruments","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseries","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":"false","disabled":false,"clickable":false,"iconAfter":"","iconBefore":"bold/interface-search","tooltipText":"","showInEditor":false,"loaderPosition":"auto","submitTargetId":"","horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.921Z","namespace":null,"position2":{"col":10,"row":0,"width":2,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T20:15:00.724Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseries":{"id":"eodTimeseries","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids={{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}_{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidMarket.bc }}&from={{ startDateCalculator.data }}","events":[{"type":"util","event":"success","method":"confetti","params":{},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"},{"type":"widget","event":"success","method":"clearSelectedPoints","params":{},"waitMs":"0","pluginId":"Chart","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"success","method":"trigger","params":{},"waitMs":"0","pluginId":"clear_input","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"success","method":"trigger","params":{},"waitMs":"0","pluginId":"instrumentSummary","targetId":null,"waitType":"debounce"}],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":false,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:50:02.018Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T07:52:01.812Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"sidebarFrame1":{"id":"sidebarFrame1","type":"frame","style":{},"folder":"","screen":null,"subtype":"SidebarFrameWidget","tabIndex":null,"template":{"style":{"background":"rgba(255, 255, 255, 1)","primary-surface":"rgb(34, 52, 67)"},"width":"small","hidden":false,"loading":false,"showFooter":true,"showHeader":true,"isInEditMode":false,"styleContext":{"primary":"canvas"},"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:03.553Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:11:50.609Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"fetch_all_data":{"id":"fetch_all_data","type":"datasource","style":null,"folder":"","screen":null,"subtype":"JavascriptQuery","tabIndex":null,"template":{"data":null,"error":null,"query":"console.log('fetching all data...');\n//console.log('launching instrumentSummary...')\n//instrumentSummary.trigger();\nconsole.log('launching startDateCalculator...');\nawait new Promise((resolve) => {\n startDateCalculator.trigger({\n onSuccess: (data) => {\n console.log('successfully executed startDateCalculator');\n console.log('launching search_instruments...');\n should_clear_input.setValue(0);\n searchInstruments.trigger();\n resolve(data);\n },\n });\n});\n","events":[],"rawData":null,"finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T07:29:32.108Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T07:50:50.846Z","resourceName":"JavascriptQuery","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"range_selector":{"id":"range_selector","type":"widget","style":{},"folder":"","screen":null,"subtype":"SelectWidget2","tabIndex":null,"template":{"_ids":["40216","569d8","bc3ef","37cf3","4ae12","83742"],"data":[],"label":"Label","style":{"accent":"danger"},"value":"\"6M\"","events":[{"type":"datasource","event":"change","method":"trigger","params":{},"waitMs":"0","enabled":"{{ !!eodTimeseries.data.dates }}","pluginId":"startDateCalculator","targetId":null,"waitType":"debounce"}],"hidden":false,"labels":[],"values":[],"_labels":["Five days","One month","Six months","Year to date","One year","Five years"],"_values":["5D","1M","6M","YTD","1Y","5Y"],"invalid":false,"loading":false,"disabled":false,"itemMode":"static","readOnly":false,"required":false,"_validate":false,"hideLabel":true,"iconAfter":"","labelWrap":false,"showClear":false,"textAfter":"","iconBefore":"bold/interface-calendar-alternate","inputValue":"","labelAlign":"left","labelWidth":"33","searchMode":"fuzzy","textBefore":"","formDataKey":"{{ self.id }}","iconByIndex":[],"placeholder":"Select an option","tooltipText":"","_iconByIndex":["","","","","",""],"colorByIndex":[],"emptyMessage":"No options","imageByIndex":[],"labelCaption":"","selectedItem":null,"showInEditor":false,"_colorByIndex":["","","","","",""],"_imageByIndex":["","","","","",""],"allowDeselect":false,"hiddenByIndex":[],"labelPosition":"left","selectedIndex":null,"selectedLabel":"","_hiddenByIndex":["","",false,false,false,false],"captionByIndex":[],"disabledValues":[],"labelWidthUnit":"%","tooltipByIndex":[],"_captionByIndex":["","","","","",""],"_tooltipByIndex":["","","","","",""],"disabledByIndex":[],"overlayMinWidth":null,"_disabledByIndex":["","",false,false,false,false],"_disclosedFields":[],"allowCustomValue":false,"customValidation":"","deprecatedLabels":[],"overlayMaxHeight":375,"itemAdornmentSize":"auto","validationMessage":"","itemAdornmentShape":"circle","automaticItemColors":false,"fallbackTextByIndex":[],"_fallbackTextByIndex":["","","","","",""],"hideValidationMessage":false,"showSelectionIndicator":true,"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T14:28:31.888Z","namespace":null,"position2":{"col":8,"row":0,"width":2,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T20:16:17.769Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"instrumentSummary":{"id":"instrumentSummary","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids={{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}_{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidMarket.bc }}","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":false,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T16:53:21.440Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T07:52:19.942Z","resourceName":"f3315b06-b710-4523-84c4-41f0deff921b","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"searchInstruments":{"id":"searchInstruments","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?query={{ company.value }}","events":[{"type":"datasource","event":"success","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseries","targetId":null,"waitType":"debounce"},{"type":"util","event":"failure","method":"showNotification","params":{"options":{"title":"No results :(","description":"We did not find any instruments for your search. Please check the instrument's spelling.","notificationType":"warning"}},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":false,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T13:41:15.416Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T07:52:08.143Z","resourceName":"119276bb-e578-4c6a-b14c-75a9fabc62e5","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"should_clear_input":{"id":"should_clear_input","type":"state","style":null,"folder":"","screen":null,"subtype":"State","tabIndex":null,"template":{"value":"0","persistValue":false,"persistedValueKey":"","_persistedValueGetter":null,"_persistedValueSetter":null},"container":"","createdAt":"2023-03-24T07:30:04.030Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T07:30:10.339Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"startDateCalculator":{"id":"startDateCalculator","type":"datasource","style":null,"folder":"","screen":null,"subtype":"JavascriptQuery","tabIndex":null,"template":{"data":null,"error":null,"query":"// Function to calculate the start date for a given date range\n\n var startDate = new Date(); // start with today's date\n var year = startDate.getFullYear();\n var month = startDate.getMonth();\n var day = startDate.getDate();\n \n // Calculate the start date based on the date range\n switch(range_selector.value) {\n case '1D':\n // For 1 day, subtract 1 day from today's date\n startDate.setDate(startDate.getDate() - 1);\n break;\n case '5D':\n // For 5 days, subtract 5 days from today's date\n startDate.setDate(startDate.getDate() - 5);\n break;\n case '1M':\n // For 1 month, subtract 1 month from today's date\n startDate.setMonth(startDate.getMonth() - 1);\n break;\n case '6M':\n // For 6 months, subtract 6 months from today's date\n startDate.setMonth(startDate.getMonth() - 6);\n break;\n case 'YTD':\n // For year-to-date, set the start date to January 1st of the current year\n startDate = new Date(year, 0, 1);\n break;\n case '1Y':\n // For 1 year, subtract 1 year from today's date\n startDate.setFullYear(startDate.getFullYear() - 1);\n break;\n case '5Y':\n // For 5 years, subtract 5 years from today's date\n startDate.setFullYear(startDate.getFullYear() - 5);\n break;\n default:\n // If an invalid range is provided, return null\n return null;\n }\n \n // Format the start date as YYYY-MM-DD and return it\n var formattedStartDate = startDate.toISOString().slice(0,10);\nreturn formattedStartDate;","events":[{"type":"datasource","event":"success","method":"trigger","params":{},"waitMs":"0","enabled":"{{ !!company.value }}","pluginId":"eodTimeseries","targetId":null,"waitType":"debounce"}],"rawData":null,"finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T15:07:56.750Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:51:17.215Z","resourceName":"JavascriptQuery","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"fetch_all_data_first":{"id":"fetch_all_data_first","type":"datasource","style":null,"folder":"","screen":null,"subtype":"JavascriptQuery","tabIndex":null,"template":{"data":null,"error":null,"query":"console.log('fetching all data and setting should_clear_input to 1...');\n//console.log('launching instrumentSummary...')\n//instrumentSummary.trigger();\nconsole.log('launching startDateCalculator...');\nawait new Promise((resolve) => {\n startDateCalculator.trigger({\n onSuccess: (data) => {\n company.setValue('Apple');\n console.log('successfully executed startDateCalculator');\n console.log('launching search_instruments...');\n should_clear_input.setValue(1);\n searchInstruments.trigger();\n resolve();\n },\n });\n});\n","events":[],"rawData":null,"finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T07:44:18.161Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T07:50:16.255Z","resourceName":"JavascriptQuery","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"never","multiScreenMobileApp":false,"queryStatusVisibility":true,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":false,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":false,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"logo":{"id":"logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","style":{"borderRadius":"4px"},"events":{},"hidden":false,"altText":"six logo","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.542Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":1.6,"tabNum":0,"rowGroup":"header","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-23T17:47:27.257Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","style":{"canvas":"rgba(246, 246, 246, 1)"},"sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:06.724Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:10:48.137Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"Chart":{"id":"Chart","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n{\n\"name\": \"UBS\",\n\"x\": {{eodTimeseriesUBS.data.test == undefined ? '' : eodTimeseriesUBS.data.test.dates}},\n\"y\": {{eodTimeseriesUBS.data.test == undefined ? '' : eodTimeseriesUBS.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodTimeseriesUBS.data.test == undefined ? '' : eodTimeseriesUBS.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodTimeseriesUBS.data.test == undefined ? '' : eodTimeseriesUBS.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#033663\"\n},\n\"mode\": \"lines+markers\"\n},\n{\n\"name\": \"CS\",\n\"x\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"y\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#FFA500\"\n},\n\"mode\": \"lines+markers\"\n}\n]","title":"","xAxis":"{{eodTimeseriesUBS.data.test.dates}}","events":[{"type":"datasource","event":"clear","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseriesUBS","targetId":null,"waitType":"debounce"}],"layout":"","chartType":"line","groupByJS":"","xAxisMode":"javascript","xAxisType":"date","dataseries":{"0":{"color":"#033663","label":"values","colors":{},"visible":true,"chartType":"line","datasource":"{{eodTimeseriesUBS.data.test['values']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodTimeseriesUBS.data.test}}","showInEditor":false,"xAxisDropdown":"dates","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":true,"isLayoutJsonDirty":false,"datasourceDataType":"object","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T12:16:55.661Z","namespace":null,"position2":{"col":0,"row":1.4,"width":9,"height":10.399999999999999,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T21:52:21.494Z","resourceName":null,"mobilePosition2":{"col":0,"row":2.4,"width":12,"height":8.4,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### UBS Group","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:17:53.700Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-23T20:37:50.474Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"UBSG - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:20:43.254Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-23T20:38:32.869Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text4":{"id":"text4","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### CS Group","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.616Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-23T20:40:52.301Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text5":{"id":"text5","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"CSGN - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.721Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-23T21:53:35.344Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text6":{"id":"text6","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### The tragic downfall of Credit Suisse","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:25:35.537Z","namespace":null,"position2":{"col":9,"row":0,"width":3,"height":0.6,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-23T23:29:06.393Z","resourceName":null,"mobilePosition2":{"col":9,"row":0,"width":3,"height":0.6,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"mobileAppPosition":null,"resourceDisplayName":null},"text7":{"id":"text7","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"To summarise the events and see what this now means for the Swiss banking system, we highly recommend this short video by our partner Bloomberg:","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:40:33.202Z","namespace":null,"position2":{"col":0,"row":-5.551115123125783e-17,"width":6,"height":0.6,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"e2a9b"},"updatedAt":"2023-03-23T23:42:31.912Z","resourceName":null,"mobilePosition2":{"col":0,"row":-5.551115123125783e-17,"width":6,"height":0.6,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"e2a9b"},"mobileAppPosition":null,"resourceDisplayName":null},"title":{"id":"title","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### UBS and Credit Suisse Merger: What Happened?","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"top","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.700Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:30:11.222Z","resourceName":null,"mobilePosition2":{"col":0,"row":0,"width":9,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null},"Chart2":{"id":"Chart2","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n {\n \"name\": \"Credit Suisse\",\n \"x\": {{eodTimeseriesCSDetail.data.test == undefined ? '' : eodTimeseriesCSDetail.data.test.dates}},\n \"y\": {{eodTimeseriesCSDetail.data.test == undefined ? '' : eodTimeseriesCSDetail.data.test['values']}},\n \"type\": \"line\",\n \"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n \"transforms\": [\n {\n \"type\": \"sort\",\n \"target\": {{eodTimeseriesCSDetail.data.test == undefined ? '' : eodTimeseriesCSDetail.data.test.dates}},\n \"order\": \"ascending\"\n },\n {\n \"type\": \"aggregate\",\n \"groups\": {{eodTimeseriesCSDetail.data.test == undefined ? '' : eodTimeseriesCSDetail.data.test.dates}},\n \"aggregations\": [\n {\n \"target\": \"y\",\n \"func\": \"sum\",\n \"enabled\": true\n }\n ]\n }\n ],\n \"marker\": {\n \"color\": \"#033663\"\n },\n \"mode\": \"lines+markers\"\n }\n \n]","title":"","xAxis":"{{eodTimeseriesUBS.data.test.dates}}","events":[{"type":"datasource","event":"clear","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseriesUBS","targetId":null,"waitType":"debounce"}],"layout":"","chartType":"line","groupByJS":"","xAxisMode":"javascript","xAxisType":"date","dataseries":{"0":{"color":"#033663","label":"values","colors":{},"visible":true,"chartType":"line","datasource":"{{eodTimeseriesUBS.data.test['values']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodTimeseriesUBS.data.test}}","showInEditor":false,"xAxisDropdown":"dates","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":false,"isLayoutJsonDirty":false,"datasourceDataType":"object","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:19:36.743Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":8.8,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-23T23:28:16.940Z","resourceName":null,"mobilePosition2":{"col":0,"row":0,"width":9,"height":10.4,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"mobileAppPosition":null,"resourceDisplayName":null},"alert1":{"id":"alert1","type":"widget","style":{},"folder":"","screen":null,"subtype":"AlertWidget","tabIndex":null,"template":{"url":"","type":"info","title":"","action":"","newWindow":false,"buttonText":"","buttonType":"action","description":"You may have heard about the news about UBS buying Credit Suisse. Together, we will explore how real events affect the stock prices of companies.","exportQuery":"","valueToCopy":"","exportFileName":"","exportFileType":"csv","internalUrlPath":"","internalUrlQuery":"","internalUrlHashParams":""},"container":"","createdAt":"2023-03-23T21:57:24.258Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":1.4000000000000004,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T22:08:36.828Z","resourceName":null,"mobilePosition2":{"col":0,"row":0,"width":9,"height":1.4000000000000004,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"mobileAppPosition":null,"resourceDisplayName":null},"steps1":{"id":"steps1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StepsWidget","tabIndex":null,"template":{"_ids":["1a912","383d5","e9032"],"data":[],"value":"{{ self.values[0] }}","hidden":false,"labels":[],"values":[],"_labels":["","",""],"_values":["Step 1","Step 2","Step 3"],"itemMode":"static","heightType":"auto","orientation":"horizontal","selectedItem":null,"showInEditor":false,"hiddenByIndex":[],"selectedIndex":null,"selectedLabel":"","_hiddenByIndex":["","",""],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","",""],"_tooltipByIndex":["","",""],"horizontalAlign":"center","showStepNumbers":true,"_disclosedFields":[],"navigateContainer":true,"targetContainerId":"steppedContainer1","indicateCompletedSteps":true,"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.318Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T23:46:25.741Z","resourceName":null,"mobilePosition2":{"col":0,"row":0,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"steppedContainer1","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null},"video1":{"id":"video1","type":"widget","style":{},"folder":"","screen":null,"subtype":"VideoWidget","tabIndex":null,"template":{"src":"https://youtu.be/MMiQ3gn8-UI","loop":false,"events":{},"hidden":false,"volume":1,"playing":false,"duration":0,"tooltipText":"","hideControls":false,"playbackRate":1,"showInEditor":false,"_disclosedFields":[],"currentTimeStamp":0,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:32:54.426Z","namespace":null,"position2":{"col":2,"row":1.6,"width":8,"height":9.8,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"e2a9b"},"updatedAt":"2023-03-23T23:32:57.243Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Share snippet","style":{"background":"danger"},"events":[{"type":"util","event":"click","method":"showNotification","params":{"options":{"title":"Spread the word!","description":"Here you will be able to easily share this insightful snippet with friends, family, or anyone else.","notificationType":"success"}},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"bold/interface-share","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:44:03.815Z","namespace":null,"position2":{"col":10,"row":0,"width":2,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:49:47.755Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"timeline1":{"id":"timeline1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TimelineWidget","tabIndex":null,"template":{"items":"[\"Feb 9th: The Q4 2022 financials are released. <b>-15%</b>\", \"Mar 15th: The Saudi National Bank does not want to invest any further money in CS. <b>-24%</b>\", \"Mar 16th: The Swiss National Bank approves a CHF 50 billion loan to CS. <b>+19%</b>\", \"Mar 19th: UBS takes over CS for 76 centimes per share. <b>-59%</b>\"]","groupBy":"day","pending":"","isGrouped":false,"dateFormat":"","sortedDesc":false,"timeFormat":"","timestamps":"[\"2020-06-29T21:34:00+00:00\", \"2020-06-29T20:39:00+00:00\", \"2020-06-28T11:12:00+00:00\"]","renderAsHtml":true},"container":"","createdAt":"2023-03-23T23:14:02.803Z","namespace":null,"position2":{"col":9,"row":0.6000000000000002,"width":3,"height":6.6,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-23T23:24:26.257Z","resourceName":null,"mobilePosition2":{"col":9,"row":0.6000000000000002,"width":3,"height":6.6,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"mobileAppPosition":null,"resourceDisplayName":null},"container1":{"id":"container1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:18:47.436Z","namespace":null,"position2":{"col":9,"row":1.3322676295501878e-15,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T17:18:47.436Z","resourceName":null,"mobilePosition2":{"col":9,"row":1.3322676295501878e-15,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"mobileAppPosition":null,"resourceDisplayName":null},"container2":{"id":"container2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.331Z","namespace":null,"position2":{"col":9,"row":0.1999999999999993,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T20:28:36.331Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation":{"id":"navigation","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["3595b","6e42f","d5c7b","51b60","eee1d"],"data":[],"style":{"hoverText":"rgba(199, 111, 104, 1)","pillRadius":"5px","highlightText":"rgb(255, 255, 255)","highlightBackground":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{},"waitMs":"0","pluginId":"","targetId":"6e42f","waitType":"debounce"},{"type":"util","event":"click","method":"openUrl","params":{},"waitMs":"0","pluginId":"","targetId":"3595b","waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["Bonds vs Stocks","Stocks vs ETFs","Track your Favourites","UBS-CS Merger","Glossary"],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["6e80c","","","",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["bold/money-bank","bold/shopping-business-stock","bold/interface-favorite-award","bold/shopping-business-handshake","bold/interface-content-book-page"],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["","","","",false],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","","","",""],"_tooltipByIndex":["","","","",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["","","","",false],"_disclosedFields":[],"_itemTypeByIndex":["app","app","app","app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["6707d836-c9d3-11ed-aec2-c7174d0bac4e","ef42d32a-c9d5-11ed-8d55-0f533707d11b","ba057b42-c956-11ed-a714-af9e0330f425","3dcbe15c-c9b9-11ed-9563-ff300355bb57","c2df3b6c-c9b1-11ed-b660-670f9694e5e3"],"_highlightByIndex":["","","","",""],"_parentKeyByIndex":["","","","",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["left","left","left","left","left"],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-24T02:07:59.575Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-24T02:07:59.575Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic1":{"id":"statistic1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodTimeseriesUBS.data.allData[eodTimeseriesUBS.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"CHF","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodTimeseriesUBS.data.allData[eodTimeseriesUBS.data.allData.length - 1].value - eodTimeseriesUBS.data.allData[0].value)/eodTimeseriesUBS.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T14:23:46.605Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container1","subcontainer":"44061"},"updatedAt":"2023-03-23T23:39:52.057Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic2":{"id":"statistic2","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodTimeseriesCS.data.allData[eodTimeseriesUBS.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"CHF","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodTimeseriesCS.data.allData[eodTimeseriesCS.data.allData.length - 1].value - eodTimeseriesCS.data.allData[0].value)/eodTimeseriesCS.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T20:28:36.446Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container2","subcontainer":"44061"},"updatedAt":"2023-03-23T23:39:56.743Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"nextButton1":{"id":"nextButton1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Next","style":{"background":"danger"},"events":[{"type":"widget","event":"click","method":"showNextVisibleView","params":{"wrap":false},"waitMs":"0","pluginId":"steppedContainer1","waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":"{{ steppedContainer1.currentViewIndex + 1 === steppedContainer1.viewKeys.length }}","clickable":false,"iconAfter":"bold/interface-arrows-right-alternate","iconBefore":"","tooltipText":"","showInEditor":false,"loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.608Z","namespace":null,"position2":{"col":8,"row":0,"width":4,"height":1,"tabNum":0,"rowGroup":"footer","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:16:04.024Z","resourceName":null,"mobilePosition2":{"col":8,"row":0,"width":4,"height":1,"tabNum":0,"rowGroup":"footer","container":"steppedContainer1","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null},"prevButton1":{"id":"prevButton1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Previous","events":[{"type":"widget","event":"click","method":"showPreviousVisibleView","params":{"wrap":false},"waitMs":"0","enabled":"","pluginId":"steppedContainer1","waitType":"debounce"}],"hidden":"","submit":false,"loading":false,"disabled":"{{ steppedContainer1.currentViewIndex === 0 }}","clickable":false,"iconAfter":"","iconBefore":"bold/interface-arrows-left-alternate","tooltipText":"","showInEditor":false,"styleVariant":"outline","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.501Z","namespace":null,"position2":{"col":0,"row":0,"width":4,"height":1,"tabNum":0,"rowGroup":"footer","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:18:39.063Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo":{"id":"company_logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/ubs.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:35:39.257Z","namespace":null,"position2":{"col":0,"row":0.1999999999999999,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-23T20:37:25.695Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo2":{"id":"company_logo2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/credit-suisse.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.522Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-23T20:38:58.663Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"sidebarFrame1":{"id":"sidebarFrame1","type":"frame","style":{},"folder":"","screen":null,"subtype":"SidebarFrameWidget","tabIndex":null,"template":{"style":{"background":"rgba(255, 255, 255, 1)","primary-surface":"rgb(34, 52, 67)"},"width":"small","hidden":false,"loading":false,"showFooter":true,"showHeader":true,"isInEditMode":false,"styleContext":{"primary":"canvas"},"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:03.553Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:11:50.609Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesCS":{"id":"eodTimeseriesCS","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=CSGN_4&from=2022-01-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T21:35:05.545Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T22:49:46.634Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesUBS":{"id":"eodTimeseriesUBS","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=UBSG_4&from=2022-01-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:50:02.018Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T22:49:33.973Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"steppedContainer1":{"id":"steppedContainer1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["4acf7","597d0","e2a9b"],"views":[],"events":[{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseriesCSDetail","targetId":null,"waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["","CS's downfall",""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["Overview","Part 2","Summary"],"clickable":false,"heightType":"auto","showFooter":true,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":["","",""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":["","",""],"currentViewKey":"{{ self.viewKeys[0] }}","tooltipByIndex":[],"_tooltipByIndex":["","",""],"disabledByIndex":[],"_disabledByIndex":["","",""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":["","",""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:48.908Z","namespace":null,"position2":{"col":0,"row":1.4000000000000001,"width":12,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:45:28.700Z","resourceName":null,"mobilePosition2":{"col":0,"row":1.4000000000000001,"width":12,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesCSDetail":{"id":"eodTimeseriesCSDetail","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=CSGN_4&from=2023-02-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T22:26:51.932Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T22:49:59.942Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"never","multiScreenMobileApp":false,"queryStatusVisibility":true,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":false,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":false,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T19:35:31.083Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T19:35:31.083Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text1":{"id":"text1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"There are several reasons why you should invest in the stock market:\n\n**Potential for long-term growth**: Historically, the stock market has provided higher returns over the long term compared to other investments such as bonds or savings accounts.\n\n**Ownership in companies**: When investing in the stock market, you have the opportunity to own a portion of companies and potentially benefit from their growth and success.\n\n**Income through dividends**: Some stocks pay dividends to shareholders, providing a regular source of income.\n\n**Inflation protection**: Investing in stocks can help protect against inflation, as the value of stocks has historically increased over time.\n\n**Accessible to individuals**: With the rise of online trading platforms, it's become easier for individuals to invest in the stock market and take control of their own investment decisions.\n\nIt's important to note that investing in the stock market does come with risks and it's important to carefully consider your investment goals and risk tolerance before making any investment decisions. It's also recommended to consult with a financial advisor or do your own research before investing.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T19:35:30.959Z","namespace":null,"position2":{"col":1,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T19:57:03.563Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","events":{},"hidden":false,"altText":"","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T19:43:47.001Z","namespace":null,"position2":{"col":0,"row":0.19999999999999996,"width":1,"height":1.5999999999999999,"tabNum":0,"rowGroup":"header","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-23T19:45:48.678Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"query1":{"id":"query1","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10001","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T19:34:43.406Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T19:34:43.406Z","resourceName":"54188684-c4ad-46d7-927a-bc3eed255adc","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"avatar1":{"id":"avatar1","type":"widget","style":{},"folder":"","screen":null,"subtype":"AvatarWidget","tabIndex":null,"template":{"src":"{{ current_user.profilePhotoUrl }}","icon":"","label":"{{ current_user.fullName }}","style":{"background":"automatic"},"hidden":false,"fallback":"{{ current_user.fullName }}","imageSize":32,"labelWrap":false,"labelAlign":"left","tooltipText":"","labelCaption":"{{ current_user.email }}","showInEditor":false,"labelPosition":"right","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T19:44:25.521Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":0.2,"tabNum":0,"rowGroup":"footer","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-23T19:44:25.521Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation":{"id":"navigation","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["3595b","6e42f","d5c7b","51b60","eee1d"],"data":[],"style":{"hoverText":"rgba(199, 111, 104, 1)","pillRadius":"5px","highlightText":"rgb(255, 255, 255)","highlightBackground":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{},"waitMs":"0","pluginId":"","targetId":"6e42f","waitType":"debounce"},{"type":"util","event":"click","method":"openUrl","params":{},"waitMs":"0","pluginId":"","targetId":"3595b","waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["Bonds vs Stocks","Stocks vs ETFs","Track your Favourites","UBS-CS Merger","Glossary"],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["6e80c","","","",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["bold/money-bank","bold/shopping-business-stock","bold/interface-favorite-award","bold/shopping-business-handshake","bold/interface-content-book-page"],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["","","","",false],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","","","",""],"_tooltipByIndex":["","","","",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["","","","",false],"_disclosedFields":[],"_itemTypeByIndex":["app","app","app","app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["6707d836-c9d3-11ed-aec2-c7174d0bac4e","ef42d32a-c9d5-11ed-8d55-0f533707d11b","ba057b42-c956-11ed-a714-af9e0330f425","3dcbe15c-c9b9-11ed-9563-ff300355bb57","c2df3b6c-c9b1-11ed-b660-670f9694e5e3"],"_highlightByIndex":["","","","",""],"_parentKeyByIndex":["","","","",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["left","left","left","left","left"],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-24T02:08:09.110Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-24T02:08:09.110Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"sidebarFrame1":{"id":"sidebarFrame1","type":"frame","style":{},"folder":"","screen":null,"subtype":"SidebarFrameWidget","tabIndex":null,"template":{"width":"small","hidden":false,"loading":false,"showFooter":true,"showHeader":true,"isInEditMode":false,"isHiddenOnMobile":true,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T19:44:23.304Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T19:44:23.304Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":true,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T23:23:35.266Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T23:23:35.266Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text1":{"id":"text1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### 👋 Welcome on board to...","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:24:36.486Z","namespace":null,"position2":{"col":3,"row":2.2,"width":6,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T05:54:58.906Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"*Learn by SIX* is a platform to **learn about finances**, regardless of your knowledge on the subject.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:30:49.341Z","namespace":null,"position2":{"col":4,"row":9.8,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:42:24.427Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:33:01.993Z","namespace":null,"position2":{"col":4,"row":10.4,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:33:20.358Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","events":{},"hidden":false,"altText":"","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:23:34.882Z","namespace":null,"position2":{"col":4,"row":3.6,"width":4,"height":4.800000000000001,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:26:02.536Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"query1":{"id":"query1","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10001","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T23:23:13.180Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T23:23:13.180Z","resourceName":"54188684-c4ad-46d7-927a-bc3eed255adc","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"$header":{"id":"$header","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"header","style":{"primary-surface":"hsl(4, 57%, 52%)","primary-background":"hsl(4, 57%, 52%)"},"sticky":true,"isHiddenOnMobile":true,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T23:29:20.778Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T23:29:49.793Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Start Learning","style":{"background":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{"uuid":"aef31a4e-c96e-11ed-93db-135854f1169c"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T23:39:45.279Z","namespace":null,"position2":{"col":4,"row":13.6,"width":4,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T23:59:39.161Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation1":{"id":"navigation1","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":[],"data":[],"events":{},"hidden":false,"labels":[],"_labels":[],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":[],"iconByIndex":[],"orientation":"horizontal","tooltipText":"","_iconByIndex":[],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":[],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":[],"_tooltipByIndex":[],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":[],"_disclosedFields":[],"_itemTypeByIndex":[],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":[],"_highlightByIndex":[],"_parentKeyByIndex":[],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":[],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-23T23:29:21.096Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"header"},"updatedAt":"2023-03-23T23:30:31.087Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":true,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"USA":{"id":"USA","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=VER01_4&from=2019-09-16","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T08:04:30.941Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T08:04:48.928Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"logo":{"id":"logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","style":{"borderRadius":"4px"},"events":{},"hidden":false,"altText":"six logo","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.542Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":1.6,"tabNum":0,"rowGroup":"header","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-23T17:47:27.257Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","style":{"canvas":"rgba(246, 246, 246, 1)"},"sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:06.724Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:10:48.137Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"Chart":{"id":"Chart","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n{\n\"name\": \"Zurich Bond\",\n\"x\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test.dates}},\n\"y\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#033663\"\n},\n\"mode\": \"lines+markers\"\n},\n{\n\"name\": \"SMI\",\n\"x\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"y\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#FFA500\"\n},\n\"mode\": \"lines+markers\"\n}\n]","title":"","xAxis":"{{eodZurichBond.data.test.dates}}","events":[{"type":"datasource","event":"clear","method":"trigger","params":{},"waitMs":"0","pluginId":"eodZurichBond","targetId":null,"waitType":"debounce"}],"layout":"","chartType":"line","groupByJS":"","xAxisMode":"javascript","xAxisType":"date","dataseries":{"0":{"color":"#033663","label":"values","colors":{},"visible":true,"chartType":"line","datasource":"{{eodZurichBond.data.test['values']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodZurichBond.data.test}}","showInEditor":false,"xAxisDropdown":"dates","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":true,"isLayoutJsonDirty":false,"datasourceDataType":"object","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T12:16:55.661Z","namespace":null,"position2":{"col":0,"row":1.4,"width":9,"height":10.399999999999999,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-24T00:48:12.339Z","resourceName":null,"mobilePosition2":{"col":0,"row":2.4,"width":12,"height":8.4,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Kanton Zürich 23 Bonds","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:17:53.700Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-24T00:53:43.852Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"ZH181 - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:20:43.254Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-24T00:48:44.713Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text4":{"id":"text4","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### iShares SMI® ETF (CH)","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.616Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-24T00:57:39.706Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text5":{"id":"text5","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"CSSMI - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.721Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-24T00:52:22.765Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text6":{"id":"text6","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Verizon Communications Inc","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:47.656Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T08:11:48.459Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text7":{"id":"text7","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"VER01 - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:48.051Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T08:12:12.811Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text8":{"id":"text8","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Vanguard S&P 500 ETF","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:50.414Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T08:08:15.403Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text9":{"id":"text9","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"VOO - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:50.771Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T08:09:07.690Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"title":{"id":"title","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Government bonds: safer alternative to stocks and ETFs","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"top","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.700Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T06:30:09.647Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"Chart2":{"id":"Chart2","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n{\n\"name\": \"US Bond\",\n\"x\": {{USA.data.test == undefined ? '' : USA.data.test.dates}},\n\"y\": {{USA.data.test == undefined ? '' : USA.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{USA.data.test == undefined ? '' : USA.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{USA.data.test == undefined ? '' : USA.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#033663\"\n},\n\"mode\": \"lines+markers\"\n},\n{\n\"name\": \"S&P 500\",\n\"x\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test.dates}},\n\"y\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#FFA500\"\n},\n\"mode\": \"lines+markers\"\n}\n]","title":"","xAxis":"{{eodZurichBond.data.test.dates}}","events":[{"type":"datasource","event":"clear","method":"trigger","params":{},"waitMs":"0","pluginId":"eodZurichBond","targetId":null,"waitType":"debounce"}],"layout":"","chartType":"line","groupByJS":"","xAxisMode":"javascript","xAxisType":"date","dataseries":{"0":{"color":"#033663","label":"values","colors":{},"visible":true,"chartType":"line","datasource":"{{eodZurichBond.data.test['values']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodZurichBond.data.test}}","showInEditor":false,"xAxisDropdown":"dates","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":true,"isLayoutJsonDirty":false,"datasourceDataType":"object","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:45.532Z","namespace":null,"position2":{"col":0,"row":1.6000000000000014,"width":9,"height":10.4,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T08:07:56.128Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"alert1":{"id":"alert1","type":"widget","style":{},"folder":"","screen":null,"subtype":"AlertWidget","tabIndex":null,"template":{"url":"","type":"info","title":"","action":"","newWindow":false,"buttonText":"","buttonType":"action","description":"Stocks can have a larger average annual payoff than bonds, but their price varies a lot more.","exportQuery":"","valueToCopy":"","exportFileName":"","exportFileType":"csv","internalUrlPath":"","internalUrlQuery":"","internalUrlHashParams":""},"container":"","createdAt":"2023-03-23T21:57:24.258Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":1.4000000000000004,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-24T00:58:02.273Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"alert2":{"id":"alert2","type":"widget","style":{},"folder":"","screen":null,"subtype":"AlertWidget","tabIndex":null,"template":{"url":"","type":"info","title":"","action":"","newWindow":false,"buttonText":"","buttonType":"action","description":"Larger example, a US government issued bond compared to the top 500 traded US companies. ","exportQuery":"","valueToCopy":"","exportFileName":"","exportFileType":"csv","internalUrlPath":"","internalUrlQuery":"","internalUrlHashParams":""},"container":"","createdAt":"2023-03-24T01:00:45.196Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":1.4,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T08:18:21.267Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"steps1":{"id":"steps1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StepsWidget","tabIndex":null,"template":{"_ids":["1a912","383d5","e9032"],"data":[],"value":"{{ self.values[0] }}","hidden":false,"labels":[],"values":[],"_labels":["","",""],"_values":["Step 1","Step 2","Step 3"],"itemMode":"static","heightType":"auto","orientation":"horizontal","selectedItem":null,"showInEditor":false,"hiddenByIndex":[],"selectedIndex":null,"selectedLabel":"","_hiddenByIndex":["","",""],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","",""],"_tooltipByIndex":["","",""],"horizontalAlign":"center","showStepNumbers":true,"_disclosedFields":[],"navigateContainer":true,"targetContainerId":"steppedContainer1","indicateCompletedSteps":false,"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.318Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:11:49.318Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Share snippet","style":{"background":"danger"},"events":{},"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"bold/interface-share","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:44:03.815Z","namespace":null,"position2":{"col":10,"row":0,"width":2,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T20:45:51.807Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container1":{"id":"container1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:18:47.436Z","namespace":null,"position2":{"col":9,"row":1.3322676295501878e-15,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T17:18:47.436Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container2":{"id":"container2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.331Z","namespace":null,"position2":{"col":9,"row":0.1999999999999993,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T20:28:36.331Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container3":{"id":"container3","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:46.324Z","namespace":null,"position2":{"col":9,"row":1.4,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T01:00:46.324Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container4":{"id":"container4","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:48.371Z","namespace":null,"position2":{"col":9,"row":1.5999999999999996,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T01:00:48.371Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation":{"id":"navigation","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["3595b","6e42f","d5c7b","51b60","eee1d"],"data":[],"style":{"hoverText":"rgba(199, 111, 104, 1)","pillRadius":"5px","highlightText":"rgb(255, 255, 255)","highlightBackground":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{},"waitMs":"0","pluginId":"","targetId":"6e42f","waitType":"debounce"},{"type":"util","event":"click","method":"openUrl","params":{},"waitMs":"0","pluginId":"","targetId":"3595b","waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["Bonds vs Stocks","Stocks vs ETFs","Track your Favourites","UBS-CS Merger","Glossary"],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["6e80c","","","",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["bold/money-bank","bold/shopping-business-stock","bold/interface-favorite-award","bold/shopping-business-handshake","bold/interface-content-book-page"],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["","","","",false],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","","","",""],"_tooltipByIndex":["","","","",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["","","","",false],"_disclosedFields":[],"_itemTypeByIndex":["app","app","app","app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["6707d836-c9d3-11ed-aec2-c7174d0bac4e","ef42d32a-c9d5-11ed-8d55-0f533707d11b","ba057b42-c956-11ed-a714-af9e0330f425","3dcbe15c-c9b9-11ed-9563-ff300355bb57","c2df3b6c-c9b1-11ed-b660-670f9694e5e3"],"_highlightByIndex":["","","","",""],"_parentKeyByIndex":["","","","",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["left","left","left","left","left"],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-23T08:46:06.603Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-24T02:03:58.117Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic1":{"id":"statistic1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodZurichBond.data.allData[eodZurichBond.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodZurichBond.data.allData[eodZurichBond.data.allData.length - 1].value - eodZurichBond.data.allData[0].value)/eodZurichBond.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T14:23:46.605Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container1","subcontainer":"44061"},"updatedAt":"2023-03-24T00:47:37.737Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic2":{"id":"statistic2","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodTimeseriesCS.data.allData[eodZurichBond.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodTimeseriesCS.data.allData[eodTimeseriesCS.data.allData.length - 1].value - eodTimeseriesCS.data.allData[0].value)/eodTimeseriesCS.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T20:28:36.446Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container2","subcontainer":"44061"},"updatedAt":"2023-03-24T00:47:37.744Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic3":{"id":"statistic3","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ USA.data.allData[USA.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((USA.data.allData[USA.data.allData.length - 1].value - USA.data.allData[0].value)/USA.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-24T01:00:46.931Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container3","subcontainer":"44061"},"updatedAt":"2023-03-24T08:10:20.298Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic4":{"id":"statistic4","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ vanguard500.data.allData[vanguard500.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((vanguard500.data.allData[vanguard500.data.allData.length - 1].value - vanguard500.data.allData[0].value)/vanguard500.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-24T01:00:48.823Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container4","subcontainer":"44061"},"updatedAt":"2023-03-24T08:09:50.351Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"nextButton1":{"id":"nextButton1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Next","style":{"background":"danger"},"events":[{"type":"widget","event":"click","method":"showNextVisibleView","params":{"wrap":false},"waitMs":"0","pluginId":"steppedContainer1","waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":"{{ steppedContainer1.currentViewIndex + 1 === steppedContainer1.viewKeys.length }}","clickable":false,"iconAfter":"bold/interface-arrows-right-alternate","iconBefore":"","tooltipText":"","showInEditor":false,"loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.608Z","namespace":null,"position2":{"col":8,"row":0,"width":4,"height":1,"tabNum":0,"rowGroup":"footer","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:16:04.024Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"prevButton1":{"id":"prevButton1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Previous","events":[{"type":"widget","event":"click","method":"showPreviousVisibleView","params":{"wrap":false},"waitMs":"0","enabled":"","pluginId":"steppedContainer1","waitType":"debounce"}],"hidden":"","submit":false,"loading":false,"disabled":"{{ steppedContainer1.currentViewIndex === 0 }}","clickable":false,"iconAfter":"","iconBefore":"bold/interface-arrows-left-alternate","tooltipText":"","showInEditor":false,"styleVariant":"outline","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.501Z","namespace":null,"position2":{"col":0,"row":0,"width":4,"height":1,"tabNum":0,"rowGroup":"footer","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:18:39.063Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"vanguard500":{"id":"vanguard500","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=VOO_69&from=2019-01-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T08:04:00.463Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T08:04:19.752Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo":{"id":"company_logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/zh.ch","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:35:39.257Z","namespace":null,"position2":{"col":0,"row":0.1999999999999999,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-24T00:56:24.130Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo2":{"id":"company_logo2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/blackrock.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.522Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-24T00:57:18.533Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo3":{"id":"company_logo3","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/verizon.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:47.208Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T08:12:37.078Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo4":{"id":"company_logo4","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/vanguard.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:49.923Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T08:13:03.413Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodZurichBond":{"id":"eodZurichBond","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=ZH181_4&from=2019-09-16","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:50:02.018Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T00:43:34.645Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"sidebarFrame1":{"id":"sidebarFrame1","type":"frame","style":{},"folder":"","screen":null,"subtype":"SidebarFrameWidget","tabIndex":null,"template":{"style":{"background":"rgba(255, 255, 255, 1)","primary-surface":"rgb(34, 52, 67)"},"width":"small","hidden":false,"loading":false,"showFooter":true,"showHeader":true,"isInEditMode":false,"styleContext":{"primary":"canvas"},"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:03.553Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:11:50.609Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesCS":{"id":"eodTimeseriesCS","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=CSSMI_4&from=2019-01-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T21:35:05.545Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T00:34:05.098Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"steppedContainer1":{"id":"steppedContainer1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["4acf7","597d0"],"views":[],"events":[{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseriesCSDetail","targetId":null,"waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["",""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["Example 1\n","Example 2\n"],"clickable":false,"heightType":"auto","showFooter":true,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":["",""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":["",""],"currentViewKey":"{{ self.viewKeys[0] }}","tooltipByIndex":[],"_tooltipByIndex":["",""],"disabledByIndex":[],"_disabledByIndex":["",""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":["",""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:48.908Z","namespace":null,"position2":{"col":0,"row":1.4000000000000001,"width":12,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T01:18:05.072Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesCSDetail":{"id":"eodTimeseriesCSDetail","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=CSGN_4&from=2023-02-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T22:26:51.932Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T22:49:59.942Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"never","multiScreenMobileApp":false,"queryStatusVisibility":true,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":false,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":false,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"USA":{"id":"USA","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=VER01_4&from=2019-09-16","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T08:04:30.941Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T08:04:48.928Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"logo":{"id":"logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","style":{"borderRadius":"4px"},"events":{},"hidden":false,"altText":"six logo","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.542Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":1.6,"tabNum":0,"rowGroup":"header","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-23T17:47:27.257Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","style":{"canvas":"rgba(246, 246, 246, 1)"},"sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:06.724Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:10:48.137Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"Chart":{"id":"Chart","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n{\n\"name\": \"Zurich Bond\",\n\"x\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test.dates}},\n\"y\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodZurichBond.data.test == undefined ? '' : eodZurichBond.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#033663\"\n},\n\"mode\": \"lines+markers\"\n},\n{\n\"name\": \"SMI\",\n\"x\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"y\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{eodTimeseriesCS.data.test == undefined ? '' : eodTimeseriesCS.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#FFA500\"\n},\n\"mode\": \"lines+markers\"\n}\n]","title":"","xAxis":"{{eodZurichBond.data.test.dates}}","events":[{"type":"datasource","event":"clear","method":"trigger","params":{},"waitMs":"0","pluginId":"eodZurichBond","targetId":null,"waitType":"debounce"}],"layout":"","chartType":"line","groupByJS":"","xAxisMode":"javascript","xAxisType":"date","dataseries":{"0":{"color":"#033663","label":"values","colors":{},"visible":true,"chartType":"line","datasource":"{{eodZurichBond.data.test['values']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodZurichBond.data.test}}","showInEditor":false,"xAxisDropdown":"dates","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":true,"isLayoutJsonDirty":false,"datasourceDataType":"object","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T12:16:55.661Z","namespace":null,"position2":{"col":0,"row":1.4,"width":9,"height":10.399999999999999,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-24T00:48:12.339Z","resourceName":null,"mobilePosition2":{"col":0,"row":2.4,"width":12,"height":8.4,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Kanton Zürich 23 Bonds","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:17:53.700Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-24T00:53:43.852Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"ZH181 - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:20:43.254Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-24T00:48:44.713Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text4":{"id":"text4","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### iShares SMI® ETF (CH)","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.616Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-24T00:57:39.706Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text5":{"id":"text5","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"CSSMI - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.721Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-24T00:52:22.765Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text6":{"id":"text6","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Verizon Communications Inc","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:47.656Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T08:11:48.459Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text7":{"id":"text7","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"VER01 - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:48.051Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T08:12:12.811Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text8":{"id":"text8","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Vanguard S&P 500 ETF","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:50.414Z","namespace":null,"position2":{"col":0,"row":0.8,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T08:08:15.403Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text9":{"id":"text9","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"VOO - SIX SX","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:50.771Z","namespace":null,"position2":{"col":0,"row":1.4,"width":10,"height":0.6,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T08:09:07.690Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"title":{"id":"title","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Government bonds: safer alternative to stocks and ETFs","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"top","disableMarkdown":false,"horizontalAlign":"left","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T08:46:06.700Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T06:30:09.647Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"Chart2":{"id":"Chart2","type":"widget","style":{},"folder":"","screen":null,"subtype":"PlotlyChartWidget","tabIndex":null,"template":{"data":"[\n{\n\"name\": \"US Bond\",\n\"x\": {{USA.data.test == undefined ? '' : USA.data.test.dates}},\n\"y\": {{USA.data.test == undefined ? '' : USA.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{USA.data.test == undefined ? '' : USA.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{USA.data.test == undefined ? '' : USA.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#033663\"\n},\n\"mode\": \"lines+markers\"\n},\n{\n\"name\": \"S&P 500\",\n\"x\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test.dates}},\n\"y\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test['values']}},\n\"type\": \"line\",\n\"hovertemplate\": \"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\",\n\"transforms\": [\n{\n\"type\": \"sort\",\n\"target\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test.dates}},\n\"order\": \"ascending\"\n},\n{\n\"type\": \"aggregate\",\n\"groups\": {{vanguard500.data.test == undefined ? '' : vanguard500.data.test.dates}},\n\"aggregations\": [\n{\n\"target\": \"y\",\n\"func\": \"sum\",\n\"enabled\": true\n}\n]\n}\n],\n\"marker\": {\n\"color\": \"#FFA500\"\n},\n\"mode\": \"lines+markers\"\n}\n]","title":"","xAxis":"{{eodZurichBond.data.test.dates}}","events":[{"type":"datasource","event":"clear","method":"trigger","params":{},"waitMs":"0","pluginId":"eodZurichBond","targetId":null,"waitType":"debounce"}],"layout":"","chartType":"line","groupByJS":"","xAxisMode":"javascript","xAxisType":"date","dataseries":{"0":{"color":"#033663","label":"values","colors":{},"visible":true,"chartType":"line","datasource":"{{eodZurichBond.data.test['values']}}","hovertemplate":"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>","aggregationType":"sum"}},"datasource":"","xAxisTitle":"","yAxisTitle":"","groupByMode":"dropdown","datasourceJS":"{{eodZurichBond.data.test}}","showInEditor":false,"xAxisDropdown":"dates","selectedPoints":[],"groupByDropdown":"","legendAlignment":"bottom","xAxisTickFormat":"","yAxisTickFormat":"","shouldShowLegend":true,"isLayoutJsonDirty":false,"datasourceDataType":"object","datasourcePluginId":null,"onPointSelectQuery":"","datasourceInputMode":"javascript","isDataTemplateDirty":true,"isJsonTemplateDirty":true,"datasourcePluginType":null,"isStackSeriesEnabled":false,"skipDatasourceUpdate":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:45.532Z","namespace":null,"position2":{"col":0,"row":1.6000000000000014,"width":9,"height":10.4,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T08:07:56.128Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"alert1":{"id":"alert1","type":"widget","style":{},"folder":"","screen":null,"subtype":"AlertWidget","tabIndex":null,"template":{"url":"","type":"info","title":"","action":"","newWindow":false,"buttonText":"","buttonType":"action","description":"Stocks can have a larger average annual payoff than bonds, but their price varies a lot more.","exportQuery":"","valueToCopy":"","exportFileName":"","exportFileType":"csv","internalUrlPath":"","internalUrlQuery":"","internalUrlHashParams":""},"container":"","createdAt":"2023-03-23T21:57:24.258Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":1.4000000000000004,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-24T00:58:02.273Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"alert2":{"id":"alert2","type":"widget","style":{},"folder":"","screen":null,"subtype":"AlertWidget","tabIndex":null,"template":{"url":"","type":"info","title":"","action":"","newWindow":false,"buttonText":"","buttonType":"action","description":"Larger example, a US government issued bond compared to the top 500 traded US companies. ","exportQuery":"","valueToCopy":"","exportFileName":"","exportFileType":"csv","internalUrlPath":"","internalUrlQuery":"","internalUrlHashParams":""},"container":"","createdAt":"2023-03-24T01:00:45.196Z","namespace":null,"position2":{"col":0,"row":0,"width":9,"height":1.4,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T08:18:21.267Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"steps1":{"id":"steps1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StepsWidget","tabIndex":null,"template":{"_ids":["1a912","383d5","e9032"],"data":[],"value":"{{ self.values[0] }}","hidden":false,"labels":[],"values":[],"_labels":["","",""],"_values":["Step 1","Step 2","Step 3"],"itemMode":"static","heightType":"auto","orientation":"horizontal","selectedItem":null,"showInEditor":false,"hiddenByIndex":[],"selectedIndex":null,"selectedLabel":"","_hiddenByIndex":["","",""],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","",""],"_tooltipByIndex":["","",""],"horizontalAlign":"center","showStepNumbers":true,"_disclosedFields":[],"navigateContainer":true,"targetContainerId":"steppedContainer1","indicateCompletedSteps":false,"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.318Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.6,"tabNum":0,"rowGroup":"header","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:11:49.318Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Share snippet","style":{"background":"danger"},"events":{},"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"bold/interface-share","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:44:03.815Z","namespace":null,"position2":{"col":10,"row":0,"width":2,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T20:45:51.807Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container1":{"id":"container1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T17:18:47.436Z","namespace":null,"position2":{"col":9,"row":1.3322676295501878e-15,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T17:18:47.436Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container2":{"id":"container2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.331Z","namespace":null,"position2":{"col":9,"row":0.1999999999999993,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"4acf7"},"updatedAt":"2023-03-23T20:28:36.331Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container3":{"id":"container3","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:46.324Z","namespace":null,"position2":{"col":9,"row":1.4,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T01:00:46.324Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"container4":{"id":"container4","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["44061"],"views":[],"events":{},"hidden":false,"labels":[],"_labels":[""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["View 1"],"clickable":false,"heightType":"auto","showFooter":false,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":[""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":[""],"currentViewKey":null,"tooltipByIndex":[],"_tooltipByIndex":[""],"disabledByIndex":[],"_disabledByIndex":[""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":[""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:48.371Z","namespace":null,"position2":{"col":9,"row":1.5999999999999996,"width":3,"height":0.2,"tabNum":0,"rowGroup":"body","container":"steppedContainer1","subcontainer":"597d0"},"updatedAt":"2023-03-24T01:00:48.371Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation":{"id":"navigation","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["3595b","6e42f","d5c7b","51b60","eee1d"],"data":[],"style":{"hoverText":"rgba(199, 111, 104, 1)","pillRadius":"5px","highlightText":"rgb(255, 255, 255)","highlightBackground":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{},"waitMs":"0","pluginId":"","targetId":"6e42f","waitType":"debounce"},{"type":"util","event":"click","method":"openUrl","params":{},"waitMs":"0","pluginId":"","targetId":"3595b","waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["Bonds vs Stocks","Stocks vs ETFs","Track your Favourites","UBS-CS Merger","Glossary"],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["6e80c","","","",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["bold/money-bank","bold/shopping-business-stock","bold/interface-favorite-award","bold/shopping-business-handshake","bold/interface-content-book-page"],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["","","","",false],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["","","","",""],"_tooltipByIndex":["","","","",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["","","","",false],"_disclosedFields":[],"_itemTypeByIndex":["app","app","app","app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["6707d836-c9d3-11ed-aec2-c7174d0bac4e","ef42d32a-c9d5-11ed-8d55-0f533707d11b","ba057b42-c956-11ed-a714-af9e0330f425","3dcbe15c-c9b9-11ed-9563-ff300355bb57","c2df3b6c-c9b1-11ed-b660-670f9694e5e3"],"_highlightByIndex":["","","","",""],"_parentKeyByIndex":["","","","",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["left","left","left","left","left"],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-03-23T08:46:06.603Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-03-24T02:03:58.117Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic1":{"id":"statistic1","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodZurichBond.data.allData[eodZurichBond.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodZurichBond.data.allData[eodZurichBond.data.allData.length - 1].value - eodZurichBond.data.allData[0].value)/eodZurichBond.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T14:23:46.605Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container1","subcontainer":"44061"},"updatedAt":"2023-03-24T00:47:37.737Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic2":{"id":"statistic2","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ eodTimeseriesCS.data.allData[eodZurichBond.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((eodTimeseriesCS.data.allData[eodTimeseriesCS.data.allData.length - 1].value - eodTimeseriesCS.data.allData[0].value)/eodTimeseriesCS.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-23T20:28:36.446Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container2","subcontainer":"44061"},"updatedAt":"2023-03-24T00:47:37.744Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic3":{"id":"statistic3","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ USA.data.allData[USA.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((USA.data.allData[USA.data.allData.length - 1].value - USA.data.allData[0].value)/USA.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-24T01:00:46.931Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container3","subcontainer":"44061"},"updatedAt":"2023-03-24T08:10:20.298Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"statistic4":{"id":"statistic4","type":"widget","style":{},"folder":"","screen":null,"subtype":"StatisticWidget2","tabIndex":null,"template":{"icon":"","align":"left","label":"Current price","value":"{{ vanguard500.data.allData[vanguard500.data.allData.length - 1].value }}","events":{},"hidden":false,"prefix":"","suffix":"","currency":"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}","clickable":false,"padDecimal":false,"enableTrend":true,"signDisplay":"auto","tooltipText":"","labelCaption":"","showInEditor":false,"decimalPlaces":null,"positiveTrend":"{{ self.secondaryValue >= 0 }}","secondaryValue":"{{ Math.round(((vanguard500.data.allData[vanguard500.data.allData.length - 1].value - vanguard500.data.allData[0].value)/vanguard500.data.allData[0].value) * 100)/100 }}","showSeparators":true,"formattingStyle":"currency","secondaryPrefix":"","secondarySuffix":"","_disclosedFields":[],"secondaryCurrency":"USD","secondaryPadDecimal":false,"secondaryEnableTrend":true,"secondarySignDisplay":"trendArrows","secondaryDecimalPlaces":null,"secondaryPositiveTrend":"{{ self.secondaryValue >= 0 }}","maintainSpaceWhenHidden":false,"secondaryShowSeparators":true,"secondaryFormattingStyle":"percent"},"container":"","createdAt":"2023-03-24T01:00:48.823Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"container4","subcontainer":"44061"},"updatedAt":"2023-03-24T08:09:50.351Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"nextButton1":{"id":"nextButton1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Next","style":{"background":"danger"},"events":[{"type":"widget","event":"click","method":"showNextVisibleView","params":{"wrap":false},"waitMs":"0","pluginId":"steppedContainer1","waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":"{{ steppedContainer1.currentViewIndex + 1 === steppedContainer1.viewKeys.length }}","clickable":false,"iconAfter":"bold/interface-arrows-right-alternate","iconBefore":"","tooltipText":"","showInEditor":false,"loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.608Z","namespace":null,"position2":{"col":8,"row":0,"width":4,"height":1,"tabNum":0,"rowGroup":"footer","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:16:04.024Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"prevButton1":{"id":"prevButton1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Previous","events":[{"type":"widget","event":"click","method":"showPreviousVisibleView","params":{"wrap":false},"waitMs":"0","enabled":"","pluginId":"steppedContainer1","waitType":"debounce"}],"hidden":"","submit":false,"loading":false,"disabled":"{{ steppedContainer1.currentViewIndex === 0 }}","clickable":false,"iconAfter":"","iconBefore":"bold/interface-arrows-left-alternate","tooltipText":"","showInEditor":false,"styleVariant":"outline","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:49.501Z","namespace":null,"position2":{"col":0,"row":0,"width":4,"height":1,"tabNum":0,"rowGroup":"footer","container":"steppedContainer1","subcontainer":""},"updatedAt":"2023-03-23T22:18:39.063Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"vanguard500":{"id":"vanguard500","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=VOO_69&from=2019-01-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-24T08:04:00.463Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T08:04:19.752Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo":{"id":"company_logo","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/zh.ch","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:35:39.257Z","namespace":null,"position2":{"col":0,"row":0.1999999999999999,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container1","subcontainer":""},"updatedAt":"2023-03-24T00:56:24.130Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo2":{"id":"company_logo2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/blackrock.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T20:28:36.522Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container2","subcontainer":""},"updatedAt":"2023-03-24T00:57:18.533Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo3":{"id":"company_logo3","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/verizon.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:47.208Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container3","subcontainer":""},"updatedAt":"2023-03-24T08:12:37.078Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"company_logo4":{"id":"company_logo4","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://logo.clearbit.com/vanguard.com","style":{"borderRadius":"90px"},"events":[],"hidden":"","altText":"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"auto","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-24T01:00:49.923Z","namespace":null,"position2":{"col":0,"row":0.2,"width":4,"height":3,"tabNum":0,"rowGroup":"header","container":"container4","subcontainer":""},"updatedAt":"2023-03-24T08:13:03.413Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodZurichBond":{"id":"eodZurichBond","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=ZH181_4&from=2019-09-16","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:50:02.018Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T00:43:34.645Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"sidebarFrame1":{"id":"sidebarFrame1","type":"frame","style":{},"folder":"","screen":null,"subtype":"SidebarFrameWidget","tabIndex":null,"template":{"style":{"background":"rgba(255, 255, 255, 1)","primary-surface":"rgb(34, 52, 67)"},"width":"small","hidden":false,"loading":false,"showFooter":true,"showHeader":true,"isInEditMode":false,"styleContext":{"primary":"canvas"},"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T08:46:03.553Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T20:11:50.609Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesCS":{"id":"eodTimeseriesCS","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=CSSMI_4&from=2019-01-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T21:35:05.545Z","namespace":null,"position2":null,"updatedAt":"2023-03-24T00:34:05.098Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"steppedContainer1":{"id":"steppedContainer1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ContainerWidget2","tabIndex":null,"template":{"_ids":["4acf7","597d0"],"views":[],"events":[{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","pluginId":"eodTimeseriesCSDetail","targetId":null,"waitType":"debounce"}],"hidden":false,"labels":[],"_labels":["",""],"hovered":false,"loading":false,"disabled":false,"itemMode":"static","showBody":true,"viewKeys":[],"_viewKeys":["Example 1\n","Example 2\n"],"clickable":false,"heightType":"auto","showFooter":true,"showHeader":true,"transition":"none","iconByIndex":[],"tooltipText":"","_iconByIndex":["",""],"overflowType":"scroll","showInEditor":false,"hiddenByIndex":[],"hoistFetching":true,"_hiddenByIndex":["",""],"currentViewKey":"{{ self.viewKeys[0] }}","tooltipByIndex":[],"_tooltipByIndex":["",""],"disabledByIndex":[],"_disabledByIndex":["",""],"_disclosedFields":[],"currentViewIndex":null,"iconPositionByIndex":[],"_iconPositionByIndex":["",""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:11:48.908Z","namespace":null,"position2":{"col":0,"row":1.4000000000000001,"width":12,"height":0.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T01:18:05.072Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"eodTimeseriesCSDetail":{"id":"eodTimeseriesCSDetail","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"?ids=CSGN_4&from=2023-02-01","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\n\nlet initialData = data.data.listings[0].marketData.eodTimeseries;\n\nlet newData = {};\nnewData.allData = [];\nnewData.dates = [];\nnewData.test = {};\nnewData.test.dates = [];\nnewData.test.values = [];\n\nfor (let i = 0; i < initialData.length; i ++) {\n if (initialData[i].close) {\n newData.allData.push({'date': initialData[i].sessionDate, 'value': initialData[i].close});\n newData.dates.push(initialData[i].sessionDate);\n newData.test.dates.push(initialData[i].sessionDate);\n newData.test.values.push(initialData[i].close);\n }\n}\n\nreturn newData","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":true,"changesetIsObject":false,"enableTransformer":true,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T22:26:51.932Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T22:49:59.942Z","resourceName":"d9287d5a-597e-4bd1-9f2c-6283193a22e6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"never","multiScreenMobileApp":false,"queryStatusVisibility":true,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":false,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":false,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T11:34:49.572Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T11:34:49.572Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"This year's inflation is <b>{{query1.data['0'].yearly_rate_pct}}%</b>. Let's assume that it has an average of <b>2%</b> per year.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:18:07.760Z","namespace":null,"position2":{"col":4,"row":9.2,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:27.157Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{'After one year, you could purchase as much goods as if you were left with CHF'}} <b>{{textInput1.value - parseInt(textInput1.value / 100 * 2)}}</b>.\n{{\n\n(function () {\n return '';\n}())\n}}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T16:02:56.252Z","namespace":null,"position2":{"col":4,"row":10.799999999999999,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:30.659Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text5":{"id":"text5","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{\"This means that the total value of your fortune went down by CHF\"}} <b>{{parseInt(textInput1.value / 100 * 2)}}</b>.\n{{\n\n(function () {\n return '';\n}())\n}}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:19:38.574Z","namespace":null,"position2":{"col":4,"row":12.4,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:32.995Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","events":{},"hidden":false,"altText":"","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T14:56:12.886Z","namespace":null,"position2":{"col":5,"row":2.2,"width":2,"height":2.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T18:28:42.413Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"query1":{"id":"query1","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10001","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:34:33.703Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T15:38:55.610Z","resourceName":"a47972b9-9a9e-4344-a277-38a5b4107c9e","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Save my money!","style":{"background":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{"uuid":"6707d836-c9d3-11ed-aec2-c7174d0bac4e"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T14:57:04.330Z","namespace":null,"position2":{"col":4,"row":14.800000000000002,"width":4,"height":1.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T01:56:02.873Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"textInput1":{"id":"textInput1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextInputWidget2","tabIndex":null,"template":{"label":"Your savings (CHF)","value":"100000","events":[{"type":"datasource","event":"submit","method":"trigger","params":{},"waitMs":"0","pluginId":"query1","targetId":null,"waitType":"debounce"}],"hidden":false,"invalid":false,"loading":false,"pattern":"","autoFill":"","disabled":false,"readOnly":false,"required":false,"_validate":false,"iconAfter":"","labelWrap":false,"maxLength":null,"minLength":null,"showClear":false,"textAfter":"","iconBefore":"","labelAlign":"left","labelWidth":"33","spellCheck":false,"textBefore":"","formDataKey":"{{ self.id }}","patternType":"","placeholder":"100000","tooltipText":"","autoComplete":false,"inputTooltip":"","labelCaption":"","showInEditor":false,"labelPosition":"left","autoCapitalize":"none","labelWidthUnit":"%","_disclosedFields":[],"customValidation":"","validationMessage":"","showCharacterCount":false,"hideValidationMessage":false,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:01:41.268Z","namespace":null,"position2":{"col":4,"row":6.6000000000000005,"width":4,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T18:43:04.717Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":true,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-03-23T11:34:49.572Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T11:34:49.572Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"This year's inflation is <b>{{query1.data['0'].yearly_rate_pct}}%</b>. Let's assume that it has an average of <b>2%</b> per year.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:18:07.760Z","namespace":null,"position2":{"col":4,"row":9.2,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:27.157Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text3":{"id":"text3","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{'After one year, you could purchase as much goods as if you were left with CHF'}} <b>{{textInput1.value - parseInt(textInput1.value / 100 * 2)}}</b>.\n{{\n\n(function () {\n return '';\n}())\n}}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T16:02:56.252Z","namespace":null,"position2":{"col":4,"row":10.799999999999999,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:30.659Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text5":{"id":"text5","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"{{\"This means that the total value of your fortune went down by CHF\"}} <b>{{parseInt(textInput1.value / 100 * 2)}}</b>.\n{{\n\n(function () {\n return '';\n}())\n}}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T22:19:38.574Z","namespace":null,"position2":{"col":4,"row":12.4,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:32.995Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://github.com/erzloh/start-hack/blob/main/download.png?raw=true","events":{},"hidden":false,"altText":"","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T14:56:12.886Z","namespace":null,"position2":{"col":5,"row":2.2,"width":2,"height":2.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T18:28:42.413Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"query1":{"id":"query1","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"none","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10001","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"offlineUserQueryInputs":"","queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-03-23T11:34:33.703Z","namespace":null,"position2":null,"updatedAt":"2023-03-23T15:38:55.610Z","resourceName":"a47972b9-9a9e-4344-a277-38a5b4107c9e","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Save my money!","style":{"background":"danger"},"events":[{"type":"util","event":"click","method":"openApp","params":{"uuid":"6707d836-c9d3-11ed-aec2-c7174d0bac4e"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T14:57:04.330Z","namespace":null,"position2":{"col":4,"row":14.800000000000002,"width":4,"height":1.2,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T01:56:02.873Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"textInput1":{"id":"textInput1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextInputWidget2","tabIndex":null,"template":{"label":"Your savings (CHF)","value":"100000","events":[{"type":"datasource","event":"submit","method":"trigger","params":{},"waitMs":"0","pluginId":"query1","targetId":null,"waitType":"debounce"}],"hidden":false,"invalid":false,"loading":false,"pattern":"","autoFill":"","disabled":false,"readOnly":false,"required":false,"_validate":false,"iconAfter":"","labelWrap":false,"maxLength":null,"minLength":null,"showClear":false,"textAfter":"","iconBefore":"","labelAlign":"left","labelWidth":"33","spellCheck":false,"textBefore":"","formDataKey":"{{ self.id }}","patternType":"","placeholder":"100000","tooltipText":"","autoComplete":false,"inputTooltip":"","labelCaption":"","showInEditor":false,"labelPosition":"left","autoCapitalize":"none","labelWidthUnit":"%","_disclosedFields":[],"customValidation":"","validationMessage":"","showCharacterCount":false,"hideValidationMessage":false,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:01:41.268Z","namespace":null,"position2":{"col":4,"row":6.6000000000000005,"width":4,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-23T18:43:04.717Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.115.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"displaySetting":{"tabletMode":false,"landscapeMode":false},"mobileOfflineModeEnabled":false,"mobileOfflineModeDelaySync":false,"mobileOfflineModeBannerMode":"default"},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":true,"runtimeV2OptOut":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"WIDGET_TEMPLATE_UPDATE","payload":{"plugin":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"This year's inflation is <b>{{query1.data['0'].yearly_rate_pct}}%</b>. Let's assume that it has an average of <b>2%</b> per year.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:18:07.760Z","namespace":null,"position2":{"col":4,"row":9.2,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T00:05:27.157Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"update":{"value":"This year's inflation is <b>3%</b>. Let's assume that it has an average of <b>2%</b> per year."},"widgetId":"text2","shouldRecalculateTemplate":true},"isUserTriggered":true},{"type":"WIDGET_TEMPLATE_UPDATE","payload":{"plugin":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"This year's inflation is <b>3%</b>. Let's assume that it has an average of <b>2%</b> per year.","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","_disclosedFields":[],"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-03-23T15:18:07.760Z","namespace":null,"position2":{"col":4,"row":9.2,"width":4,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-03-24T08:22:37.119Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"update":{"value":"This year's inflation is <b>3.4%</b>. Let's assume that it has an average of <b>2%</b> per year."},"widgetId":"text2","shouldRecalculateTemplate":true},"isUserTriggered":true}],"gitSha":null,"checksum":null,"createdAt":"2023-03-24T08:22:41.980Z","updatedAt":"2023-03-24T08:22:41.980Z","pageId":1942052,"userId":571060,"branchId":null},"modules":{}}