{"version":3,"sources":["webpack:///./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack:///./node_modules/core-js/internals/array-for-each.js","webpack:///./src/views/Home/Alerts.vue?82c4","webpack:///./src/views/Home/Alerts.vue","webpack:///./src/views/Home/Alerts.vue?3719","webpack:///./src/views/Home/Alerts.vue?f16a","webpack:///./node_modules/core-js/modules/es.array.for-each.js","webpack:///./src/services/data.ts","webpack:///./src/components/SymbolName.vue?ff53","webpack:///./src/components/SymbolName.vue","webpack:///./src/components/SymbolName.vue?7cd3","webpack:///./src/components/SymbolName.vue?6647","webpack:///./src/services/symbolService.ts"],"names":["global","DOMIterables","forEach","createNonEnumerableProperty","COLLECTION_NAME","Collection","CollectionPrototype","prototype","error","$forEach","arrayMethodIsStrict","arrayMethodUsesToLength","STRICT_METHOD","USES_TO_LENGTH","module","exports","callbackfn","this","arguments","length","undefined","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_m","_l","alerts","item","key","Symbol","SymbolId","Alerts","staticStyle","attrs","alertItem","index2","IsDeleting","_e","_s","Type","model","value","callback","$$v","$set","_n","expression","Created","on","$event","deleteItem","slot","Option","OptionId","Name","cancelChanges","saveChanges","staticRenderFns","isLoading","message","loadData","symbolService","getAllAlertPricesAsync","res","Result","q","sort","a","b","AlertPrice","$alert","Error","req","p","push","AlertInfo","type","symbolId","PriceAlerts","optionId","addOrUpdateBatchAlertPrice","components","SymbolName","component","$","target","proto","forced","SymbolType","PortfolioGroupCls","group","IsExpanded","Items","ComboType","PreMarketStart","PreMarketEnd","PriceCls","price","Open","Close","Last","Bid","BidYtm","DailyBid","DailyBidYtm","Volume","AvgVolume","LastUpdated","NextEarnDate","LastClosed","Status","last","getLast","close","getClose","change","getChange","closed","getPreAfterChange","Currency","SecType","class","SymbolClass","padStart","PrimaryExch","name","getSymbolPriceAsync","tryPostResult","Price","getRssNewsAsync","models","tryPostBooleanResult","addOrUpdateAlertPriceAsync","alertInfo","getAlertPricesAsync","removePriceAlertsAsync","PriceAlertId","updateFromYahooAsync","searchSymbolsAsync","input","searchOptionsAsync","expiration","getOptionDefInfo","getWatchedOptions","generateOptions","Expiration"],"mappings":"qGAAA,IAAIA,EAAS,EAAQ,QACjBC,EAAe,EAAQ,QACvBC,EAAU,EAAQ,QAClBC,EAA8B,EAAQ,QAE1C,IAAK,IAAIC,KAAmBH,EAAc,CACxC,IAAII,EAAaL,EAAOI,GACpBE,EAAsBD,GAAcA,EAAWE,UAEnD,GAAID,GAAuBA,EAAoBJ,UAAYA,EAAS,IAClEC,EAA4BG,EAAqB,UAAWJ,GAC5D,MAAOM,GACPF,EAAoBJ,QAAUA,K,oCCXlC,IAAIO,EAAW,EAAQ,QAAgCP,QACnDQ,EAAsB,EAAQ,QAC9BC,EAA0B,EAAQ,QAElCC,EAAgBF,EAAoB,WACpCG,EAAiBF,EAAwB,WAI7CG,EAAOC,QAAYH,GAAkBC,EAEjC,GAAGX,QAFgD,SAAiBc,GACtE,OAAOP,EAASQ,KAAMD,EAAYE,UAAUC,OAAS,EAAID,UAAU,QAAKE,K,2CCX1E,IAAIC,EAAS,WAAa,IAAIC,EAAIL,KAASM,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,KAAK,CAACH,EAAIM,GAAG,YAAYN,EAAIO,GAAG,GAAGP,EAAIQ,GAAIR,EAAIS,OAAa,QAAE,SAASC,GAAM,OAAOP,EAAG,MAAM,CAACQ,IAAID,EAAKE,OAAOC,UAAU,CAAEH,EAAKI,OAAOjB,OAAO,EAAGM,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CAACY,YAAY,CAAC,MAAQ,UAAU,CAACZ,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,aAAa,CAACa,MAAM,CAAC,OAASN,EAAKE,WAAW,KAAKT,EAAG,MAAM,CAACE,YAAY,a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,SAWqBkD,GAAiE,6JACpF,OAAYC,qBAAqB,qCAAsCD,GADa,sFAG7FE,2BAdO,SAcqBC,EAA0B7F,GAAmB,6JAChE,OAAY2F,qBAAqB,gCAAiC,CAC7ExD,UAAW0D,EACXvD,YAAatC,IAH8D,sFAMzE8F,oBApBO,SAoBcD,GAAwB,6JACpC,OAAYN,cAA4B,yBAA0BM,GAD9B,sFAG7CvE,uBAvBO,WAuBe,6JACb,OAAYiE,cAAgC,6BAD/B,sFAGtBQ,uBA1BO,SA0BiBC,GAAoB,6JACnC,OAAYL,qBAAqB,4BAA6B,CAAEK,iBAD7B,sFAG5CC,qBA7BO,WA6Ba,6JACX,OAAYN,qBAAqB,2BADtB,sFAGpBO,mBAhCO,SAgCaC,EAAe/D,GAAgB,6JAC1C,OAAYmD,cAAgC,wBAAyB,CAAEY,QAAO/D,SADpC,sFAGnDgE,mBAnCO,SAmCaD,EAAeE,GAAkB,6JAC5C,OAAYd,cAA6B,wBAAyB,CAAEY,QAAOE,eAD/B,sFAGrDC,iBAtCO,SAsCWjE,GAAgB,6JACzB,OAAYkD,cAA6B,2BAA4B,CAAElD,aAD9C,sFAGlCkE,kBAzCO,SAyCYjH,GAAgB,6JAC1B,OAAYiG,cAA8B,4BAA6B,CAAEjG,aAD/C,sFAGnCkH,gBA5CO,SA4CUlH,EAAkBmH,GAAkB,6JAC5C,OAAYlB,cAAgE,0BAA2B,CAAEjG,WAAUmH,eADvE","file":"js/chunk-1bc6cfeb.js","sourcesContent":["var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n}\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n} : [].forEach;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"m-auto\"},[_c('div',{staticClass:\"text-left\"},[_c('h2',[_vm._v(\"Alerts\")]),_vm._m(0),_vm._l((_vm.alerts.Symbol),function(item){return _c('div',{key:item.Symbol.SymbolId},[(item.Alerts.length>0)?_c('div',{staticClass:\"d-flex pt-2 pb-2 border-bottom\"},[_c('div',{staticStyle:{\"width\":\"300px\"}},[_c('div',{staticClass:\"ml-3 mt-2\"},[_c('SymbolName',{attrs:{\"Symbol\":item.Symbol}})],1)]),_c('div',{staticClass:\"flex-fill\"},_vm._l((item.Alerts),function(alertItem,index2){return _c('div',{key:index2},[(!alertItem.IsDeleting)?_c('div',{staticClass:\"d-flex pt-1 pb-1\"},[_c('div',{staticStyle:{\"width\":\"300px\"}},[_c('span',{staticClass:\"mr-2\",staticStyle:{\"width\":\"170px\"}},[_vm._v(\"Price \"+_vm._s(alertItem.Type === 'Low' ? '≤' : '≥'))]),_c('el-input',{staticStyle:{\"width\":\"120px\"},attrs:{\"type\":\"number\"},model:{value:(alertItem.AlertPrice),callback:function ($$v) {_vm.$set(alertItem, \"AlertPrice\", _vm._n($$v))},expression:\"alertItem.AlertPrice\"}})],1),_c('div',{staticStyle:{\"width\":\"250px\"}},[_c('date-text',{attrs:{\"date-str\":alertItem.Created}})],1),_c('div',{staticStyle:{\"width\":\"150px\"}},[_c('el-checkbox',{model:{value:(alertItem.TriggerToDo),callback:function ($$v) {_vm.$set(alertItem, \"TriggerToDo\", $$v)},expression:\"alertItem.TriggerToDo\"}})],1),_c('div',[_c('el-popconfirm',{attrs:{\"confirm-button-text\":\"Ok\",\"cancel-button-text\":\"Cancel\",\"icon\":\"el-icon-info\",\"icon-color\":\"red\",\"title\":\"Are you sure you want to delete this item?\"},on:{\"confirm\":function($event){return _vm.deleteItem(alertItem)}}},[_c('i',{staticClass:\"el-icon-delete pointer f-22 font-weight-bold\",attrs:{\"slot\":\"reference\"},slot:\"reference\"})])],1)]):_vm._e()])}),0)]):_vm._e()])}),_vm._l((_vm.alerts.Option),function(item){return _c('div',{key:item.Option.OptionId},[(item.Alerts.length>0)?_c('div',{staticClass:\"d-flex pt-2 pb-2 border-bottom\"},[_c('div',{staticStyle:{\"width\":\"300px\"}},[_c('div',{staticClass:\"ml-3 mt-2\"},[_vm._v(\" \"+_vm._s(item.Name)+\" \")])]),_c('div',{staticClass:\"flex-fill\"},_vm._l((item.Alerts),function(alertItem,index2){return _c('div',{key:index2},[(!alertItem.IsDeleting)?_c('div',{staticClass:\"d-flex pt-1 pb-1\"},[_c('div',{staticStyle:{\"width\":\"300px\"}},[_c('span',{staticClass:\"mr-2\",staticStyle:{\"width\":\"170px\"}},[_vm._v(\"Price \"+_vm._s(alertItem.Type === 'Low' ? '≤' : '≥'))]),_c('el-input',{staticStyle:{\"width\":\"120px\"},attrs:{\"type\":\"number\"},model:{value:(alertItem.AlertPrice),callback:function ($$v) {_vm.$set(alertItem, \"AlertPrice\", _vm._n($$v))},expression:\"alertItem.AlertPrice\"}})],1),_c('div',{staticStyle:{\"width\":\"250px\"}},[_c('date-text',{attrs:{\"date-str\":alertItem.Created}})],1),_c('div',{staticStyle:{\"width\":\"150px\"}},[_c('el-checkbox',{model:{value:(alertItem.TriggerToDo),callback:function ($$v) {_vm.$set(alertItem, \"TriggerToDo\", $$v)},expression:\"alertItem.TriggerToDo\"}})],1),_c('div',[_c('el-popconfirm',{attrs:{\"confirm-button-text\":\"Ok\",\"cancel-button-text\":\"Cancel\",\"icon\":\"el-icon-info\",\"icon-color\":\"red\",\"title\":\"Are you sure you want to delete this item?\"},on:{\"confirm\":function($event){return _vm.deleteItem(alertItem)}}},[_c('i',{staticClass:\"el-icon-delete pointer f-22 font-weight-bold\",attrs:{\"slot\":\"reference\"},slot:\"reference\"})])],1)]):_vm._e()])}),0)]):_vm._e()])}),_c('div',{staticClass:\"text-center p-2\"},[_c('el-button',{on:{\"click\":_vm.cancelChanges}},[_vm._v(\"Cancel\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveChanges}},[_vm._v(\"Save\")])],1)],2)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex border-top border-bottom pt-2 pb-2 font-weight-bold\"},[_c('div',{staticStyle:{\"width\":\"300px\"}},[_vm._v(\"Symbol\")]),_c('div',{staticStyle:{\"width\":\"300px\"}},[_vm._v(\"Alerts\")]),_c('div',{staticStyle:{\"width\":\"250px\"}},[_vm._v(\"Alert Set\")]),_c('div',{staticStyle:{\"width\":\"150px\"}},[_vm._v(\"Trigger TO-DO\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator'\r\nimport symbolService, { SymbolPriceAlert } from '@/services/symbolService'\r\nimport { AlertTypeInfo, MessageText, PriceAlert } from '@/services/data'\r\nimport SymbolName from '@/components/SymbolName.vue'\r\n\r\n@Component({\r\n components: {\r\n SymbolName\r\n }\r\n})\r\nexport default class Account extends Vue {\r\n isLoading = false\r\n alerts: SymbolPriceAlert = { Symbol: [], Option: [], Name: '' }\r\n message: MessageText = null\r\n\r\n async mounted () {\r\n await this.loadData()\r\n }\r\n\r\n async loadData () {\r\n const res = await symbolService.getAllAlertPricesAsync()\r\n if (res.Result) {\r\n res.Result.Symbol.forEach(q => q.Alerts.sort((a, b) => a.AlertPrice - b.AlertPrice))\r\n res.Result.Option.forEach(q => q.Alerts.sort((a, b) => a.AlertPrice - b.AlertPrice))\r\n this.alerts = res.Result\r\n } else {\r\n await this.$alert(res.Error)\r\n }\r\n }\r\n\r\n async cancelChanges () {\r\n await this.loadData()\r\n }\r\n\r\n async saveChanges () {\r\n const req: { AlertInfo: AlertTypeInfo; PriceAlerts: PriceAlert[] }[] = []\r\n this.alerts.Symbol.forEach(p => {\r\n req.push({\r\n AlertInfo: {\r\n type: 'Stock',\r\n symbolId: p.Symbol.SymbolId\r\n },\r\n PriceAlerts: p.Alerts\r\n })\r\n })\r\n this.alerts.Option.forEach(p => {\r\n req.push({\r\n AlertInfo: {\r\n type: 'Option',\r\n optionId: p.Option.OptionId\r\n },\r\n PriceAlerts: p.Alerts\r\n })\r\n })\r\n const res = await symbolService.addOrUpdateBatchAlertPrice(req)\r\n if (res.Result) {\r\n await this.loadData()\r\n } else {\r\n await this.$alert(res.Error)\r\n }\r\n }\r\n\r\n deleteItem (item: PriceAlert) {\r\n item.IsDeleting = true\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alerts.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alerts.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Alerts.vue?vue&type=template&id=6545a00c&\"\nimport script from \"./Alerts.vue?vue&type=script&lang=ts&\"\nexport * from \"./Alerts.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../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","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","export interface ApiResult {\r\n Error: string;\r\n Result: T;\r\n}\r\n\r\nexport interface ApiBooleanResult {\r\n Error: string;\r\n Result: boolean;\r\n}\r\n\r\nexport interface JwtResult {\r\n jwt: string;\r\n chromeToken: string;\r\n}\r\n\r\nexport interface User {\r\n email: string;\r\n name: string;\r\n accNo: string;\r\n jwt: string;\r\n uid?: string;\r\n agentId?: string;\r\n}\r\n\r\nexport interface MessageText {\r\n success?: string;\r\n error?: string;\r\n}\r\n\r\nexport interface Sort {\r\n key: string;\r\n direction: string;\r\n}\r\n\r\nexport interface SocketResponse {\r\n Action: string;\r\n Content: T;\r\n}\r\n\r\nexport interface ContractSymbol {\r\n SymbolUId: number;\r\n SymbolId: number;\r\n Symbol: string;\r\n SecType: string;\r\n Currency: string;\r\n PrimaryExch: string;\r\n CompanyName: string;\r\n CondId?: number;\r\n Description?: string;\r\n Detail?: any;\r\n IssuerId?: string;\r\n}\r\n\r\nexport interface BasePortfolio {\r\n Position: number;\r\n MarketValue: number;\r\n AverageCost: number;\r\n DailyPL?: number;\r\n}\r\n\r\nexport interface Option {\r\n Right: string;\r\n Multiplier: number;\r\n Expiration: string;\r\n Strike: number;\r\n Code: string;\r\n}\r\n\r\nexport interface OptionRow {\r\n OptionId: number;\r\n OptionUId: number;\r\n LocalSymbol: string;\r\n Right: string;\r\n Multiplier: number;\r\n ExpirationDate: string;\r\n Strike: number;\r\n ComboType?: string;\r\n}\r\n\r\nexport interface OptionSymbol extends OptionRow, ContractSymbol {\r\n Expiration: string;\r\n}\r\n\r\nexport interface WatchOption {\r\n Option: OptionSymbol;\r\n Price: Price;\r\n}\r\n\r\nexport interface CryptoSymbol\r\n{\r\n CryptoId: number;\r\n Code: string;\r\n Name: string;\r\n}\r\n\r\nexport enum SymbolType\r\n{\r\n Stock = 1,\r\n Option = 2,\r\n Crypto = 3,\r\n Bond = 4\r\n}\r\n\r\nexport interface OtmRange {\r\n SymbolId: number;\r\n Low: number;\r\n High: number;\r\n Run?: boolean;\r\n RangeType?: 'Download' | 'Freebie';\r\n}\r\n\r\nexport interface OptionPrice {\r\n Option: OptionRow;\r\n Price: BasePrice;\r\n}\r\n\r\nexport interface PortfolioMessage extends BasePortfolio {\r\n PortfolioId: number;\r\n SecType: string;\r\n ConId: number;\r\n AccountName: string;\r\n StockPrice?: Price;\r\n OptionData?: OptionRow;\r\n MarketPrice: number;\r\n UnrealizedPL: number;\r\n Change: number;\r\n ChangeRate: number;\r\n Return: number;\r\n Alert?: boolean;\r\n ExRate: number;\r\n Exposure?: number;\r\n StrikeProx?: string;\r\n}\r\n\r\nexport interface PortfolioGroup {\r\n Symbol: ContractSymbol;\r\n Items: PortfolioMessage[];\r\n ComboType: number;\r\n IsExpanded?: boolean;\r\n}\r\n\r\nexport class PortfolioGroupCls implements PortfolioGroup {\r\n constructor (group: PortfolioGroup) {\r\n this.Symbol = group.Symbol\r\n this.Items = group.Items\r\n this.ComboType = group.ComboType\r\n }\r\n\r\n Symbol: ContractSymbol\r\n Items: PortfolioMessage[]\r\n ComboType: number;\r\n IsExpanded? = true\r\n}\r\n\r\nexport interface GroupedData {\r\n SecType: string;\r\n Items: T[];\r\n Keys: string[];\r\n Sort: Sort;\r\n}\r\n\r\nexport interface WatchListName {\r\n WatchListId: number;\r\n Name: string;\r\n Keys: string[];\r\n OptKeys: string[];\r\n CryptoKeys: string[];\r\n BondKeys: string[];\r\n IsSystem: boolean;\r\n IsReadOnly: boolean;\r\n FromUserId: number;\r\n Rank: number;\r\n}\r\n\r\nexport interface WatchGroup {\r\n WatchName: WatchListName;\r\n Symbols: WatchSymbol[];\r\n Options: WatchOption[];\r\n Cryptos: WatchCrypto[];\r\n Rank?: number;\r\n LastUpdated?: string;\r\n}\r\n\r\nexport interface BasePrice {\r\n Last: number;\r\n Bid?: number;\r\n Ask?: number;\r\n Open: number;\r\n Close: number;\r\n}\r\n\r\nexport interface Price extends BasePrice {\r\n Volume?: number;\r\n AvgVolume?: number;\r\n LastUpdated?: string;\r\n NextEarnDate?: string;\r\n LastClosed?: number;\r\n Status?: number;\r\n BidYtm?: number;\r\n Bid?: number;\r\n DailyBid?: number;\r\n DailyBidYtm?: number;\r\n\r\n getLast? (): number;\r\n\r\n getClose? (): number;\r\n\r\n getChange? (): number;\r\n\r\n getChangeRate? (): number;\r\n\r\n getPreAfterChange? (): number;\r\n\r\n getPreAfterChangeRate? (): number;\r\n}\r\n\r\nconst PreMarketStart = 4\r\nconst PreMarketEnd = 16\r\nconst InTrading = 8\r\nconst Closed = 64\r\n\r\nexport class PriceCls implements Price {\r\n Open: number\r\n Close: number\r\n Last: number\r\n Bid: number\r\n BidYtm?: number\r\n DailyBid?: number\r\n DailyBidYtm?: number\r\n Volume?: number\r\n AvgVolume?: number\r\n LastUpdated?: string\r\n NextEarnDate?: string\r\n LastClosed?: number\r\n Status?: number\r\n\r\n constructor (price: Price) {\r\n if (price != null) {\r\n this.Open = price.Open\r\n this.Close = price.Close\r\n this.Last = price.Last\r\n this.Bid = price.Bid\r\n this.BidYtm = price.BidYtm\r\n this.DailyBid = price.DailyBid\r\n this.DailyBidYtm = price.DailyBidYtm\r\n this.Volume = price.Volume\r\n this.AvgVolume = price.AvgVolume\r\n this.LastUpdated = price.LastUpdated\r\n this.NextEarnDate = price.NextEarnDate\r\n this.LastClosed = price.LastClosed\r\n this.Status = price.Status\r\n }\r\n }\r\n\r\n getLast (): number {\r\n if (this.Status === PreMarketStart || this.Status === PreMarketEnd) { // support pre after price for some us stocks\r\n return this.LastClosed\r\n } else {\r\n return this.Last\r\n }\r\n }\r\n\r\n getClose (): number {\r\n return this.Close\r\n }\r\n\r\n getChange (): number {\r\n const last = this.getLast()\r\n const close = this.getClose()\r\n if (close && last) {\r\n return last - close\r\n }\r\n return 0\r\n }\r\n\r\n getChangeRate (): number {\r\n const change = this.getChange()\r\n const closed = this.getClose()\r\n if (change) {\r\n return (change / closed) * 100\r\n }\r\n return 0\r\n }\r\n\r\n getPreAfterChange (): number {\r\n if (this.Status === PreMarketStart || this.Status === PreMarketEnd) {\r\n if (this.Last && this.LastClosed) {\r\n return (this.Last - this.LastClosed)\r\n }\r\n }\r\n return null\r\n }\r\n\r\n getPreAfterChangeRate (): number {\r\n const change = this.getPreAfterChange()\r\n if (change) {\r\n return (change / this.LastClosed) * 100\r\n }\r\n return null\r\n }\r\n}\r\n\r\nexport interface StockPrice {\r\n Symbol: ContractSymbol;\r\n Price: Price;\r\n ExRate?: number;\r\n}\r\n\r\nexport interface WatchSymbol extends StockPrice {\r\n WatchListId: number;\r\n NextEarnDate: string;\r\n Alert: boolean;\r\n Rank?: number;\r\n Target?: number;\r\n IsDownload?: boolean;\r\n IsDownloading?: boolean;\r\n Portfolio?: BasePortfolio;\r\n}\r\n\r\nexport interface WatchCrypto {\r\n WatchListId: number;\r\n Alert: boolean;\r\n Rank?: number;\r\n Target?: number;\r\n Symbol: CryptoSymbol;\r\n}\r\n\r\nexport interface AlertTypeInfo{\r\n type: 'Stock' | 'Option' | 'Bond';\r\n symbolId?: number;\r\n optionId?: number;\r\n}\r\n\r\nexport interface PriceAlert {\r\n PriceAlertId: number;\r\n AlertPrice: number;\r\n Type: string;\r\n TriggerToDo: boolean;\r\n Created?: string;\r\n CreatedStr?: string;\r\n IsDeleting?: boolean;\r\n SymbolId?: number;\r\n OptionId?: number;\r\n}\r\n\r\nexport interface PriceMsgContent {\r\n Name: string;\r\n Value: number;\r\n LastTime?: string;\r\n Status: number;\r\n}\r\n\r\nexport interface OptionMsgContent extends PriceMsgContent {\r\n ConId?: number;\r\n Otm: number;\r\n StockPrice: number;\r\n Target: number;\r\n}\r\n\r\nexport interface TransactionItem {\r\n SymbolTransId?: number;\r\n SymbolId: number;\r\n Quantity: number;\r\n CostPerShare: number;\r\n TransDate: string;\r\n Commission: number;\r\n Type: string;\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.Symbol)?_c('div',{staticClass:\"d-inline-block\"},[( _vm.Symbol.Currency === 'HKD' && _vm.Symbol.SecType === 'STK' )?_c('span',{class:_vm.SymbolClass},[_vm._v(\" HKG:\"),_c('label',{class:_vm.SymbolClass},[_vm._v(_vm._s(_vm.Symbol.Symbol.padStart(4,'0')))])]):( _vm.Symbol.PrimaryExch == 'SEHKSZSE' )?_c('span',{class:_vm.SymbolClass},[_vm._v(\"SHE:\"),_c('span',{class:_vm.SymbolClass},[_vm._v(_vm._s(_vm.Symbol.Symbol.padStart(4,'0')))])]):( _vm.Symbol.SecType == 'BOND' )?_c('span',{class:_vm.SymbolClass},[_vm._v(\" \"+_vm._s(_vm.Symbol.Symbol)+\" \")]):_c('span',{class:_vm.SymbolClass},[_vm._v(_vm._s(_vm.Symbol.Symbol))])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { ContractSymbol } from '@/services/data'\r\nimport { Component, Vue, Prop } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class SymbolName extends Vue {\r\n name = 'SymbolName'\r\n @Prop() Symbol: ContractSymbol\r\n @Prop() SymbolClass: string\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SymbolName.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SymbolName.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SymbolName.vue?vue&type=template&id=171114f6&\"\nimport script from \"./SymbolName.vue?vue&type=script&lang=ts&\"\nexport * from \"./SymbolName.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../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","import {\r\n ContractSymbol, PriceAlert, PriceCls, StockPrice, OptionPrice, AlertTypeInfo, OptionSymbol, SymbolType\r\n} from '@/services/data'\r\nimport ServiceBase from '@/services/serviceBase'\r\n\r\nexport interface SymbolPriceAlert {\r\n Symbol: { Symbol: ContractSymbol; Alerts: PriceAlert[] }[];\r\n Name: string;\r\n Option: { Option: OptionSymbol; Alerts: PriceAlert[] }[];\r\n}\r\n\r\nexport interface RssFeeds {\r\n SymbolId: number;\r\n FeedIcon?: string;\r\n Link: string;\r\n FeedName: string;\r\n}\r\n\r\nexport interface RssNews {\r\n Title: string;\r\n Author: string;\r\n Link: string;\r\n Icon: string;\r\n PublishDate: string;\r\n}\r\n\r\nexport interface OptionScanRes {\r\n Symbol: ContractSymbol;\r\n Expirations: string[];\r\n Strikes: number[];\r\n Multiplier: number;\r\n}\r\n\r\nexport interface OptionWatchData extends OptionPrice {\r\n IsWatched: boolean;\r\n}\r\n\r\nexport default {\r\n async getSymbolPriceAsync (SymbolId: number) {\r\n const res = await ServiceBase.tryPostResult('/symbol/getSymbolWithPrice', { SymbolId })\r\n if (res.Result) {\r\n res.Result.Price = new PriceCls(res.Result.Price)\r\n }\r\n return res\r\n },\r\n async getRssNewsAsync (SymbolId: number) {\r\n return await ServiceBase.tryPostResult('/symbol/getRssNews', { SymbolId })\r\n },\r\n async addOrUpdateBatchAlertPrice (models: { AlertInfo: AlertTypeInfo; PriceAlerts: PriceAlert[] }[]) {\r\n return await ServiceBase.tryPostBooleanResult('/symbol/addOrUpdateBatchAlertPrice', models)\r\n },\r\n async addOrUpdateAlertPriceAsync (alertInfo: AlertTypeInfo, model: PriceAlert[]) {\r\n return await ServiceBase.tryPostBooleanResult('/symbol/addOrUpdateAlertPrice', {\r\n AlertInfo: alertInfo,\r\n PriceAlerts: model\r\n })\r\n },\r\n async getAlertPricesAsync (alertInfo: AlertTypeInfo) {\r\n return await ServiceBase.tryPostResult('/symbol/getAlertPrices', alertInfo)\r\n },\r\n async getAllAlertPricesAsync () {\r\n return await ServiceBase.tryPostResult('/symbol/getAllAlertPrices')\r\n },\r\n async removePriceAlertsAsync (PriceAlertId: number) {\r\n return await ServiceBase.tryPostBooleanResult('/symbol/removePriceAlerts', { PriceAlertId })\r\n },\r\n async updateFromYahooAsync () {\r\n return await ServiceBase.tryPostBooleanResult('/symbol/updateFromYahoo')\r\n },\r\n async searchSymbolsAsync (input: string, type: SymbolType) {\r\n return await ServiceBase.tryPostResult('/symbol/searchSymbols', { input, type })\r\n },\r\n async searchOptionsAsync (input: string, expiration: string) {\r\n return await ServiceBase.tryPostResult('/symbol/searchOptions', { input, expiration })\r\n },\r\n async getOptionDefInfo (symbolId: number) {\r\n return await ServiceBase.tryPostResult('/symbol/getOptionDefInfo', { symbolId })\r\n },\r\n async getWatchedOptions (SymbolId: number) {\r\n return await ServiceBase.tryPostResult('/symbol/getWatchedOptions', { SymbolId })\r\n },\r\n async generateOptions (SymbolId: number, Expiration: string) {\r\n return await ServiceBase.tryPostResult<{ Data: OptionWatchData[]; MarketState: number }>('/symbol/generateOptions', { SymbolId, Expiration })\r\n }\r\n}\r\n"],"sourceRoot":""}