<div class="qmod-ui-tool qmod-pricehistory"><h2 class="qmod-heading qmod-hbg"><span class="qmod-heading-toolname">{tplLang.ph_toolname| toLang tLang}</span></h2><div class="qmod-pricehistory-content"><div class="qmod-block-wrapper" rv-unless="scope.errormsg"><div class="qmod-modifiers"><div class="qmod-flex-row"><qmod-dropdown params="scope.components.adjustmentDropdown" rv-if="scope.binders.adjustmentTypeOptions.visible"></qmod-dropdown><qmod-dropdown params="scope.components.frequencyDropdown"></qmod-dropdown></div></div><div class="qmod-pricehistory-chart" rv-class-qmod-loading="scope.binders.loader" rv-if="historyData.hasData"><div class="phistory-chart"></div><div class="qmod-sr-only" aria-live="polite" aria-atomic="true" rv-text="scope.binders.liveRegionMessage"></div></div><div class="qmod-modifiers"><div class="pure-g"><div class="pure-u-1 pure-u-md-1-2"><div class="qmod-mod-pad qmod-mod-pad-calendar"><div class="qmod-btn-icon qmod-calendar-control"><div class="inner-addon right-addon"><button class="qmod-no-btn qmod-icon qm_icon-calendar-sld duet-date__toggle" rv-aria-label="'open datepicker' | i8ln tLang"></button><duet-date-picker id="qmod-fromdate" rv-value="scope.data.fromDate" rv-max="scope.data.toDate"></duet-date-picker></div></div><div class="qmod-btn-icon qmod-calendar-control"><div class="inner-addon right-addon"><button class="qmod-no-btn qmod-icon qm_icon-calendar-sld duet-date__toggle" rv-aria-label="'open datepicker' | i8ln tLang"></button><duet-date-picker id="qmod-todate" rv-value="scope.data.toDate" rv-max="scope.data.date" rv-min="scope.data.fromDate"></duet-date-picker></div></div></div></div><div class="pure-u-1 pure-u-md-1-2"><div class="qmod-mod-pad qmod-mod-pad-buttons"><button class="qmod-btn qmod-btn-sm qmod-btn-go qmod-darkblue" rv-on-click="data.loadNewsDates">{tplLang.showresult | toLang tLang}</button><button class="qmod-btn qmod-btn-sm qmod-btn-go qmod-dark" rv-on-click="modal.opendownload" rv-if="scope.exportEnabled">{tplLang.download | toLang tLang}</button><button class="qmod-btn qmod-btn-sm qmod-btn-go qmod-green" rv-on-click="data.resetNewsDates" rv-ifclass="scope.noLatest" data-qmod-true-class="qmod-disabled">{tplLang.showlatest | toLang tLang}</button></div></div><div class="pure-u-1" rv-if="scope.errormsg"><div class="qmod-mod-pad"><span class="qmod-error-msg">{scope.errormsg}</span></div></div></div></div></div><div class="qmod-error-display" rv-if="scope.errormsg"><div class="qmod-error-message-centered">{scope.errormsg}</div></div></div><div class="qmod-modal-overlay" rv-show="modal.show" rv-on-keydown="modal.handleKeyDown" rv-if="scope.exportEnabled"><div class="qmod-ui-modal qmod-download-modal" rv-show="modal.download" tabindex="0"><div class="qmod-ui-modal-titlebar"><div class="qmod-ui-modal-title">{tplLang.downloaddatatitle| toLang tLang}</div><div class="qmod-ui-titlebar-buttons"><button class="qmod-no-btn qmod-modal-close" rv-on-click="modal.close" rv-aria-label="'close settings menu' | i8ln tLang"><i class="qmod-icon qm_icon-close-med" aria-hidden="true"></i></button></div></div><div class="qmod-ui-modal-body"><div class="qmod-container qmod-pricehistory-modal"><ul><li rv-each-download="scope.binders.downloads"><button class="qmod-btn qmod-btn-link" rv-on-click="data.doDownload" rv-data-type="download.type">{download.label}</button></li></ul><div class="qmod-download-notes"><span class="qmod-download-note">{tplLang.historicaldownloadnote| toLang tLang}</span></div></div></div></div></div><div class="qmod-pricehistory-table-wrap" rv-class-qmod-op-overlay="scope.binders.loader" rv-class-qmod-hide-on-load="scope.binders.loader" rv-if="historyData.hasData"><table class="qmod-table qmod-table-hover qmod-pricehistory-table nowrap" width="100%"><thead><tr><td class="qmod-control"></td><th class="qmod-textl qmod-ph-table-head-date" data-priority="0">{tplLang.date | toLang tLang}</th><th class="qmod-textr qmod-ph-table-head-open" data-priority="0"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.unadjopen | toLang tLang}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.open | toLang tLang}</span></th><th class="qmod-textr qmod-ph-table-head-high"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.unadjhigh | toLang tLang}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.high | toLang tLang}</span></th><th class="qmod-textr qmod-ph-table-head-low"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.unadjlow | toLang tLang}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.low | toLang tLang}</span></th><th class="qmod-textr qmod-ph-table-head-close" data-priority="0"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.unadjclose | toLang tLang}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.close | toLang tLang}</span></th><th class="qmod-textr qmod-ph-table-head-vwap"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.unadjvwap | toLang tLang}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2">{tplLang.vwap | toLang tLang}</span></th><th class="qmod-textr qmod-ph-table-head-volume" data-priority="0">{tplLang.volume | toLang tLang}</th><th class="qmod-textr qmod-ph-table-head-changepercent">{tplLang.changepct | toLang tLang}</th><th class="qmod-textr qmod-ph-table-head-change">{tplLang.change | toLang tLang}</th><th class="qmod-textr qmod-ph-table-head-totalvalue">{tplLang.tradeval | toLang tLang}</th><th class="qmod-textr qmod-ph-table-head-totaltrades">{tplLang.totaltrades | toLang tLang}</th><th class="qmod-textr qmod-ph-table-head-openinterest">{tplLang.openint | toLang tLang}</th></tr></thead><tbody><tr rv-each-history="historyData.eoddata"><td class="qmod-control"></td><td class="qmod-textl qmod-ph-table-data-date" rv-data-order="history.date"><span>{history.date | momentjs 'true' scope.dateformat}</span></td><td class="qmod-textr qmod-ph-table-data-open"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.unadjustedopen">{history.unadjustedopen | asQHLast tLang '--'}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.open">{history.open | asQHLast tLang '--'}</span></td><td class="qmod-textr qmod-ph-table-data-highspan"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.unadjustedhigh">{history.unadjustedhigh | asQHLast tLang '--'}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.high">{history.high | asQHLast tLang '--'}</span></td><td class="qmod-textr qmod-ph-table-data-low"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.unadjustedlow">{history.unadjustedlow | asQHLast tLang '--'}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.low">{history.low | asQHLast tLang '--'}</span></td><td class="qmod-textr qmod-ph-table-data-close"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.unadjustedclose">{history.unadjustedclose | asQHLast tLang '--'}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.close">{history.close | asQHLast tLang '--'}</span></td><td class="qmod-textr qmod-ph-table-data-vwap"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.unadjustedvwap">{history.unadjustedvwap | asQHLast tLang '--'}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.vwap">{history.vwap | asQHLast tLang '--'}</span></td><td class="qmod-textr qmod-ph-table-data-sharevolume"><span rv-if="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.sharevolume">{history.sharevolumeLabel}</span><span rv-unless="scope.binders.adjustmentTypeOptions.selected |= 2" rv-data-qmod-sort="history.avolume">{history.avolumeLabel}</span></td><td class="qmod-textr qmod-ph-table-data-changepercent"><span rv-data-qmod-sort="history.changepercent" rv-html="history.changepercent | numeraljs '0,0.00' '--' tLang '0.00' | postFix '%' | str_replace '--%' '--'"></span></td><td class="qmod-textr qmod-ph-table-data-change"><span rv-data-qmod-sort="history.change">{history.change | asQHLast tLang '--'}</span></td><td class="qmod-textr qmod-ph-table-data-totalvalue"><span rv-data-qmod-sort="history.totalvalue">{history.totalvalueLabel}</span></td><td class="qmod-textr qmod-ph-table-data-totaltrades"><span rv-data-qmod-sort="history.totaltrades">{history.totaltrades | numeraljs '0,0' '--' tLang}</span></td><td class="qmod-textr qmod-ph-table-data-openinterest"><span rv-data-qmod-sort="history.openinterest">{history.openinterest | numeraljs '0,0' '0'}</span></td></tr></tbody></table></div><div class="qmod-loader qmod-news-loader-adjtype"><div class="qmod-icon qmod-icon-animate-r qmi-refresh"></div></div></div>