-
Notifications
You must be signed in to change notification settings - Fork 0
/
5 - Overall Lookup - remake.json
1 lines (1 loc) · 47.8 KB
/
5 - Overall Lookup - remake.json
1
{"uuid":"8e91ab60-ca15-11ed-bcc7-5774393b0662","page":{"id":138215029,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"sidebarFrame1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"sidebarFrame1\",\"type\",\"frame\",\"subtype\",\"SidebarFrameWidget\",\"namespace\",null,\"resourceName\",null,\"resourceDisplayName\",null,\"template\",[\"^3\",[\"width\",\"small\",\"isHiddenOnDesktop\",false,\"hidden\",false,\"showHeader\",true,\"style\",[\"^3\",[\"primary-surface\",\"rgb(34, 52, 67)\",\"background\",\"rgba(255, 255, 255, 1)\"]],\"isHiddenOnMobile\",false,\"showFooter\",true,\"loading\",false,\"isInEditMode\",false,\"styleContext\",[\"^3\",[\"primary\",\"canvas\"]]]],\"style\",[\"^3\",[]],\"position2\",null,\"mobilePosition2\",null,\"mobileAppPosition\",null,\"tabIndex\",null,\"container\",\"\",\"createdAt\",\"~m1679561163553\",\"updatedAt\",\"~m1679602310609\",\"folder\",\"\",\"screen\",null]]],\"logo\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"logo\",\"^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,\"style\",[\"^3\",[\"borderRadius\",\"4px\"]],\"aspectRatio\",null,\"storageBlobId\",\"\",\"_disclosedFields\",[],\"altText\",\"six logo\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"rowGroup\",\"header\",\"subcontainer\",\"sidebarFrame1\",\"row\",0,\"col\",0,\"height\",1.6,\"width\",1,\"tabNum\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679561166542\",\"^A\",\"~m1679593647257\",\"^B\",\"\",\"^C\",null]]],\"title\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"title\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"top\",\"tooltipText\",\"\",\"value\",\"### Track Your Favourites\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^D\",\"body\",\"^E\",\"\",\"row\",0,\"col\",0,\"^F\",0.2,\"^G\",4,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679561166700\",\"^A\",\"~m1679644634546\",\"^B\",\"\",\"^C\",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,\"style\",[\"^3\",[\"canvas\",\"rgba(246, 246, 246, 1)\"]]]],\"^:\",[\"^3\",[]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679561166724\",\"^A\",\"~m1679602248137\",\"^B\",\"\",\"^C\",null]]],\"company\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"company\",\"^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\",\"\",\"style\",[\"^3\",[\"accent\",\"danger\",\"sharedValidation\",\"info\"]],\"labelCaption\",\"\",\"hideLabel\",true,\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Company\",\"_disclosedFields\",[],\"label\",\"Label\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"bold/shopping-business-stock\",\"minLength\",null,\"inputTooltip\",\"\",\"events\",[\"~#iL\",[[\"^3\",[\"method\",\"trigger\",\"enabled\",\"{{ !!company.value }}\",\"params\",[\"^3\",[]],\"targetId\",null,\"pluginId\",\"searchInstruments\",\"waitType\",\"debounce\",\"event\",\"submit\",\"type\",\"datasource\",\"waitMs\",\"0\"]]]],\"autoCapitalize\",\"none\",\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^D\",\"body\",\"^E\",\"\",\"row\",0,\"col\",6,\"^F\",1,\"^G\",2,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679561166876\",\"^A\",\"~m1679621571419\",\"^B\",\"\",\"^C\",null]]],\"searchButton\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"searchButton\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",\"\",\"hidden\",false,\"text\",\"Search\",\"showInEditor\",false,\"tooltipText\",\"\",\"style\",[\"^3\",[\"background\",\"danger\"]],\"_disclosedFields\",[],\"submit\",false,\"iconBefore\",\"bold/interface-search\",\"events\",[\"^I\",[[\"^3\",[\"method\",\"trigger\",\"enabled\",\"{{ !!company.value }}\",\"params\",[\"^3\",[]],\"targetId\",null,\"pluginId\",\"searchInstruments\",\"waitType\",\"debounce\",\"event\",\"click\",\"type\",\"datasource\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"click\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"eodTimeseries\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",\"false\",\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^D\",\"body\",\"^E\",\"\",\"row\",0,\"col\",10,\"^F\",1,\"^G\",2,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679561166921\",\"^A\",\"~m1679602500724\",\"^B\",\"\",\"^C\",null]]],\"eodTimeseries\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"eodTimeseries\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"d9287d5a-597e-4bd1-9f2c-6283193a22e6\",\"^8\",\"eodTimeseries\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",false,\"paginationEnabled\",false,\"query\",\"?ids={{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}_{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidMarket.bc }}&from={{ startDateCalculator.data }}\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",false,\"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\",[\"^I\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",true,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"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\",\"events\",[\"^I\",[[\"^3\",[\"event\",\"success\",\"type\",\"util\",\"method\",\"confetti\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"success\",\"type\",\"widget\",\"method\",\"clearSelectedPoints\",\"pluginId\",\"Chart\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"success\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"clear_input\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"success\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"instrumentSummary\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"bodyType\",\"none\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679572202018\",\"^A\",\"~m1679644321812\",\"^B\",\"\",\"^C\",null]]],\"searchInstruments\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"searchInstruments\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"119276bb-e578-4c6a-b14c-75a9fabc62e5\",\"^8\",\"searchInstruments\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",false,\"paginationEnabled\",false,\"query\",\"?query={{ company.value }}\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",false,\"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\",[\"^I\",[]],\"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\",[\"^I\",[[\"^3\",[\"event\",\"success\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"eodTimeseries\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"failure\",\"type\",\"util\",\"method\",\"showNotification\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"options\",[\"^3\",[\"notificationType\",\"warning\",\"title\",\"No results :(\",\"description\",\"We did not find any instruments for your search. Please check the instrument's spelling.\"]]]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"bodyType\",\"none\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679578875416\",\"^A\",\"~m1679644328143\",\"^B\",\"\",\"^C\",null]]],\"statistic1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"statistic1\",\"^4\",\"widget\",\"^5\",\"StatisticWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"clickable\",false,\"positiveTrend\",\"{{ self.secondaryValue >= 0 }}\",\"signDisplay\",\"auto\",\"secondaryCurrency\",\"USD\",\"secondarySuffix\",\"\",\"align\",\"left\",\"secondaryPrefix\",\"\",\"secondaryEnableTrend\",true,\"secondaryDecimalPlaces\",null,\"hidden\",false,\"showSeparators\",true,\"formattingStyle\",\"currency\",\"showInEditor\",false,\"secondaryPositiveTrend\",\"{{ self.secondaryValue >= 0 }}\",\"tooltipText\",\"\",\"currency\",\"{{ instrumentSummary.data.data.instruments == undefined ? '' : instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.nominalCurrency }}\",\"value\",\"{{ eodTimeseries.data.allData[eodTimeseries.data.allData.length - 1].value }}\",\"secondarySignDisplay\",\"trendArrows\",\"suffix\",\"\",\"labelCaption\",\"\",\"prefix\",\"\",\"secondaryPadDecimal\",false,\"_disclosedFields\",[],\"label\",\"Current price\",\"secondaryFormattingStyle\",\"percent\",\"icon\",\"\",\"events\",[\"^3\",[]],\"enableTrend\",true,\"secondaryValue\",\"{{ Math.round(((eodTimeseries.data.allData[eodTimeseries.data.allData.length - 1].value - eodTimeseries.data.allData[0].value)/eodTimeseries.data.allData[0].value) * 100)/100 }}\",\"decimalPlaces\",null,\"padDecimal\",false,\"maintainSpaceWhenHidden\",false,\"secondaryShowSeparators\",true]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"container1\",\"^D\",\"body\",\"^E\",\"44061\",\"row\",0,\"col\",0,\"^F\",0.8,\"^G\",12,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679581426605\",\"^A\",\"~m1679600914450\",\"^B\",\"\",\"^C\",null]]],\"range_selector\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"range_selector\",\"^4\",\"widget\",\"^5\",\"SelectWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"imageByIndex\",[],\"_disabledByIndex\",[\"^I\",[\"\",\"\",false,false,false,false]],\"showSelectionIndicator\",true,\"_values\",[\"^I\",[\"5D\",\"1M\",\"6M\",\"YTD\",\"1Y\",\"5Y\"]],\"iconByIndex\",[],\"values\",[],\"readOnly\",false,\"iconAfter\",\"\",\"_iconByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\",\"\"]],\"overlayMinWidth\",null,\"allowDeselect\",false,\"inputValue\",\"\",\"hidden\",false,\"customValidation\",\"\",\"data\",[],\"searchMode\",\"fuzzy\",\"hideValidationMessage\",false,\"fallbackTextByIndex\",[],\"textBefore\",\"\",\"_fallbackTextByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\",\"\"]],\"selectedItem\",null,\"validationMessage\",\"\",\"automaticItemColors\",false,\"itemAdornmentShape\",\"circle\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"\\\"6M\\\"\",\"style\",[\"^3\",[\"accent\",\"danger\"]],\"hiddenByIndex\",[],\"labelCaption\",\"\",\"hideLabel\",true,\"labelWidth\",\"33\",\"deprecatedLabels\",[],\"_hiddenByIndex\",[\"^I\",[\"\",\"\",false,false,false,false]],\"placeholder\",\"Select an option\",\"_captionByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\",\"\"]],\"_disclosedFields\",[],\"itemAdornmentSize\",\"auto\",\"label\",\"Label\",\"_hasMigratedNestedItems\",true,\"captionByIndex\",[],\"_validate\",false,\"itemMode\",\"static\",\"labelWidthUnit\",\"%\",\"allowCustomValue\",false,\"invalid\",false,\"selectedIndex\",null,\"_tooltipByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\",\"\"]],\"_colorByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\",\"\"]],\"tooltipByIndex\",[],\"iconBefore\",\"bold/interface-calendar-alternate\",\"colorByIndex\",[],\"selectedLabel\",\"\",\"events\",[\"^I\",[[\"^3\",[\"event\",\"change\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"startDateCalculator\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\",\"enabled\",\"{{ !!eodTimeseries.data.dates }}\"]]]],\"_ids\",[\"^I\",[\"40216\",\"569d8\",\"bc3ef\",\"37cf3\",\"4ae12\",\"83742\"]],\"emptyMessage\",\"No options\",\"overlayMaxHeight\",375,\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"_labels\",[\"^I\",[\"Five days\",\"One month\",\"Six months\",\"Year to date\",\"One year\",\"Five years\"]],\"labelWrap\",false,\"disabledValues\",[],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"_imageByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\",\"\"]],\"required\",false,\"labels\",[]]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^D\",\"body\",\"^E\",\"\",\"row\",0,\"col\",8,\"^F\",1,\"^G\",2,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679581711888\",\"^A\",\"~m1679602577769\",\"^B\",\"\",\"^C\",null]]],\"startDateCalculator\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"startDateCalculator\",\"^4\",\"datasource\",\"^5\",\"JavascriptQuery\",\"^6\",null,\"^7\",\"JavascriptQuery\",\"^8\",null,\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"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;\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",false,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"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\",[\"^I\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"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\",[\"^I\",[[\"^3\",[\"method\",\"trigger\",\"enabled\",\"{{ !!company.value }}\",\"params\",[\"^3\",[]],\"targetId\",null,\"pluginId\",\"eodTimeseries\",\"waitType\",\"debounce\",\"event\",\"success\",\"type\",\"datasource\",\"waitMs\",\"0\"]]]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679584076750\",\"^A\",\"~m1679604677215\",\"^B\",\"\",\"^C\",null]]],\"company_logo\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"company_logo\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"srcWidth\",null,\"clickable\",false,\"flipVertical\",false,\"src\",\"https://universal.hellopublic.com/companyLogos/{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}@2x.png\",\"hidden\",\"\",\"srcHeight\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"cover\",\"flipHorizontal\",false,\"style\",[\"^3\",[\"borderRadius\",\"90px\"]],\"aspectRatio\",null,\"storageBlobId\",\"\",\"_disclosedFields\",[],\"altText\",\"{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}\",\"dbBlobId\",\"\",\"events\",[\"^I\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"container1\",\"^D\",\"header\",\"^E\",\"\",\"row\",0.1999999999999999,\"col\",0,\"^F\",3,\"^G\",4,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679585739257\",\"^A\",\"~m1679597910582\",\"^B\",\"\",\"^C\",null]]],\"instrumentSummary\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"instrumentSummary\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"f3315b06-b710-4523-84c4-41f0deff921b\",\"^8\",\"instrumentSummary\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",false,\"paginationEnabled\",false,\"query\",\"?ids={{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker }}_{{ searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidMarket.bc }}\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"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\",[\"^I\",[]],\"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\",[\"^I\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"bodyType\",\"none\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679590401440\",\"^A\",\"~m1679644339942\",\"^B\",\"\",\"^C\",null]]],\"text2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text2\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"### {{searchInstruments.data.data.searchInstruments['0'].hit.issuer.name}} \",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"container1\",\"^D\",\"header\",\"^E\",\"\",\"row\",0.8,\"col\",0,\"^F\",0.6,\"^G\",10,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679591873700\",\"^A\",\"~m1679591895717\",\"^B\",\"\",\"^C\",null]]],\"container1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"container1\",\"^4\",\"widget\",\"^5\",\"ContainerWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"^I\",[\"\"]],\"heightType\",\"auto\",\"currentViewKey\",null,\"iconByIndex\",[],\"clickable\",false,\"_iconByIndex\",[\"^I\",[\"\"]],\"hidden\",false,\"showHeader\",true,\"hoistFetching\",true,\"views\",[],\"showInEditor\",false,\"tooltipText\",\"\",\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^I\",[\"\"]],\"_disclosedFields\",[],\"currentViewIndex\",null,\"_hasMigratedNestedItems\",true,\"transition\",\"none\",\"itemMode\",\"static\",\"_tooltipByIndex\",[\"^I\",[\"\"]],\"tooltipByIndex\",[],\"showFooter\",false,\"_viewKeys\",[\"^I\",[\"View 1\"]],\"events\",[\"^3\",[]],\"_ids\",[\"^I\",[\"44061\"]],\"viewKeys\",[],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^I\",[\"\"]],\"hovered\",false,\"loading\",false,\"overflowType\",\"scroll\",\"disabled\",false,\"_labels\",[\"^I\",[\"\"]],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"showBody\",true,\"labels\",[]]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^D\",\"body\",\"^E\",\"\",\"row\",1.4000000000000004,\"col\",9,\"^F\",0.2,\"^G\",3,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679591927436\",\"^A\",\"~m1679591927436\",\"^B\",\"\",\"^C\",null]]],\"text3\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text3\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"{{searchInstruments.data.data.searchInstruments['0'].hit.mostLiquidListing.ticker}} - {{ instrumentSummary.data.data.instruments['0'].referenceData.instrumentSummary.mostLiquidMarket.name }}\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"container1\",\"^D\",\"header\",\"^E\",\"\",\"row\",1.4,\"col\",0,\"^F\",0.6,\"^G\",10,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679592043254\",\"^A\",\"~m1679592253426\",\"^B\",\"\",\"^C\",null]]],\"logoEngine\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"logoEngine\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"54188684-c4ad-46d7-927a-bc3eed255adc\",\"^8\",\"Getting Ticker\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",false,\"paginationEnabled\",false,\"query\",\"?company_name={{searchInstruments.data.data.searchInstruments['0'].hit.issuer.name}} \",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",false,\"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\",[\"^I\",[]],\"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\",[\"^I\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"bodyType\",\"none\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679594891478\",\"^A\",\"~m1679644347199\",\"^B\",\"\",\"^C\",null]]],\"firstLoad\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"firstLoad\",\"^4\",\"datasource\",\"^5\",\"JavascriptQuery\",\"^6\",null,\"^7\",\"JavascriptQuery\",\"^8\",null,\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"query\",\"company.setValue('Apple');\\nsearchInstruments.trigger();\\nsetTimeout(()=>{console.log('timeout out'); company.setValue('');}, 5000);\\n\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"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\",[\"^I\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"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\",[\"^I\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679621738034\",\"^A\",\"~m1679643243070\",\"^B\",\"\",\"^C\",null]]],\"fetch_all_data\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"fetch_all_data\",\"^4\",\"datasource\",\"^5\",\"JavascriptQuery\",\"^6\",null,\"^7\",\"JavascriptQuery\",\"^8\",null,\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"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\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"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\",[\"^I\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"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\",[\"^I\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679642972108\",\"^A\",\"~m1679644250846\",\"^B\",\"\",\"^C\",null]]],\"should_clear_input\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"should_clear_input\",\"^4\",\"state\",\"^5\",\"State\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_persistedValueGetter\",null,\"_persistedValueSetter\",null,\"persistValue\",false,\"persistedValueKey\",\"\",\"value\",\"0\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679643004030\",\"^A\",\"~m1679643010339\",\"^B\",\"\",\"^C\",null]]],\"chart1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"chart1\",\"^4\",\"widget\",\"^5\",\"PlotlyChartWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"dataseries\",[\"^3\",[\"0\",[\"^3\",[\"label\",\"value\",\"datasource\",\"{{formatDataAsObject(eodTimeseries.data.allData)['value']}}\",\"chartType\",\"line\",\"aggregationType\",\"sum\",\"color\",\"#033663\",\"colors\",[\"^3\",[]],\"visible\",true,\"hovertemplate\",\"<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>\"]]]],\"isDataTemplateDirty\",true,\"datasource\",\"\",\"isJsonTemplateDirty\",true,\"groupByDropdown\",\"\",\"datasourceInputMode\",\"javascript\",\"datasourceDataType\",\"array\",\"layout\",\"\",\"xAxisDropdown\",\"date\",\"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]\",\"isStackSeriesEnabled\",false,\"xAxisTickFormat\",\"\",\"skipDatasourceUpdate\",true,\"datasourceJS\",\"{{eodTimeseries.data.allData}}\",\"yAxisTickFormat\",\"\",\"datasourcePluginType\",null,\"xAxisType\",\"default\",\"datasourcePluginId\",null,\"legendAlignment\",\"bottom\",\"isLayoutJsonDirty\",false,\"chartType\",\"line\",\"title\",\"\",\"xAxis\",\"{{formatDataAsObject(eodTimeseries.data.allData).date}}\",\"groupByMode\",\"dropdown\",\"onPointSelectQuery\",\"\",\"xAxisMode\",\"dropdown\",\"shouldShowLegend\",true,\"yAxisTitle\",\"\",\"selectedPoints\",[],\"xAxisTitle\",\"\",\"groupByJS\",\"\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^D\",\"body\",\"^E\",\"\",\"row\",1.4000000000000001,\"col\",0,\"^F\",13.200000000000001,\"^G\",9,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679643739510\",\"^A\",\"~m1679644594242\",\"^B\",\"\",\"^C\",null]]],\"fetch_all_data_first\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"fetch_all_data_first\",\"^4\",\"datasource\",\"^5\",\"JavascriptQuery\",\"^6\",null,\"^7\",\"JavascriptQuery\",\"^8\",null,\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"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\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"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\",[\"^I\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",true,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^I\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679643858161\",\"^A\",\"~m1679644216255\",\"^B\",\"\",\"^C\",null]]],\"clear_input\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"clear_input\",\"^4\",\"datasource\",\"^5\",\"JavascriptQuery\",\"^6\",null,\"^7\",\"JavascriptQuery\",\"^8\",null,\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"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);\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"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\",[\"^I\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"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\",[\"^I\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679643882757\",\"^A\",\"~m1679643912697\",\"^B\",\"\",\"^C\",null]]],\"navigation1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"navigation1\",\"^4\",\"widget\",\"^5\",\"NavigationWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",false]],\"heightType\",\"auto\",\"iconByIndex\",[],\"srcWidth\",null,\"_iconByIndex\",[\"^I\",[\"bold/money-bank\",\"bold/shopping-business-stock\",\"bold/interface-favorite-award\",\"bold/shopping-business-handshake\",\"bold/interface-content-book-page\"]],\"src\",\"\",\"overflowMode\",\"scroll\",\"_parentKeyByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\"]],\"_highlightByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\"]],\"parentKeyByIndex\",[],\"highlightByIndex\",[],\"_appTargetByIndex\",[\"^I\",[\"6707d836-c9d3-11ed-aec2-c7174d0bac4e\",\"ef42d32a-c9d5-11ed-8d55-0f533707d11b\",\"8e91ab60-ca15-11ed-bcc7-5774393b0662\",\"3dcbe15c-c9b9-11ed-9563-ff300355bb57\",\"c2df3b6c-c9b1-11ed-b660-670f9694e5e3\"]],\"appTargetByIndex\",[],\"hidden\",false,\"data\",[],\"srcHeight\",null,\"itemTypeByIndex\",[],\"showInEditor\",false,\"_itemTypeByIndex\",[\"^I\",[\"app\",\"app\",\"app\",\"app\",\"app\"]],\"orientation\",\"vertical\",\"tooltipText\",\"\",\"style\",[\"^3\",[\"highlightBackground\",\"danger\",\"highlightText\",\"rgb(255, 255, 255)\",\"hoverText\",\"rgba(199, 111, 104, 1)\",\"pillRadius\",\"5px\"]],\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",false]],\"storageBlobId\",\"\",\"_captionByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\"]],\"_disclosedFields\",[],\"_hasMigratedNestedItems\",true,\"captionByIndex\",[],\"altText\",\"\",\"itemMode\",\"static\",\"dbBlobId\",\"\",\"_tooltipByIndex\",[\"^I\",[\"\",\"\",\"\",\"\",\"\"]],\"_automaticallyHighlightedIndices\",[],\"tooltipByIndex\",[],\"events\",[\"^I\",[[\"^3\",[\"event\",\"click\",\"type\",\"util\",\"method\",\"openApp\",\"pluginId\",\"\",\"targetId\",\"6e42f\",\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"click\",\"type\",\"util\",\"method\",\"openUrl\",\"pluginId\",\"\",\"targetId\",\"3595b\",\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"_ids\",[\"^I\",[\"3595b\",\"6e42f\",\"d5c7b\",\"51b60\",\"eee1d\"]],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^I\",[\"left\",\"left\",\"left\",\"left\",\"left\"]],\"_keyByIndex\",[\"^I\",[\"6e80c\",\"\",\"\",\"\",\"\"]],\"disabled\",false,\"keyByIndex\",[],\"_labels\",[\"^I\",[\"Bonds vs Stocks\",\"Stocks vs ETFs\",\"Track your Favourites\",\"UBS-CS Merger\",\"Glossary\"]],\"srcType\",\"src\",\"disabledByIndex\",[],\"horizontalAlignment\",\"left\",\"maintainSpaceWhenHidden\",false,\"labels\",[]]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^D\",\"body\",\"^E\",\"sidebarFrame1\",\"row\",0,\"col\",0,\"^F\",2,\"^G\",1,\"^H\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1679646630004\",\"^A\",\"~m1679646630004\",\"^B\",\"\",\"^C\",null]]]]],\"^@\",null,\"version\",\"2.115.0\",\"appThemeId\",null,\"appMaxWidth\",\"1560px\",\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^I\",[]],\"pageLoadValueOverrides\",[\"^I\",[]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",false,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false,\"mobileOfflineModeDelaySync\",false,\"mobileOfflineModeBannerMode\",\"default\",\"displaySetting\",[\"^ \",\"landscapeMode\",false,\"tabletMode\",false]],\"folders\",[\"^I\",[]],\"queryStatusVisibility\",true,\"markdownLinkBehavior\",\"never\",\"inAppRetoolPillAppearance\",\"NO_OVERRIDE\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",false,\"runtimeV2OptOut\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",false]]]"},"changesRecord":[{"type":"WIDGET_PASTE_FINISH","payload":{"ids":["navigation1"]}}],"gitSha":null,"checksum":null,"createdAt":"2023-03-24T08:30:30.801Z","updatedAt":"2023-03-24T08:30:30.801Z","pageId":1945214,"userId":571060,"branchId":null},"modules":{}}