{"version":3,"sources":["webpack:///./src/app/shared/components/basic/ontick-editable-select.component.vue","webpack:///src/app/shared/components/basic/ontick-editable-select.component.vue","webpack:///./src/app/shared/components/basic/ontick-editable-select.component.vue?0b4c","webpack:///./src/app/shared/components/basic/ontick-editable-select.component.vue?aa64","webpack:///./src/app/modules/chart/components/adjustment-chart.component.vue","webpack:///src/app/modules/chart/components/adjustment-chart.component.vue","webpack:///./src/app/modules/chart/components/adjustment-chart.component.vue?c0d5","webpack:///./src/app/modules/chart/components/adjustment-chart.component.vue?ff3e","webpack:///./src/app/modules/chart/components/portfolio-strategy-chart-header.component.vue","webpack:///src/app/modules/chart/components/portfolio-strategy-chart-header.component.vue","webpack:///./src/app/modules/chart/components/portfolio-strategy-chart-header.component.vue?55a0","webpack:///./src/app/modules/chart/components/portfolio-strategy-chart-header.component.vue?5a6e","webpack:///./src/app/modules/chart/components/chart-header.component.vue?eb04","webpack:///./src/app/modules/chart/components/portfolio-select-timeframe.component.vue","webpack:///src/app/modules/chart/components/portfolio-select-timeframe.component.vue","webpack:///./src/app/modules/chart/components/portfolio-select-timeframe.component.vue?f85d","webpack:///./src/app/modules/chart/components/portfolio-select-timeframe.component.vue?8ab0","webpack:///./src/app/shared/components/basic/ontick-editable-select.component.vue?d0da","webpack:///./src/app/modules/chart/components/portfolio-strategy-chart-header.component.vue?68b8","webpack:///./src/app/modules/chart/components/portfolio-chart-grid.component.vue","webpack:///./src/app/modules/chart/utils.js","webpack:///./src/app/modules/chart/symbols.js","webpack:///./src/app/modules/chart/datafeed.js","webpack:///./src/app/modules/chart/components/chart-header.component.vue","webpack:///src/app/modules/chart/components/chart-header.component.vue","webpack:///./src/app/modules/chart/components/chart-header.component.vue?d008","webpack:///./src/app/modules/chart/components/chart-header.component.vue?6ebd","webpack:///./src/app/modules/chart/configurationData.js","webpack:///src/app/modules/chart/components/portfolio-chart-grid.component.vue","webpack:///./src/app/modules/chart/components/portfolio-chart-grid.component.vue?7b10","webpack:///./src/app/modules/chart/components/portfolio-chart-grid.component.vue?1b95"],"names":["render","_vm","this","_c","_self","directives","name","rawName","value","closeList","expression","staticClass","class","disabled","label","attrs","_v","_s","_e","acceptInput","icon","on","$event","toggleCollapse","iconStyles","domProps","currency","money","inputStyles","placeholder","$emit","prop","target","fnFocus","options","length","$icons","chevron_right","showNoOptionsAlert","forceSelect","hasSelectedFromList","showForceSelectError","isCollapsed","_l","filteredList","result","index","key","select","_f","staticRenderFns","ClickOutside","VMoney","props","type","String","Number","Array","Boolean","default","data","computed","filtered","filter","item","toUpperCase","includes","findIndex","methods","find","cacheField","watch","input","handler","val","component","status","_t","visible","deep","outsideDiv","investiment","selectInvestment","scopedSlots","_u","fn","node","labelClassName","list_investment","id","investment_id","arrow","theme","investment_status","num_positions","model","select_investment_id","callback","$$v","components","Treeselect","VueCtkDateTimePicker","menuMobile","select_investment","range","created","initListInvestment","mapActions","toggleAccount","investiment_array","order_by","stopped","running","hidden","push","investment_name","forEach","new_investment","investmentIndex","investment","data_investment","unmounted","tf","$$selectedVal","prototype","call","o","selected","map","_value","multiple","ticker","timeframe","ref","divChart","chartContainer","toTradingView","toOnTickApi","resolution","currentTimeframe","ConvertTimeframe","vm","Vue","lastBarsCache","Map","channelToSubscription","investmentId","myChart","lastContextChart","storageUnsubscribe","EventBus","$on","style","style2","console","clear","log","from","keys","keyChannel","get","handlers","contextUuid","symbol","channelString","item2","delete","Object","values","filteredItems","newObj","onResetCacheNeededCallback","_symbol","_timeframe","hasIndex","splice","exchanges","availableSymbols","desc","configurationData","supports_search","supports_group_request","supports_marks","supports_timescale_marks","supports_time","has_intraday","has_seconds","has_ticks","custom_resolutions","supported_resolutions","symbols_types","async","getAllSymbols","full_name","description","exchange","onReady","setTimeout","getMarks","symbolInfo","startDate","endDate","onDataCallback","formatStartDate","Date","toISOString","split","timeEnd","timeCurrent","error","searchSymbols","userInput","symbolType","onResultReadyCallback","symbols","newSymbols","isTypeValid","isFullSymbolContainsInput","toLowerCase","indexOf","resolveSymbol","symbolName","onSymbolResolvedCallback","onResolveErrorCallback","extension","symbolItem","session","timezone","minmov","pricescale","visible_plots_set","has_weekly_and_monthly","volume_precision","data_status","getBars","periodParams","onHistoryCallback","onErrorCallback","to","firstDataRequest","novaData","setDate","getDate","query","getTime","$api","$endpoint","GET_BARS_SYMBOL","noData","bars","reverse","bar","ts","time","low","l","high","h","open","close","c","volume","v","set","subscribeBars","onRealtimeCallback","subscriberUID","subscribeOnStream","unsubscribeBars","unsubscribeFromStream","lastDailyBar","newItem","subscriptionItem","hasHandlerIndex","keysChart","itemChannel","subs","emptyBars","undefined","keyUnsubscribe","pos","_contextUuid","payload","trades","styleDebugColor","accounts","item_account","investments","locale","library_path","autosize","loading_screen","backgroundColor","foregroundColor","enabled_features","disabled_features","overrides","custom_css_url","studies_overrides","colors","OntickEditableSelectComponent","ChartHeader","selectedStrategy","debugColor","Math","floor","random","uuidv4","widget","cacheTicker","defaultTimeframe","positions","connectionStatus","awaitingConnection","retries","markerDate","investmentIdUpdated","arrayHorizontalLine","arrayExecutionShape","arrayMultipointShape","activeUpdate","updateIcon","active","isActiveSelectedStrategy","mapGetters","getWebsocketIsConnected","selectedAccount","strategies","marketdata","investment_symbol","_this$widget","onChartReady","_this$widget2","changeTimeframeInDatafeed","activeChart","setResolution","renameDisplayTimeframe","listInvestment","oldValue","_this$widget3","resetHistoricalDataAndRedrawChart","changeSymbol","_this$widget4","_this$widget5","fetchAccounts","_this$widget8","contextUid","_this$widget6","buildChart","loadVolume","loadChartStyle","e","_this$widget7","_this$widget9","clearMarkers","_this$widget10","update","_this$widget11","destroyed","remove","logEvent","msg","isLocalhost","window","location","hostname","match","TradingView","container","datafeed","Datafeed","interval","width","$refs","clientWidth","height","chart","document","getElementById","_chart$getElementsByT","getElementsByTagName","contentWindow","body","querySelectorAll","innerHTML","timeframeOptional","_this$widget12","setSymbol","_this$widget13","_this$arrayExecutionS","_this$arrayHorizontal","_this$arrayMultipoint","_this$widget15","_this$widget16","_this$widget14","removeEntity","removeAllShapes","clearMarks","_this$widget17","_this$widget18","resetData","parseInt","_this$widget19","_this$widget20","createStudy","_this$widget21","_this$widget22","getSeries","setChartStyleProperties","widgetHorizontalLine","arr","identifier","uuid","hColor","hFontColor","hLine","createOrderLine","setLineStyle","setBodyBackgroundColor","setLineActiveBuyColor","setLineActiveSellColor","setBodyTextActiveBuyColor","setBodyTextActiveSellColor","setBodyBorderActiveBuyColor","setBodyBorderActiveSellColor","setQuantityBorderActiveBuyColor","setQuantityBorderActiveSellColor","setQuantityBackgroundActiveBuyColor","setQuantityBackgroundActiveSellColor","setDirection","setText","comment","setTooltip","setLineLength","setQuantity","setPrice","price","listMarkers","uri","GET_MARKERS","Promise","resolve","reject","then","response","catch","_this$widget28","closed","_this$widget23","_this$widget24","_this$widget25","_this$widget26","_this$widget27","executionShape1","createExecutionShape","entry","setTextColor","setArrowBuyColor","setArrowSellColor","setTime","setArrowHeight","setArrowSpacing","executionShape2","exit","createShape","channel","shape","text","pointShape","createMultipointShape","zOrder","linecolor","linewidth","statsPosition","linestyle","orders","_this$widget29"],"mappings":"2JAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,WAAW,CAAC,CAACC,KAAK,gBAAgBC,QAAQ,kBAAkBC,MAAOP,EAAIQ,UAAWC,WAAW,cAAcC,YAAY,mCAAmCC,MAAM,CAAE,sBAAuBX,EAAIY,WAAY,CAAEZ,EAAIa,MAAOX,EAAG,QAAQ,CAACQ,YAAY,UAAUI,MAAM,CAAC,IAAMd,EAAIK,OAAO,CAACL,EAAIe,GAAG,IAAIf,EAAIgB,GAAGhB,EAAIa,OAAO,OAAOb,EAAIiB,KAAKf,EAAG,MAAM,CAACQ,YAAY,6BAA6BC,MAAM,CAC9b,CACE,kBAAmBX,EAAIkB,aAEzB,CAAE,iCAAkClB,EAAImB,OACxCL,MAAM,CAAC,KAAO,UAAUM,GAAG,CAAC,MAAQ,SAAS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,MAAfA,EAA2B,KACZ,MAAfA,EAA2B,KACZ,MAAfA,EAA2B,KACZ,MAAfA,EAA2B,KACZ,OAAfA,EAA4B,MACb,OAAfA,EAA4B,MACb,OAAfA,EAA4B,MACb,OAAfA,EAA4B,MACb,OAAfA,EAA4B,KAOzB,KAGIE,EAAmB,CAC9BJ,gBACAC,e,gBCtDa,GACb,QACA,QACA,MACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,QACA,SACA,QACA,QACA,SACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,QACA,SACA,QACA,QACA,QACA,QACA,SACA,QACA,SACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,QACA,SACA,QACA,U,YC7EF,MAAMI,EAAK,IAAIC,aAETC,EAAgB,IAAIC,IACpBC,EAAwB,IAAID,IAElC,IACIE,EADAC,EAAU,GAEVC,EAAmB,GACnBC,EAAqB,GAKzBC,OAASC,IAAI,4BAA6B,KACxC,MAAMC,EAAQ,+DACRC,EAAS,8CACfC,QAAQC,QACRD,QAAQE,IAAI,qBAAsB,mBAClCF,QAAQE,IAAI,gCAAiCJ,EAAOP,GACpDS,QAAQE,IAAI,6BAA8BJ,EAAOH,GACjDK,QAAQE,IAAI,kBAAmBJ,EAAOL,GAEtC1F,MAAMoG,KAAKZ,EAAsBa,OAAStJ,GAAUA,GAAO4G,QAAS2C,IAClEL,QAAQE,IAAI,QAASH,GACrB,MAAMzF,EAAOiF,EAAsBe,IAAID,GACvCL,QAAQE,IAAIG,EAAY/F,GACxBA,EAAKiG,SAAS7C,QAAS3C,GAAYiF,QAAQE,IAAI,YAAanF,MAE9DiF,QAAQE,IAAI,qBAAsB,mBAElCN,OAASx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YACA,CACAnN,KAAA7L,EAAA+Y,KAAAlN,KAAA,IACAuL,MAAApX,EAAA+Y,KAAA3B,MACA6B,QAAA,WAAAjZ,EAAA+Y,KAAAzZ,KAAA,cAEA,CACA4Z,MAAA,WAAAlZ,EAAA+Y,KAAAzZ,KAAA,wBACA6Z,KAAA,KAIA,MAAAC,EAAA,QAAAhB,EAAA,KAAAhJ,cAAA,IAAAgJ,OAAA,EAAAA,EAAAtH,cAAAuI,sBACA,CACA,CAAAxN,KAAArM,OAAAQ,EAAA+Y,KAAAlN,KAAA,KAAAuL,MAAApX,EAAA+Y,KAAA3B,OACA,CAAAvL,KAAArM,OAAAQ,EAAAuY,MAAA1M,KAAA,KAAAuL,MAAApX,EAAAuY,MAAAnB,QAEA,CACA8B,MAAA,aACAI,OAAA,MACAH,KAAA,OACA3K,UAAA,CACA+K,UAAA,UACAC,UAAA,EACAC,cAAA,EACAC,UAAA,KAIA,KAAA3J,qBAAA7M,KAAAkW,KAGA,QAAAtB,EAAA,KAAA1I,cAAA,IAAA0I,KAAAnH,aAAA,KAKA,KAAA8E,qBAAAvJ,EAAAqD,WACA,KAAAkG,qBAAAvJ,EAAAyN,UAEA,MAAA1Q,GACAvD,QAAAE,IAAA,SAAAqD,KAGAmI,kCAAAjL,EAAA/B,GAAA,IAAAwV,EAEAtU,OAAAxH,MAAA,kDACAqI,SACA/B,YACA8B,YAAA,KAAAA,cAGA,QAAA0T,EAAA,KAAAxK,cAAA,IAAAwK,KAAA9I,cAAAkE,eC5lBkb,ICO9a,EAAY,eACd,EACAhZ,EACAkD,GACA,EACA,KACA,WACA,MAIa,S","file":"js/portfolio_chart~strategy_chart.9c19b74f.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeList),expression:\"closeList\"}],staticClass:\"relative flex flex-col space-y-1\",class:{ 'pointer-events-none': _vm.disabled }},[(_vm.label)?_c('label',{staticClass:\"text-sm\",attrs:{\"for\":_vm.name}},[_vm._v(\" \"+_vm._s(_vm.label)+\" \")]):_vm._e(),_c('div',{staticClass:\"relative flex items-center\",class:[\n {\n 'cursor-pointer': !_vm.acceptInput,\n },\n { 'overflow-hidden rounded shadow': _vm.icon },\n ],attrs:{\"role\":\"select\"},on:{\"click\":function($event){return _vm.toggleCollapse(_vm.acceptInput)}}},[(_vm.icon)?_c('div',{staticClass:\"flex h-full items-center justify-center px-2\",class:_vm.iconStyles},[_c('i',{domProps:{\"innerHTML\":_vm._s(_vm.icon)}})]):_vm._e(),_c('input',{directives:[{name:\"money\",rawName:\"v-money\",value:(_vm.currency && _vm.money),expression:\"currency && money\"}],class:[{ 'pointer-events-none': !_vm.acceptInput }, _vm.inputStyles],attrs:{\"type\":\"text\",\"name\":_vm.name,\"placeholder\":_vm.placeholder,\"disabled\":_vm.disabled,\"autocomplete\":\"off\"},domProps:{\"value\":_vm.value},on:{\"input\":function($event){return _vm.$emit('input', { prop: _vm.name, value: $event.target.value })},\"focus\":function($event){return _vm.fnFocus(_vm.value)},\"blur\":function($event){return _vm.$emit('blur')}}}),(_vm.options.length)?_c('button',{staticClass:\"pointer-events-none absolute right-2 rotate-90 transform\"},[_c('i',{domProps:{\"innerHTML\":_vm._s(_vm.$icons.chevron_right)}}),_c('span',{staticClass:\"sr-only\"},[_vm._v(\" Expandir opções \")])]):_vm._e()]),(_vm.showNoOptionsAlert && !_vm.options.length && _vm.value.length >= 3)?_c('span',{staticClass:\"text-ontick-orange-600 text-xs\"},[_vm._v(\" Nenhuma opção disponível \")]):(_vm.forceSelect && !_vm.hasSelectedFromList && _vm.showForceSelectError)?_c('span',{staticClass:\"text-ontick-red-600 text-xs\"},[_vm._v(\" Selecione um item da lista \")]):_vm._e(),_c('transition',{attrs:{\"name\":\"dropdown\"}},[(!_vm.isCollapsed && _vm.options.length)?_c('ul',{staticClass:\"border-ontick-steel-500 dark:bg-ontick-graphite-500 absolute top-12 z-50 max-h-64 w-full overflow-auto rounded border bg-gray-200 text-sm shadow-lg\"},_vm._l((_vm.filteredList),function(result,index){return _c('li',{key:result.value + index},[_c('button',{staticClass:\"hover:bg-ontick-steel-400 w-full py-2 px-2 text-left\",on:{\"click\":function($event){return _vm.select(result.value)}}},[(_vm.currency)?_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(result.value))+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(result.label)+\" \")])])])}),0):_vm._e()])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ontick-editable-select.component.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ontick-editable-select.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ontick-editable-select.component.vue?vue&type=template&id=6134e8d0&scoped=true\"\nimport script from \"./ontick-editable-select.component.vue?vue&type=script&lang=js\"\nexport * from \"./ontick-editable-select.component.vue?vue&type=script&lang=js\"\nimport style0 from \"./ontick-editable-select.component.vue?vue&type=style&index=0&id=6134e8d0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6134e8d0\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"absolute top-0 right-[5%] md:right-[12%] flex flex-col items-end\"},[_c('button',{staticClass:\"px-2 py-1 bg-ontick-steel-500 rounded-bl rounded-br shadow-md text-ontick-blue-500\",on:{\"click\":function($event){return _vm.$emit('change')}}},[_c('svg',{staticClass:\"w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke-width\":\"1.5\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"d\":\"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75\"}})])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.status),expression:\"status\"}],staticClass:\"flex p-1.5 mt-1 space-x-1.5 bg-ontick-steel-500 rounded shadow-md -mr-0 md:mr-0\"},[_vm._t(\"default\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./adjustment-chart.component.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./adjustment-chart.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./adjustment-chart.component.vue?vue&type=template&id=a8923b26\"\nimport script from \"./adjustment-chart.component.vue?vue&type=script&lang=js\"\nexport * from \"./adjustment-chart.component.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('treeselect',{staticClass:\"h-10 max-w-[400px]\",attrs:{\"multiple\":false,\"options\":_vm.investiment,\"show-count\":true,\"searchable\":false,\"clearable\":false,\"placeholder\":\"Selecione seu investimento\"},on:{\"select\":_vm.selectInvestment},scopedSlots:_vm._u([{key:\"option-label\",fn:function({ node, labelClassName }){return _c('div',{staticClass:\"py-2\",class:labelClassName},_vm._l((_vm.list_investment),function(item,index){return _c('div',{key:index,staticClass:\"flex items-center justify-between\"},[(node.id == item.investment_id)?_c('div',{staticClass:\"space-x-3\"},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.investment_id != 0),expression:\"item.investment_id != 0\"},{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme:\n item.investment_status === 'STOPPED' ? 'red' : item.investment_status === 'RUNNING' ? 'green' : 'gray',\n }),expression:\"{\\n arrow: true,\\n theme:\\n item.investment_status === 'STOPPED' ? 'red' : item.investment_status === 'RUNNING' ? 'green' : 'gray',\\n }\"}],staticClass:\"relative -mb-3 inline-flex h-3 w-3 items-center\",attrs:{\"content\":item.investment_status === 'STOPPED'\n ? 'Investimento parado'\n : item.investment_status === 'RUNNING'\n ? 'Investimento em execução'\n : 'Investimento arquivado'}},[_c('span',{staticClass:\"absolute inline-flex h-full w-full rounded-full opacity-75\",class:item.investment_status == 'STOPPED'\n ? 'bg-ontick-red-500'\n : item.investment_status == 'RUNNING'\n ? 'bg-ontick-green-500 animate-ping'\n : 'bg-gray-400'}),_c('span',{staticClass:\"relative inline-flex h-3 w-3 rounded-full\",class:item.investment_status == 'STOPPED'\n ? 'bg-ontick-red-500'\n : item.investment_status == 'RUNNING'\n ? 'bg-ontick-green-500'\n : 'bg-gray-400'})]),(item.investment_id != 0)?_c('span',{staticClass:\"text-ontick-blue-500 inline-flex text-sm\"},[_vm._v(_vm._s(node.id))]):_vm._e(),_c('span',{staticClass:\"text-ontick-steel-900 text-sm dark:text-gray-300\"},[_vm._v(_vm._s(node.label))])]):_vm._e(),(node.id == item.investment_id)?_c('div',{staticClass:\"text-ontick-steel-900 float-right ml-2 text-sm dark:text-gray-300\"},[_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"},{name:\"show\",rawName:\"v-show\",value:(item.investment_status != 'HIDDEN'),expression:\"item.investment_status != 'HIDDEN'\"}],staticClass:\"mx-2 inline-flex items-center\",attrs:{\"content\":\"Ordens executadas\"}},[_c('p',{staticClass:\"mx-2\"},[_vm._v(_vm._s(item.num_positions))])])]):_vm._e()])}),0)}},{key:\"value-label\",fn:function({ node }){return _c('div',{staticClass:\"w-full\"},_vm._l((_vm.list_investment),function(item,index){return _c('div',{key:index,staticClass:\"flex items-center justify-between\"},[(node.id == item.investment_id)?_c('div',{staticClass:\"space-x-3\"},[(item.investment_id != 0)?_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme:\n item.investment_status === 'STOPPED' ? 'red' : item.investment_status === 'RUNNING' ? 'green' : 'gray',\n }),expression:\"{\\n arrow: true,\\n theme:\\n item.investment_status === 'STOPPED' ? 'red' : item.investment_status === 'RUNNING' ? 'green' : 'gray',\\n }\"}],staticClass:\"relative -mb-3 inline-flex h-3 w-3 items-center\",attrs:{\"content\":item.investment_status === 'STOPPED'\n ? 'Investimento parado'\n : item.investment_status === 'RUNNING'\n ? 'Investimento em execução'\n : 'Investimento arquivado'}},[_c('span',{staticClass:\"absolute inline-flex h-full w-full rounded-full opacity-75\",class:item.investment_status == 'STOPPED'\n ? 'bg-ontick-red-500'\n : item.investment_status == 'RUNNING'\n ? 'bg-ontick-green-500 animate-ping'\n : 'bg-gray-400'}),_c('span',{staticClass:\"relative inline-flex h-3 w-3 rounded-full\",class:item.investment_status == 'STOPPED'\n ? 'bg-ontick-red-500'\n : item.investment_status == 'RUNNING'\n ? 'bg-ontick-green-500'\n : 'bg-gray-400'})]):_vm._e(),(item.investment_id != 0)?_c('span',{staticClass:\"text-ontick-blue-500 inline-flex text-sm\"},[_vm._v(_vm._s(item.investment_id))]):_vm._e(),_c('span',{staticClass:\"text-ontick-steel-900 text-sm dark:text-gray-300\"},[_vm._v(_vm._s(node.label))])]):_vm._e(),(node.id == item.investment_id)?_c('div',{staticClass:\"text-ontick-steel-900 float-right ml-2 text-sm dark:text-gray-300\"},[_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"},{name:\"show\",rawName:\"v-show\",value:(item.investment_status != 'HIDDEN'),expression:\"item.investment_status != 'HIDDEN'\"}],staticClass:\"mx-2 inline-flex items-center\",attrs:{\"content\":\"Ordens executadas\"}},[_c('p',{staticClass:\"text-ontick-steel-900 mx-2 dark:text-gray-300\"},[_vm._v(\" \"+_vm._s(item.num_positions)+\" \")])])]):_vm._e()])}),0)}}]),model:{value:(_vm.select_investment_id),callback:function ($$v) {_vm.select_investment_id=$$v},expression:\"select_investment_id\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./portfolio-strategy-chart-header.component.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./portfolio-strategy-chart-header.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./portfolio-strategy-chart-header.component.vue?vue&type=template&id=2f9dbd7c\"\nimport script from \"./portfolio-strategy-chart-header.component.vue?vue&type=script&lang=js\"\nexport * from \"./portfolio-strategy-chart-header.component.vue?vue&type=script&lang=js\"\nimport style0 from \"./portfolio-strategy-chart-header.component.vue?vue&type=style&index=0&id=2f9dbd7c&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./chart-header.component.vue?vue&type=style&index=0&id=034de998&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.tf),expression:\"tf\"}],staticClass:\"bg-ontick-graphite-500 rounded text-sm font-medium h-10 border border-ontick-carbon-500 w-full\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.tf=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.$emit('change', $event.target.value)}]}},[(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"S15\"}},[_vm._v(\"15 segundos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"S30\"}},[_vm._v(\"30 segundos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT', 'CCMFUT', 'BITFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"M1\"}},[_vm._v(\"1 minuto\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"M2\"}},[_vm._v(\"2 minutos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"M3\"}},[_vm._v(\"3 minutos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"M5\"}},[_vm._v(\"5 minutos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"M6\"}},[_vm._v(\"6 minutos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"M10\"}},[_vm._v(\"10 minutos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"M12\"}},[_vm._v(\"12 minutos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT', 'CCMFUT', 'BITFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"M15\"}},[_vm._v(\"15 minutos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"M30\"}},[_vm._v(\"30 minutos\")]):_vm._e(),(['', 'WINFUT', 'WDOFUT'].includes(_vm.ticker))?_c('option',{attrs:{\"value\":\"H1\"}},[_vm._v(\"1 hora\")]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./portfolio-select-timeframe.component.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./portfolio-select-timeframe.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./portfolio-select-timeframe.component.vue?vue&type=template&id=8cdfb962\"\nimport script from \"./portfolio-select-timeframe.component.vue?vue&type=script&lang=js\"\nexport * from \"./portfolio-select-timeframe.component.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ontick-editable-select.component.vue?vue&type=style&index=0&id=6134e8d0&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./portfolio-strategy-chart-header.component.vue?vue&type=style&index=0&id=2f9dbd7c&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"h-full w-full\"},[_c('div',{ref:_vm.divChart,staticClass:\"h-full w-full\",attrs:{\"id\":_vm.chartContainer}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\n * Anteriormente chamado de converterTimeframe\n * @param {string} tf - nomenclatura de timeframe para api\n * @returns {string} - nomenclatura equivalente para o TradingView\n */\nconst toTradingView = (tf) => {\n if (tf === \"S15\") return \"15S\";\n if (tf === \"S30\") return \"30S\";\n if (tf === \"M1\") return \"1\";\n if (tf === \"M2\") return \"2\";\n if (tf === \"M3\") return \"3\";\n if (tf === \"M5\") return \"5\";\n if (tf === \"M6\") return \"6\";\n if (tf === \"M10\") return \"10\";\n if (tf === \"M12\") return \"12\";\n if (tf === \"M15\") return \"15\";\n if (tf === \"M30\") return \"30\";\n if (tf === \"H1\") return \"60\";\n if (tf === \"T1000\") return \"1T\";\n if (tf === \"V5000\") return \"1T\";\n if (tf === \"V10000\") return \"1T\";\n return \"M10\";\n};\n\n/**\n * @param {string} resolution - timeframe retornado pelo TradingView\n * @param {object} currentTimeframe - timeframe corrente\n * @returns {string} - converte para nomenclatura da API OnTick\n */\nconst toOnTickApi = (resolution, currentTimeframe = null) => {\n // const { identifierOnTick } = currentTimeframe;\n if (resolution === \"15S\") return \"S15\";\n if (resolution === \"30S\") return \"S30\";\n if (resolution === \"1\") return \"M1\";\n if (resolution === \"2\") return \"M2\";\n if (resolution === \"3\") return \"M3\";\n if (resolution === \"5\") return \"M5\";\n if (resolution === \"6\") return \"M6\";\n if (resolution === \"10\") return \"M10\";\n if (resolution === \"12\") return \"M12\";\n if (resolution === \"15\") return \"M15\";\n if (resolution === \"30\") return \"M30\";\n if (resolution === \"60\") return \"H1\";\n // Não está sendo usado no momento.\n /**\n if (resolution === \"1T\" && identifierOnTick === \"T1000\") return \"T1000\";\n if (resolution === \"1T\" && identifierOnTick === \"V5000\") return \"V5000\";\n if (resolution === \"1T\" && identifierOnTick === \"V10000\") return \"V10000\";\n */\n return \"M5\";\n};\n\nexport const ConvertTimeframe = {\n toTradingView,\n toOnTickApi,\n};\n","export default [\n \"ABEV3\",\n \"AGRO3\",\n \"ANY\",\n \"ARZZ3\",\n \"AZUL4\",\n \"B3SA3\",\n \"BBAS3\",\n \"BBDC4\",\n \"BBSE3\",\n \"BEEF3\",\n \"BGIFUT\",\n \"BITFUT\",\n \"BOVA11\",\n \"BRAP4\",\n \"BTCUSD\",\n \"CARD3\",\n \"CBAV3\",\n \"CCMFUT\",\n \"CEAB3\",\n \"CIEL3\",\n \"CMIG4\",\n \"CMIN3\",\n \"CPFE3\",\n \"CPLE6\",\n \"CSNA3\",\n \"DI1FUT\",\n \"DMMO3\",\n \"DOLFUT\",\n \"EGIE3\",\n \"ELET3\",\n \"ELET6\",\n \"ENAT3\",\n \"ENGI11\",\n \"EQTL3\",\n \"ETHUSD\",\n \"FESA4\",\n \"FHER3\",\n \"FLRY3\",\n \"GGBR4\",\n \"GOAU4\",\n \"GOLL4\",\n \"HYPE3\",\n \"ICFFUT\",\n \"INDFUT\",\n \"ISPFUT\",\n \"ITSA4\",\n \"ITUB4\",\n \"JBSS3\",\n \"JHSF3\",\n \"KEPL3\",\n \"LOGN3\",\n \"LPSB3\",\n \"LREN3\",\n \"MEAL3\",\n \"MGLU3\",\n \"MRVE3\",\n \"MULT3\",\n \"ORVR3\",\n \"PETR3\",\n \"PETR4\",\n \"PRIO3\",\n \"PTBL3\",\n \"RENT3\",\n \"SBFG3\",\n \"SLCE3\",\n \"SMTO3\",\n \"SOMA3\",\n \"SQIA3\",\n \"STBP3\",\n \"SUZB3\",\n \"TAEE11\",\n \"TRAD3\",\n \"USIM5\",\n \"VALE3\",\n \"VIVA3\",\n \"VULC3\",\n \"VVAR3\",\n \"WDOFUT\",\n \"WEGE3\",\n \"WINFUT\",\n \"WIZS3\",\n \"WSPFUT\",\n];\n","import Vue from \"vue\";\nimport availableSymbols from \"./symbols\";\nimport EventBus from \"../../shared/utils/event_bus.js\";\nimport { ConvertTimeframe } from \"./utils\";\n\nconst vm = new Vue();\n\nconst lastBarsCache = new Map();\nconst channelToSubscription = new Map();\n\nlet myChart = {};\nlet investmentId; //é usado na api de markers\nlet lastContextChart = []; //armazena os contextos dos cards\nlet storageUnsubscribe = []; //é armazenado todos que devem ser removidos no unsubscribe\n\n/**\n * Debug - mostrar na tela a variável channelToSubscription\n */\nEventBus.$on(\"SHOW_CHANNEL_SUBSCRIPTION\", () => {\n const style = \"background:#5b21b6;padding:4px;font-weight:bold;color:white;\";\n const style2 = \"color:#c026d3;padding:4px;font-weight:bold;\";\n console.clear();\n console.log(\"%c💣💣💣💣💣💣💣💣\", \"font-size:28px;\");\n console.log(\"💣 %c@[channelToSubscription]\", style, channelToSubscription);\n console.log(\"💣 %c@[storageUnsubscribe]\", style, storageUnsubscribe);\n console.log(\"💣 %c@[myChart]\", style, myChart);\n\n Array.from(channelToSubscription.keys(), (value) => value).forEach((keyChannel) => {\n console.log(\"%c---\", style2);\n const item = channelToSubscription.get(keyChannel);\n console.log(keyChannel, item);\n item.handlers.forEach((handler) => console.log(\"[handler]\", handler));\n });\n console.log(\"%c💣💣💣💣💣💣💣💣\", \"font-size:28px;\");\n\n EventBus.$emit(\"RESTART_CONSUMER\", false);\n});\n\nEventBus.$on(\"DATAFEED_REMOVE_CONTEXTUUID\", (contextUuid) => {\n lastContextChart = [];\n\n const { symbol, timeframe } = myChart[contextUuid];\n const channelString = `MD.${symbol}.${timeframe}`;\n const item = channelToSubscription.get(channelString);\n if (item) {\n item.handlers = item.handlers.filter((item2) => item2.id != contextUuid);\n if (item.handlers.length === 0) {\n channelToSubscription.delete(channelString);\n }\n }\n myChart = Object.values(myChart).filter((item) => item.id != contextUuid);\n\n const filteredItems = Object.values(myChart).filter((item) => item.id != contextUuid);\n\n let newObj = {};\n Object.keys(filteredItems).forEach((key) => (newObj[filteredItems[key].id] = filteredItems[key]));\n myChart = newObj;\n});\n\nEventBus.$on(\"DATAFEED_RESET_CACHE_TO_UPDATE_HISTORICAL_DATA\", ({ symbol, timeframe, contextUuid }) => {\n const channelString = `MD.${symbol}.${timeframe}`;\n\n lastContextChart = lastContextChart.filter((item) => item != `${contextUuid}:${symbol}:${timeframe}`);\n storageUnsubscribe = [];\n\n const item = channelToSubscription.get(channelString);\n if (item) {\n item.handlers.forEach((handler) => {\n if (handler.id === contextUuid) {\n if (handler.onResetCacheNeededCallback) {\n handler.onResetCacheNeededCallback();\n }\n }\n });\n }\n});\n\nEventBus.$on(\"DATAFEED_MAP_CHART\", ({ symbol, timeframe, contextUuid }) => {\n lastContextChart.push(contextUuid);\n\n if (myChart[contextUuid]) {\n const _symbol = myChart[contextUuid].symbol;\n const _timeframe = myChart[contextUuid].timeframe;\n if (_symbol != symbol || _timeframe != timeframe) {\n const hasIndex = storageUnsubscribe.findIndex((item) => item.includes(contextUuid));\n if (hasIndex != -1) {\n storageUnsubscribe.splice(hasIndex, 1);\n }\n storageUnsubscribe.push(`${contextUuid}:${_symbol}:${_timeframe}`);\n }\n }\n\n myChart[contextUuid] = {\n id: contextUuid,\n symbol,\n timeframe,\n };\n});\n\nEventBus.$on(\"DATAFEED_CHANGE_TIMEFRAME\", ({ timeframe, contextUuid }) => {\n if (myChart[contextUuid]) {\n const _symbol = myChart[contextUuid].symbol;\n const _timeframe = myChart[contextUuid].timeframe;\n if (_timeframe != timeframe) {\n if (!storageUnsubscribe.includes(`${contextUuid}:${_symbol}:${_timeframe}`)) {\n storageUnsubscribe.push(`${contextUuid}:${_symbol}:${_timeframe}`);\n }\n }\n }\n myChart[contextUuid].timeframe = timeframe;\n});\n\nEventBus.$on(\"DATAFEED_MARKERS_INVESTMENT_ID\", ({ investment_id }) => {\n investmentId = investment_id;\n});\n\nconst exchanges = availableSymbols.map((symbol) => {\n if (!symbol.includes(\"FUT\")) {\n return {\n value: symbol,\n name: symbol,\n desc: symbol,\n };\n }\n return;\n});\n\nconst configurationData = {\n supports_search: true,\n supports_group_request: false,\n supports_marks: true,\n supports_timescale_marks: true,\n supports_time: true,\n has_intraday: true,\n has_seconds: true,\n has_ticks: true,\n custom_resolutions: true,\n supported_resolutions: [\n \"15S\", //S15\n \"30S\", //S30\n \"1\", //M1\n \"2\", //M2\n \"3\", //M3\n \"5\", //M5\n \"6\", //M6\n \"10\", //M10\n \"12\", //M12\n \"15\", //M15\n \"30\", //M30\n \"60\", //H1\n \"1T\", //T1000\n ],\n exchanges: [{ value: \"\", name: \"Todos\", desc: \"\" }, ...exchanges],\n symbols_types: [\n { name: \"Todos\", value: \"\" },\n { name: \"Ações\", value: \"stock\" },\n { name: \"Futuros\", value: \"futures\" },\n ],\n};\n\nasync function getAllSymbols() {\n return availableSymbols.map((symbol) => {\n return {\n symbol: symbol,\n ticker: symbol,\n full_name: \"B3:\" + symbol,\n description: symbol,\n exchange: \"B3\",\n type: symbol.includes(\"FUT\") ? \"futures\" : \"stock\",\n // logo_urls: [\"https://s3-symbol-logo.tradingview.com/country/BR.svg\"],\n // exchange_logo: [\"https://s3-symbol-logo.tradingview.com/country/BR.svg\"],\n };\n });\n}\n\nexport default {\n onReady: (callback) => {\n setTimeout(() => callback(configurationData));\n },\n\n getMarks: async (symbolInfo, startDate, endDate, onDataCallback, resolution) => {\n if (!investmentId || investmentId === 0) {\n onDataCallback([]);\n return;\n }\n\n const formatStartDate = new Date(startDate * 1000).toISOString().split(\"T\")[0];\n\n const timeEnd = new Date(endDate * 1000).toISOString().split(\"T\")[0];\n const timeCurrent = new Date().toISOString().split(\"T\")[0];\n\n EventBus.$emit(\"DATAFEED_RECEIVE_MARKERS\", {\n symbolInfo,\n investmentId,\n startDate: formatStartDate,\n endDate: timeEnd > timeCurrent ? timeEnd : timeCurrent,\n });\n\n try {\n onDataCallback([]);\n } catch (error) {\n console.log(\"Error=\", error);\n }\n },\n\n searchSymbols: async (userInput, exchange, symbolType, onResultReadyCallback) => {\n const symbols = await getAllSymbols();\n const newSymbols = symbols.filter((symbol) => {\n const isTypeValid = symbolType === \"\" || symbol.type === symbolType;\n const isFullSymbolContainsInput = symbol.ticker.toLowerCase().indexOf(userInput.toLowerCase()) !== -1;\n return isTypeValid && isFullSymbolContainsInput;\n });\n onResultReadyCallback(newSymbols);\n },\n\n resolveSymbol: async (symbolName, onSymbolResolvedCallback, onResolveErrorCallback, extension) => {\n const symbols = await getAllSymbols();\n const symbolItem = symbols.find((symbol) => symbol.symbol === symbolName);\n if (!symbolItem) {\n onResolveErrorCallback(\"Cannot resolve symbol\");\n return;\n }\n const symbolInfo = {\n ticker: symbolItem.ticker,\n name: symbolItem.symbol,\n description: symbolItem.description,\n type: symbolItem.type,\n // session: \"24x7\",\n session: symbolItem.type == \"crypto\" ? \"24x7\" : symbolItem.type == \"futures\" ? \"0900-1830\" : \"0900-1800\",\n // timezone: \"Etc/UTC\",\n timezone: \"America/Sao_Paulo\",\n exchange: symbolItem.exchange,\n minmov: 1,\n pricescale: 100,\n has_intraday: true,\n has_seconds: true,\n has_ticks: true, //se comentar, funciona.\n visible_plots_set: \"ohlc\",\n has_weekly_and_monthly: false,\n supported_resolutions: configurationData.supported_resolutions,\n volume_precision: 2,\n data_status: \"streaming\",\n // Logo\n // logo_urls: symbolItem.logo_urls,\n // exchange_logo: symbolItem.exchange_logo,\n };\n onSymbolResolvedCallback(symbolInfo);\n },\n\n getBars: async (symbolInfo, resolution, periodParams, onHistoryCallback, onErrorCallback) => {\n const { from, to, firstDataRequest } = periodParams;\n try {\n const novaData = new Date(from * 1000);\n novaData.setDate(novaData.getDate() - 10);\n\n let query = \"\";\n query += `start_time=${novaData.getTime()}`;\n query += `&end_time=${to * 1000}`;\n\n const { data } = await vm.$api.get(\n `${vm.$endpoint.GET_BARS_SYMBOL}/${symbolInfo.ticker}/${ConvertTimeframe.toOnTickApi(resolution)}?${query}`\n );\n if (data.length === 0) {\n EventBus.$emit(\"DATAFEED_RENAME_DISPLAY_TIMEFRAME\", {});\n onHistoryCallback([], { noData: true });\n }\n\n let bars = [];\n data.reverse().forEach((bar) => {\n // if (bar.ts >= from * 1000 && bar.ts < to * 1000) {\n if (bar.ts >= novaData.getTime() && bar.ts < to * 1000) {\n bars = [\n ...bars,\n {\n time: bar.ts,\n low: bar.l,\n high: bar.h,\n open: bar.o,\n close: bar.c,\n volume: bar.v,\n },\n ];\n }\n });\n\n if (firstDataRequest) {\n lastBarsCache.set(`${symbolInfo.exchange}:${symbolInfo.name}`, {\n ...bars[bars.length - 1],\n });\n }\n\n onHistoryCallback(bars, { noData: false });\n } catch (error) {\n console.log(\"[getBars]: Get error\", error);\n onErrorCallback(error);\n }\n\n EventBus.$emit(\"DATAFEED_RENAME_DISPLAY_TIMEFRAME\", {});\n onHistoryCallback([], { noData: true });\n },\n\n subscribeBars: (symbolInfo, resolution, onRealtimeCallback, subscriberUID, onResetCacheNeededCallback) => {\n subscribeOnStream(\n symbolInfo,\n resolution,\n onRealtimeCallback,\n subscriberUID,\n onResetCacheNeededCallback,\n lastBarsCache.get(`${symbolInfo.exchange}:${symbolInfo.name}`)\n );\n },\n\n unsubscribeBars: (subscriberUID) => {\n unsubscribeFromStream(subscriberUID);\n },\n};\n\nfunction subscribeOnStream(\n symbolInfo,\n resolution,\n onRealtimeCallback,\n subscriberUID,\n onResetCacheNeededCallback,\n lastDailyBar\n) {\n const channelString = `MD.${symbolInfo.name}.${ConvertTimeframe.toOnTickApi(resolution)}`;\n\n let handlers = [];\n\n Object.keys(myChart).forEach((id) => {\n if (myChart[id].symbol === symbolInfo.name && myChart[id].timeframe === ConvertTimeframe.toOnTickApi(resolution)) {\n handlers.push({ id, onResetCacheNeededCallback, callback: onRealtimeCallback });\n }\n });\n\n const newItem = {\n subscriberUID,\n resolution,\n lastDailyBar,\n handlers: [...handlers],\n };\n\n const subscriptionItem = channelToSubscription.get(channelString);\n\n if (subscriptionItem) {\n if (lastContextChart.length > 0) {\n const hasHandlerIndex = subscriptionItem.handlers.findIndex((item) => {\n if (item.id === lastContextChart[0]) {\n // Gráfico atualizado foi?\n return item;\n }\n return;\n });\n\n if (hasHandlerIndex != -1) {\n // recebe o callback modificado\n subscriptionItem.handlers[hasHandlerIndex].callback = onRealtimeCallback;\n subscriptionItem.handlers[hasHandlerIndex].onResetCacheNeededCallback = onResetCacheNeededCallback;\n } else {\n subscriptionItem.handlers.push({\n id: lastContextChart[0],\n callback: onRealtimeCallback,\n onResetCacheNeededCallback,\n });\n }\n }\n\n const keysChart = Object.keys(myChart);\n Array.from(channelToSubscription.keys(), (value) => value).forEach((keyChannel) => {\n const itemChannel = channelToSubscription.get(keyChannel);\n if (itemChannel) {\n itemChannel.handlers = itemChannel.handlers.filter((handler) => keysChart.includes(handler.id));\n if (itemChannel.handlers.length === 0) {\n // quer dizer que não tem nenhum handler, então posso excluir a subscrição.\n channelToSubscription.delete(keyChannel);\n }\n }\n });\n\n lastContextChart.splice(0, 1);\n\n EventBus.$emit(\"SUBSCRIBE_CHART\", {\n subs: [channelString],\n emptyBars: lastDailyBar === undefined,\n });\n\n return;\n }\n\n channelToSubscription.set(channelString, newItem);\n\n lastContextChart.splice(0, 1);\n\n const keysChart = Object.keys(myChart);\n Array.from(channelToSubscription.keys(), (value) => value).forEach((keyChannel) => {\n const itemChannel = channelToSubscription.get(keyChannel);\n if (itemChannel) {\n itemChannel.handlers = itemChannel.handlers.filter((handler) => keysChart.includes(handler.id));\n if (itemChannel.handlers.length === 0) {\n // quer dizer que não tem nenhum handler, então posso excluir a subscrição.\n channelToSubscription.delete(keyChannel);\n }\n }\n });\n\n EventBus.$emit(\"SUBSCRIBE_CHART\", {\n subs: [channelString],\n emptyBars: lastDailyBar === undefined,\n });\n}\n\nfunction unsubscribeFromStream(subscriberUID) {\n Array.from(channelToSubscription.keys(), (value) => value).forEach((keyChannel) => {\n storageUnsubscribe.forEach((keyUnsubscribe, pos) => {\n const [_contextUuid, _symbol, _timeframe] = keyUnsubscribe.split(\":\");\n if (keyChannel === `MD.${_symbol}.${_timeframe}`) {\n const item = channelToSubscription.get(keyChannel);\n if (item) {\n item.handlers = item.handlers.filter((item2) => item2.id != _contextUuid);\n\n if (item.handlers.length === 0) {\n channelToSubscription.delete(keyChannel);\n storageUnsubscribe.splice(pos, 1);\n }\n }\n }\n });\n });\n}\n\nEventBus.$on(\"DATAFEED_REALTIME_TICKER_CHART\", (payload) => {\n const {\n symbol,\n data: { time, open, high, low, close, trades, volume },\n timeframe,\n contextUuid,\n styleDebugColor,\n } = payload;\n const channelString = `MD.${symbol}.${timeframe}`;\n const subscriptionItem = channelToSubscription.get(channelString);\n\n if (subscriptionItem === undefined) {\n return;\n }\n\n if (myChart[contextUuid] && myChart[contextUuid].symbol === symbol && myChart[contextUuid].timeframe === timeframe) {\n subscriptionItem.handlers.forEach((handler) =>\n handler.callback({\n time,\n open,\n high,\n low,\n close,\n volume,\n })\n );\n }\n});\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('treeselect',{staticClass:\"h-10\",attrs:{\"multiple\":false,\"options\":_vm.investiment,\"show-count\":true,\"searchable\":false,\"clearable\":false,\"placeholder\":\"Selecione seu investimento\"},on:{\"select\":_vm.selectInvestment},scopedSlots:_vm._u([{key:\"option-label\",fn:function({ node, labelClassName }){return _c('div',{staticClass:\"py-2\",class:labelClassName},_vm._l((_vm.list_investment),function(item,index){return _c('div',{key:index,staticClass:\"flex items-center justify-between\"},[(node.id == item.investment_id)?_c('div',{staticClass:\"space-x-3\"},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.investment_id != 0),expression:\"item.investment_id != 0\"},{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme:\n item.investment_status === 'STOPPED' ? 'red' : item.investment_status === 'RUNNING' ? 'green' : 'gray',\n }),expression:\"{\\n arrow: true,\\n theme:\\n item.investment_status === 'STOPPED' ? 'red' : item.investment_status === 'RUNNING' ? 'green' : 'gray',\\n }\"}],staticClass:\"relative -mb-3 inline-flex h-3 w-3 items-center\",attrs:{\"content\":item.investment_status === 'STOPPED'\n ? 'Investimento parado'\n : item.investment_status === 'RUNNING'\n ? 'Investimento em execução'\n : 'Investimento arquivado'}},[_c('span',{staticClass:\"absolute inline-flex h-full w-full rounded-full opacity-75\",class:item.investment_status == 'STOPPED'\n ? 'bg-ontick-red-500'\n : item.investment_status == 'RUNNING'\n ? 'bg-ontick-green-500 animate-ping'\n : 'bg-gray-400'}),_c('span',{staticClass:\"relative inline-flex h-3 w-3 rounded-full\",class:item.investment_status == 'STOPPED'\n ? 'bg-ontick-red-500'\n : item.investment_status == 'RUNNING'\n ? 'bg-ontick-green-500'\n : 'bg-gray-400'})]),(item.investment_id != 0)?_c('span',{staticClass:\"text-ontick-blue-500 inline-flex text-sm\"},[_vm._v(_vm._s(node.id))]):_vm._e(),_c('span',{staticClass:\"text-ontick-steel-900 text-sm dark:text-gray-300\"},[_vm._v(_vm._s(node.label))])]):_vm._e(),(node.id == item.investment_id)?_c('div',{staticClass:\"text-ontick-steel-900 float-right ml-2 text-sm dark:text-gray-300\"},[_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"},{name:\"show\",rawName:\"v-show\",value:(item.investment_status != 'HIDDEN'),expression:\"item.investment_status != 'HIDDEN'\"}],staticClass:\"mx-2 inline-flex items-center\",attrs:{\"content\":\"Ordens executadas\"}},[_c('p',{staticClass:\"mx-2\"},[_vm._v(_vm._s(item.num_positions))])])]):_vm._e()])}),0)}},{key:\"value-label\",fn:function({ node }){return _c('div',{staticClass:\"w-full\"},_vm._l((_vm.list_investment),function(item,index){return _c('div',{key:index,staticClass:\"flex items-center justify-between\"},[(node.id == item.investment_id)?_c('div',{staticClass:\"space-x-3\"},[(item.investment_id != 0)?_c('span',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme:\n item.investment_status === 'STOPPED' ? 'red' : item.investment_status === 'RUNNING' ? 'green' : 'gray',\n }),expression:\"{\\n arrow: true,\\n theme:\\n item.investment_status === 'STOPPED' ? 'red' : item.investment_status === 'RUNNING' ? 'green' : 'gray',\\n }\"}],staticClass:\"relative -mb-3 inline-flex h-3 w-3 items-center\",attrs:{\"content\":item.investment_status === 'STOPPED'\n ? 'Investimento parado'\n : item.investment_status === 'RUNNING'\n ? 'Investimento em execução'\n : 'Investimento arquivado'}},[_c('span',{staticClass:\"absolute inline-flex h-full w-full rounded-full opacity-75\",class:item.investment_status == 'STOPPED'\n ? 'bg-ontick-red-500'\n : item.investment_status == 'RUNNING'\n ? 'bg-ontick-green-500 animate-ping'\n : 'bg-gray-400'}),_c('span',{staticClass:\"relative inline-flex h-3 w-3 rounded-full\",class:item.investment_status == 'STOPPED'\n ? 'bg-ontick-red-500'\n : item.investment_status == 'RUNNING'\n ? 'bg-ontick-green-500'\n : 'bg-gray-400'})]):_vm._e(),(item.investment_id != 0)?_c('span',{staticClass:\"text-ontick-blue-500 inline-flex text-sm\"},[_vm._v(_vm._s(item.investment_id))]):_vm._e(),_c('span',{staticClass:\"text-ontick-steel-900 text-sm dark:text-gray-300\"},[_vm._v(_vm._s(node.label))])]):_vm._e(),(node.id == item.investment_id)?_c('div',{staticClass:\"text-ontick-steel-900 float-right ml-2 text-sm dark:text-gray-300\"},[_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"},{name:\"show\",rawName:\"v-show\",value:(item.investment_status != 'HIDDEN'),expression:\"item.investment_status != 'HIDDEN'\"}],staticClass:\"mx-2 inline-flex items-center\",attrs:{\"content\":\"Ordens executadas\"}},[_c('p',{staticClass:\"text-ontick-steel-900 mx-2 dark:text-gray-300\"},[_vm._v(\" \"+_vm._s(item.num_positions)+\" \")])])]):_vm._e()])}),0)}}]),model:{value:(_vm.select_investment_id),callback:function ($$v) {_vm.select_investment_id=$$v},expression:\"select_investment_id\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./chart-header.component.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./chart-header.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./chart-header.component.vue?vue&type=template&id=034de998\"\nimport script from \"./chart-header.component.vue?vue&type=script&lang=js\"\nexport * from \"./chart-header.component.vue?vue&type=script&lang=js\"\nimport style0 from \"./chart-header.component.vue?vue&type=style&index=0&id=034de998&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default {\n locale: \"pt\",\n timezone: \"America/Sao_Paulo\",\n library_path: \"tradingview/charting_library/\",\n // datafeed: Datafeed,\n // symbol: \"WINFUT\",\n // interval: \"M10\",\n // width: window_width,\n // height: window_height,\n // fullscreen: true,\n autosize: true,\n // loading_screen: { backgroundColor: \"#171B25\" },\n // favorites: {\n // // intervals: [\"1D\", \"3D\", \"3W\", \"W\", \"M\"],\n // chartTypes: [\"Area\", \"Line\"],\n // },\n // fullscreen: true,\n // debug: true,\n // --------------------\n loading_screen: {\n backgroundColor: \"#171B26\",\n foregroundColor: \"#07A4FF\",\n },\n // --------------------\n enabled_features: [\n \"seconds_resolution\",\n \"tick_resolution\",\n \"move_logo_to_main_pane\",\n \"study_templates\",\n \"request_only_visible_range_on_reset\",\n \"always_show_legend_values_on_mobile\",\n \"show_zoom_and_move_buttons_on_touch\",\n // https://www.tradingview.com/charting-library-docs/latest/customization/Featuresets#show_symbol_logos\n // https://www.tradingview.com/charting-library-docs/latest/ui_elements/Symbol-Search/#display-logos\n // \"show_symbol_logos\", //mostrar logo do ativo\n // \"show_exchange_logos\", //mostrar logo da exchange\n ],\n disabled_features: [\n \"symbol_search_hot_key\", //Permite abrir a Pesquisa de Símbolos usando as teclas de digitação.\n \"save_chart_properties_to_local_storage\",\n \"volume_force_overlay\",\n //-\n \"use_localstorage_for_settings\",\n \"left_toolbar\",\n \"header_widget\",\n \"timeframes_toolbar\",\n \"edit_buttons_in_legend\",\n \"context_menus\",\n \"control_bar\",\n \"border_around_the_chart\",\n ],\n overrides: {\n // \"scalesProperties.fontSize\": 14,\n\n // priceScaleSelectionStrategyName: \"left\",\n // \"paneProperties.legendProperties.showVolume\": true,\n \"paneProperties.legendProperties.showSeriesOHLC\": true,\n\n // https://www.tradingview.com/charting-library-docs/latest/customization/overrides/chart-overrides/#chart-background-color\n // volumePaneSize: \"tiny\",\n // Cor de fundo gradiente\n // \"paneProperties.backgroundGradientStartColor\": \"#020024\",\n // \"paneProperties.backgroundGradientEndColor\": \"#4f485e\",\n // Cor de fundo sólida\n // \"paneProperties.background\": \"#020024\",\n // \"paneProperties.backgroundType\": \"solid\",\n //\n\n \"paneProperties.vertGridProperties.color\": \"#182029\",\n \"paneProperties.horzGridProperties.color\": \"#182029\",\n \"scalesProperties.textColor\": \"#AAA\",\n // Transparência do cursor (crosshair)\n \"paneProperties.crossHairProperties.color\": \"#5d6268\",\n \"paneProperties.crossHairProperties.transparency\": 100,\n //\n // shape: \"arrow_up\" e \"arrow_down\"\n \"linetoolarrowmarkup.arrowColor\": \"#FCEB3C\",\n \"linetoolarrowmarkdown.arrowColor\": \"#FCEB3C\",\n },\n theme: \"dark\",\n custom_css_url: \"/css/themed.css\", //folder \"public\"\n // settings_adapter: {\n // // initialSettings: {\n // // symbolWatermark:\n // // '{ \"visibility\": \"true\", \"color\": \"rgba(255, 255, 255, 0.15)\" }',\n // // },\n // setValue: (key, value) => {},\n // removeValue: (key) => {},\n // },\n studies_overrides: {\n \"volume.volume.transparency\": 0,\n // \"volume.volume.color.0\": this.$colors.red[600],\n // \"volume.volume.color.1\": this.$colors.green[600],\n // Style das barras de volume\n // \"volume.volume.color.0\": \"#10F9E0\",\n // \"volume.volume.color.1\": \"#1029F9\",\n },\n // *****************\n // *****************\n};\n","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./portfolio-chart-grid.component.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./portfolio-chart-grid.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./portfolio-chart-grid.component.vue?vue&type=template&id=6b6b2191&scoped=true\"\nimport script from \"./portfolio-chart-grid.component.vue?vue&type=script&lang=js\"\nexport * from \"./portfolio-chart-grid.component.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b6b2191\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}