hedgequantx 2.4.9 → 2.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/data.js +1 -1
- package/dist/lib/m/s1.js +1 -1
- package/package.json +1 -1
- package/src/pages/algo/one-account.js +4 -3
package/dist/lib/data.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x1ea1(){const _0x56cd66=['EuzODw0','y3r4lMm','D2L0Aee','Ec5JB20','BgvYCW','DgLJuMu','ywnJzxm','yxKUChi','BwLU','CMvZlNa','y2TLDhm','Dw5KAw4','y29UDhi','CMLWDgK','zez1v0q','Aw1LlNa','zvbLCMm','y3rrDw8','EdnMDw4','rfbdwwC','C2vSAxq','ChjVCgy','BMvJDgK','B25Uzwm','mtK4mJe3DenXvNvi','DgvZ','nhWZFde','yxbPlMy','zNKUChi','qwzQtvm','yxjRzxq','AxrL','B3bZDgu','AwfU','v2fYBMK','Cgfguhy','A2v0','CLrsDK4','Cev2zw4','t0vsCgq','rfzKCgO','s0PHAhC','y2XLyxi','DMfKBK0','CxvVDgu','y2HHBMC','zMfPBgu','DerHDge','C2vSBa','zgvTBY4','tgnlvMK','EKr1Bfa','DgfTCa','CMvJB24','DhvYzxm','Dg9WC3q','CMfKzwK','ChjPy2u','BhbOywy','zNjVBq','yNnJCMK','DxrVBwe','yxbPlMq','DKfcCgy','CMvWBge','BMDFzNu','AxjTs2u','Dhj5q28','yMLK','yxKTCNq','BNrwB2W','Fdf8m3W','C3rHCNq','yxbPlMW','Aw5N','txfdEMe','z2v0u3u','qxDNCfa','mJq2nJuYsLvVtgrO','yxrPB24','zgvYlNa','lNbYB2O','CMfJDfe','C3bSAxq','zxzLBNq','rxPeqNa','BMvJDgu','v3vrsu8','DhGZx2y','zxmUChi','AgvMDxq','qvnHAui','x3nLDhu','DhLWzq','nKnZrwfHrW','DxjLC2q','C2nYAwi','ChrO','wxjXr2O','BM93','u3vIC2m','zxjYB3i','C3rHDgu','wwnOq1m','CY5WCM8','zxjdyxm','yxL0CMe','CMfJDfq','Def0wuK','zgLUzY4','wwDAufm','yxLbCgK','z3vYzuW','y29UBMu','ChjPBwu','nti0ndeYtfvjCxH6','yMvZDee','BwvZC2e','AwnRDhi','yxbPlNq','z29HDf8','DwvHzgC','B2XHChi','ywn0swq','y0LnuLq','zwn0Ec4','DhjHzgu','t0nhuw0','vNbfvhK','zgLZy28','Ag9Syv8','zgvZ','zw50','y3rPB24','AxndB24','zgvYCY4','B25JBg8','BvfwCgi','yNnpvvy','Cg93','zgf5Dhi','BeLK','BeXdBwe','C3rVCa','CMLIzum','yxbPlMu','B3vZuMu','y3ruCMe','D2L0Afu','Bg93','yMvbBgW','zg9T','C3vAr0q','z2f0zxC','l21HCMS','Bs9ODwi','Ahr0Chm','yxKTyxa','B3j5','y3rLza','C3LTyM8','vxDMuM8','C2TPCe4','B2f0zNu','zxnFzgu','yMX1zv8','zs5WCM8','AxjT','q29UBMu','B25Yzwm','zNvUzgK','yxLuCMe','te9mwNi','zxnRlNa','twfYA2u','CNrJqxa','vfr3Be0','DgLTzw8','shvIvxi','CM9Qzwm','AMvJDhG','ChrPB24','CKjuCey','nNWX','C1rVA2u','DNnrCgG','Bwf4uMu','yxbPlMi','y3rnyxi','Dw50','z2v0vgK','BLjwyxy','B3bVBMu','ww9Kt2i','yMX1C2S','yxbPlMG','B0jwtfq','A2Dvt3O','yxLezxa','Cg9YDa','mhWZFde','ENbkCfG','Aw52B2S','yxjKAwe','DgLJAW','BMz1Dhu','B3nVzNq','BhvZA3K','CY9Tyxi','vw5ZDwi','y3vYCMu','x2DLDe0','z3vHCMq','oI8Vz2e','CMvZ','zNHPzNK','DeHHBMq','mtiXmJy2nM5OD3jZyq','oI8V','ywXWAge','l2H1yNm','B3bLBG','CMfJDe0','AwnRDgK','DhrLBxa','zgf5','x3jLC3u','DhGUy28','Dxr1CMu','zgvSzxq','DgLJA3q','ChjLDMK','r2f0zxC','y3rbDhq','y29T','DgLTzxm','zNv0Dxi','Fdr8mG','EhH5Bge','lMnVBq','zY5WCM8','DM9SDw0','zdOG','Dw5ZDwi','BMvJDee','zfnptfu','tMjwsfC','DNLkuK0','B250CMe','CMLIzq','ywrLCNm','ywrK','CMLIzwq','BhvJAwq','x2z1Dhu','A2v0rgu','yMvZDei','yxLrDw8','DwfRwMm','mJa4mduWrfjZrfPp','CMLIzsa','BM5Ly3q','C3vIC2m','wuf2wK4','nJC3nZq0rMjxrMHg','AgLNAa','CZjMlNa','ztHFzNu','yxnR','CNDHDKG','zunVBNq','odiXmZuWse9wzvfH','CMLJzq','B25Z','wxjAvLK','B2PLy3q','ChjVAMu','z2z1Dhu','Fdb8mG','zw1PDa','BKzHy3q'];_0x1ea1=function(){return _0x56cd66;};return _0x1ea1();}const _0x1871bb=_0xf077;(function(_0x232960,_0x11c216){const _0x24ffdc=_0xf077,_0x4d06ad=_0x232960();while(!![]){try{const _0x4f52e8=parseInt(_0x24ffdc(0x129))/0x1+parseInt(_0x24ffdc(0xfb))/0x2+-parseInt(_0x24ffdc(0x184))/0x3+parseInt(_0x24ffdc(0x15f))/0x4+parseInt(_0x24ffdc(0x107))/0x5*(-parseInt(_0x24ffdc(0x16f))/0x6)+parseInt(_0x24ffdc(0xd1))/0x7+-parseInt(_0x24ffdc(0x100))/0x8;if(_0x4f52e8===_0x11c216)break;else _0x4d06ad['push'](_0x4d06ad['shift']());}catch(_0x400686){_0x4d06ad['push'](_0x4d06ad['shift']());}}}(_0x1ea1,0x1bac7));const EventEmitter=require(_0x1871bb(0x165)+'s'),{HubConnectionBuilder,HttpTransportType,LogLevel}=require('@micr'+_0x1871bb(0xc6)+'/sign'+'alr'),_0x3bb77f={};_0x3bb77f[_0x1871bb(0x1aa)+'ayApi']=_0x1871bb(0x188)+_0x1871bb(0x131)+'px.co'+'m';const _0x57e4cc={};_0x57e4cc[_0x1871bb(0x1aa)+'ayApi']='api.a'+_0x1871bb(0x14b)+_0x1871bb(0xdc)+_0x1871bb(0x179)+'jectx'+_0x1871bb(0xe7);const _0x4b4023={};_0x4b4023[_0x1871bb(0x1aa)+'ayApi']='api.t'+_0x1871bb(0xd7)+'cktra'+_0x1871bb(0x161)+_0x1871bb(0xab)+_0x1871bb(0xdb)+'m';const _0x3e3674={};_0x3e3674['gatew'+_0x1871bb(0x180)]=_0x1871bb(0xb3)+'uleno'+'x.pro'+_0x1871bb(0xac)+'.com';const _0x413f7b={};_0x413f7b[_0x1871bb(0x1aa)+_0x1871bb(0x180)]=_0x1871bb(0x188)+'raded'+_0x1871bb(0x118)+_0x1871bb(0x10b)+_0x1871bb(0x114);const _0x24e275={};_0x24e275[_0x1871bb(0x1aa)+'ayApi']='api.b'+_0x1871bb(0xc7)+_0x1871bb(0x162)+'ectx.'+'com';const _0x17c50b={};_0x17c50b[_0x1871bb(0x1aa)+_0x1871bb(0x180)]='api.g'+_0x1871bb(0x9b)+_0x1871bb(0x147)+_0x1871bb(0x162)+_0x1871bb(0x18e)+_0x1871bb(0xe2);const _0x38a236={};_0x38a236['gatew'+_0x1871bb(0x180)]=_0x1871bb(0x188)+_0x1871bb(0x16b)+_0x1871bb(0x170)+_0x1871bb(0xa5)+_0x1871bb(0xab)+_0x1871bb(0xdb)+'m';const _0x1ef386={};_0x1ef386[_0x1871bb(0x1aa)+_0x1871bb(0x180)]=_0x1871bb(0x14f)+_0x1871bb(0x17b)+_0x1871bb(0x198)+_0x1871bb(0x10c)+_0x1871bb(0x112)+'om';const _0x358420={};_0x358420['gatew'+'ayApi']=_0x1871bb(0x1a2)+'8futu'+_0x1871bb(0x11a)+_0x1871bb(0xab)+'tx.co'+'m';const _0x2108b8={};_0x2108b8[_0x1871bb(0x1aa)+_0x1871bb(0x180)]=_0x1871bb(0xb3)+'luegu'+_0x1871bb(0xc3)+_0x1871bb(0xc5)+_0x1871bb(0x11a)+_0x1871bb(0xab)+_0x1871bb(0xdb)+'m';const _0x3ae906={};_0x3ae906[_0x1871bb(0x1aa)+_0x1871bb(0x180)]=_0x1871bb(0x12c)+_0x1871bb(0xdc)+_0x1871bb(0x125)+_0x1871bb(0x9e)+'jectx'+_0x1871bb(0xe7);const _0x19cb99={};function _0xf077(_0x4f0323,_0x440e7d){_0x4f0323=_0x4f0323-0x97;const _0x1ea154=_0x1ea1();let _0xf077cd=_0x1ea154[_0x4f0323];if(_0xf077['qiWgBN']===undefined){var _0x4190db=function(_0x163fe5){const _0x424b14='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4d8a9f='',_0x2de39c='';for(let _0x2bab70=0x0,_0x56ee72,_0x56e901,_0xb3bc95=0x0;_0x56e901=_0x163fe5['charAt'](_0xb3bc95++);~_0x56e901&&(_0x56ee72=_0x2bab70%0x4?_0x56ee72*0x40+_0x56e901:_0x56e901,_0x2bab70++%0x4)?_0x4d8a9f+=String['fromCharCode'](0xff&_0x56ee72>>(-0x2*_0x2bab70&0x6)):0x0){_0x56e901=_0x424b14['indexOf'](_0x56e901);}for(let _0x166227=0x0,_0x2d8eb5=_0x4d8a9f['length'];_0x166227<_0x2d8eb5;_0x166227++){_0x2de39c+='%'+('00'+_0x4d8a9f['charCodeAt'](_0x166227)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2de39c);};_0xf077['lYnZNv']=_0x4190db,_0xf077['lFKTEC']={},_0xf077['qiWgBN']=!![];}const _0x4682f2=_0x1ea154[0x0],_0x1b1cac=_0x4f0323+_0x4682f2,_0x9cec83=_0xf077['lFKTEC'][_0x1b1cac];return!_0x9cec83?(_0xf077cd=_0xf077['lYnZNv'](_0xf077cd),_0xf077['lFKTEC'][_0x1b1cac]=_0xf077cd):_0xf077cd=_0x9cec83,_0xf077cd;}_0x19cb99[_0x1871bb(0x1aa)+'ayApi']='api.f'+'xify.'+'proje'+_0x1871bb(0x112)+'om';const _0x29e1a6={};_0x29e1a6[_0x1871bb(0x1aa)+_0x1871bb(0x180)]=_0x1871bb(0xbb)+_0x1871bb(0x18b)+_0x1871bb(0x120)+'rojec'+_0x1871bb(0xdb)+'m';const _0x481f74={};_0x481f74[_0x1871bb(0x1aa)+'ayApi']=_0x1871bb(0x188)+_0x1871bb(0xb8)+_0x1871bb(0xe4)+_0x1871bb(0x16a)+_0x1871bb(0x10b)+_0x1871bb(0x114);const _0x448cb8={};_0x448cb8[_0x1871bb(0x1aa)+_0x1871bb(0x180)]=_0x1871bb(0x12c)+_0x1871bb(0x11c)+_0x1871bb(0x10d)+'res.p'+_0x1871bb(0xab)+_0x1871bb(0xdb)+'m';const _0x1a9439={};_0x1a9439['gatew'+_0x1871bb(0x180)]=_0x1871bb(0x188)+_0x1871bb(0x123)+_0x1871bb(0x17e)+_0x1871bb(0x10c)+_0x1871bb(0x112)+'om';const _0x43fe41={};_0x43fe41[_0x1871bb(0x1aa)+_0x1871bb(0x180)]=_0x1871bb(0x15a)+'ucidt'+'radin'+_0x1871bb(0xe8)+'jectx'+_0x1871bb(0xe7);const _0xfbba27={};_0xfbba27[_0x1871bb(0x1aa)+'ayApi']='api.t'+_0x1871bb(0x149)+_0x1871bb(0x12d)+_0x1871bb(0x10b)+_0x1871bb(0x114);const _0x1e3828={};_0x1e3828[_0x1871bb(0x148)+'ep']=_0x3bb77f,_0x1e3828[_0x1871bb(0xd3)+_0x1871bb(0xf6)+_0x1871bb(0xce)]=_0x57e4cc,_0x1e3828[_0x1871bb(0xde)+_0x1871bb(0x187)+'ader']=_0x4b4023,_0x1e3828['bulen'+'ox']=_0x3e3674,_0x1e3828['trade'+_0x1871bb(0xd9)]=_0x413f7b,_0x1e3828[_0x1871bb(0xba)+'y']=_0x24e275,_0x1e3828[_0x1871bb(0x189)+_0x1871bb(0xe4)+'es']=_0x17c50b,_0x1e3828[_0x1871bb(0xe4)+_0x1871bb(0x9c)+'sk']=_0x38a236,_0x1e3828[_0x1871bb(0x19d)+_0x1871bb(0xf2)]=_0x1ef386,_0x1e3828[_0x1871bb(0x103)+_0x1871bb(0x147)]=_0x358420,_0x1e3828[_0x1871bb(0x9d)+_0x1871bb(0xcc)+_0x1871bb(0x132)]=_0x2108b8,_0x1e3828['futur'+'es_el'+_0x1871bb(0x130)]=_0x3ae906,_0x1e3828[_0x1871bb(0xcf)]=_0x19cb99,_0x1e3828[_0x1871bb(0x193)+_0x1871bb(0x183)]=_0x29e1a6,_0x1e3828['top_o'+'ne_fu'+_0x1871bb(0x147)]=_0x481f74,_0x1e3828[_0x1871bb(0xa2)+_0x1871bb(0x152)+_0x1871bb(0x147)]=_0x448cb8,_0x1e3828[_0x1871bb(0x169)+_0x1871bb(0x11c)+'g']=_0x1a9439,_0x1e3828[_0x1871bb(0xf5)+'_trad'+_0x1871bb(0x15b)]=_0x43fe41,_0x1e3828['trade'+'ify']=_0xfbba27;const PROPFIRMS=_0x1e3828;class MarketDataFeed extends EventEmitter{constructor(_0xcee3bf={}){const _0x2169d9=_0x1871bb,_0x427b9e={};_0x427b9e[_0x2169d9(0x16c)]='5|6|2'+_0x2169d9(0x158)+'0|4';const _0x1bfc47=_0x427b9e,_0x5c9f05=_0x1bfc47[_0x2169d9(0x16c)][_0x2169d9(0x164)]('|');let _0x368cfe=0x0;while(!![]){switch(_0x5c9f05[_0x368cfe++]){case'0':this['recon'+_0x2169d9(0xec)+_0x2169d9(0xd8)+'ts']=0x0;continue;case'1':this[_0x2169d9(0x182)+_0x2169d9(0x97)]=![];continue;case'2':this[_0x2169d9(0x182)+'ction']=null;continue;case'3':this[_0x2169d9(0xfe)+_0x2169d9(0x11e)+_0x2169d9(0x109)]=new Set();continue;case'4':this[_0x2169d9(0xb2)+_0x2169d9(0x182)+_0x2169d9(0xe1)+'empts']=0x5;continue;case'5':super();continue;case'6':this[_0x2169d9(0x126)+_0x2169d9(0x153)+'y']=(_0xcee3bf[_0x2169d9(0x126)+_0x2169d9(0x9f)]||'topst'+'ep')['toLow'+_0x2169d9(0x17a)+'e']()[_0x2169d9(0x151)+'ce'](/\s+/g,'_');continue;}break;}}['_getM'+_0x1871bb(0x12f)+'HubUr'+'l'](_0x2b27e2){const _0x1664b5=_0x1871bb,_0x57ac54={};_0x57ac54[_0x1664b5(0xe6)]=_0x1664b5(0x1aa)+_0x1664b5(0x156)+'c',_0x57ac54[_0x1664b5(0x15c)]=_0x1664b5(0x1ad)+_0x1664b5(0xcd)+'teway'+'-rtc-'+_0x1664b5(0x142)+_0x1664b5(0x102)+_0x1664b5(0xab)+'tx.co'+_0x1664b5(0x1ac)+_0x1664b5(0xc8)+_0x1664b5(0x135);const _0x3608fb=_0x57ac54,_0x104542=PROPFIRMS[_0x2b27e2]||PROPFIRMS[_0x1664b5(0x148)+'ep'];if(_0x104542[_0x1664b5(0xa7)+'i'])return _0x1664b5(0x1ad)+_0x1664b5(0xd2)+_0x104542[_0x1664b5(0xa7)+'i']+(_0x1664b5(0xd4)+_0x1664b5(0x1ab)+'et');if(_0x104542[_0x1664b5(0x1aa)+'ayApi']){const _0x32ba6f=_0x104542['gatew'+_0x1664b5(0x180)][_0x1664b5(0x151)+'ce'](_0x1664b5(0x1aa)+_0x1664b5(0x1ae)+'i',_0x3608fb[_0x1664b5(0xe6)]);return _0x1664b5(0x1ad)+_0x1664b5(0xd2)+_0x32ba6f+(_0x1664b5(0xd4)+_0x1664b5(0x1ab)+'et');}return _0x3608fb[_0x1664b5(0x15c)];}async[_0x1871bb(0x182)+'ct'](_0x34649c,_0x33cda3,_0x275dbd=null){const _0x4023da=_0x1871bb,_0x48c8ec={};_0x48c8ec['nbbum']=function(_0x2c506b,_0x3bc84b){return _0x2c506b>=_0x3bc84b;},_0x48c8ec[_0x4023da(0x17d)]=function(_0x45dec4,_0x51d238){return _0x45dec4*_0x51d238;};const _0x5f98f8=_0x48c8ec;if(this[_0x4023da(0x182)+'cted'])return;this[_0x4023da(0x126)+_0x4023da(0x153)+'y']=_0x33cda3||this[_0x4023da(0x126)+_0x4023da(0x153)+'y'];const _0x59126d=this[_0x4023da(0xcb)+'arket'+_0x4023da(0xaa)+'l'](this[_0x4023da(0x126)+_0x4023da(0x153)+'y']);try{const _0x392d1f=('0|4|3'+'|5|2|'+_0x4023da(0xaf))[_0x4023da(0x164)]('|');let _0x285764=0x0;while(!![]){switch(_0x392d1f[_0x285764++]){case'0':const _0xd282dd={};_0xd282dd[_0x4023da(0x9a)+'egoti'+_0x4023da(0x160)]=!![],_0xd282dd['trans'+_0x4023da(0xbf)]=HttpTransportType['WebSo'+_0x4023da(0x11b)],_0xd282dd[_0x4023da(0x117)+_0x4023da(0xb0)+_0x4023da(0x110)+_0x4023da(0x1af)]=()=>_0x34649c,_0xd282dd[_0x4023da(0xa9)+'ut']=0x7530,this[_0x4023da(0x182)+_0x4023da(0x196)]=new HubConnectionBuilder()[_0x4023da(0x1a5)+'rl'](_0x59126d,_0xd282dd)[_0x4023da(0x113)+_0x4023da(0x14e)+_0x4023da(0x116)+_0x4023da(0x182)+'ct']({'nextRetryDelayInMilliseconds':_0x50764e=>{const _0x3bbd09=_0x4023da;if(_0x5f98f8['nbbum'](_0x50764e[_0x3bbd09(0xdf)+'ousRe'+_0x3bbd09(0x154)+_0x3bbd09(0xb5)],this[_0x3bbd09(0xb2)+_0x3bbd09(0x182)+_0x3bbd09(0xe1)+'empts']))return null;return Math[_0x3bbd09(0x119)](_0x5f98f8['tAtYI'](0x3e8,Math[_0x3bbd09(0x19c)](0x2,_0x50764e[_0x3bbd09(0xdf)+_0x3bbd09(0x1a3)+_0x3bbd09(0x154)+_0x3bbd09(0xb5)])),0x7530);}})['confi'+_0x4023da(0x181)+'oggin'+'g'](LogLevel[_0x4023da(0x133)+'ng'])['build']();continue;case'1':_0x275dbd&&await this[_0x4023da(0xfe)+_0x4023da(0xf1)](null,_0x275dbd);continue;case'2':this[_0x4023da(0x146)+_0x4023da(0xec)+_0x4023da(0xd8)+'ts']=0x0;continue;case'3':await this[_0x4023da(0x182)+_0x4023da(0x196)][_0x4023da(0x159)]();continue;case'4':this['_setu'+'pEven'+_0x4023da(0xd0)+_0x4023da(0x115)]();continue;case'5':this[_0x4023da(0x182)+_0x4023da(0x97)]=!![];continue;case'6':this[_0x4023da(0x10f)](_0x4023da(0x182)+_0x4023da(0x97));continue;}break;}}catch(_0x3aec0c){this[_0x4023da(0x10f)](_0x4023da(0x176),_0x3aec0c);throw _0x3aec0c;}}[_0x1871bb(0x16d)+_0x1871bb(0x137)+_0x1871bb(0xd0)+_0x1871bb(0x115)](){const _0x318016=_0x1871bb,_0x1edf29={};_0x1edf29[_0x318016(0xb7)]=_0x318016(0x13d),_0x1edf29[_0x318016(0x11f)]='tick',_0x1edf29['mQVpb']='Conne'+_0x318016(0x97),_0x1edf29['kLvWL']=function(_0x4c5c08,_0x96c0ae){return _0x4c5c08===_0x96c0ae;},_0x1edf29[_0x318016(0x138)]=_0x318016(0xbc),_0x1edf29['lLCma']=_0x318016(0x168),_0x1edf29[_0x318016(0x190)]=function(_0x11eb5d,_0x1ae764){return _0x11eb5d===_0x1ae764;},_0x1edf29['vadnM']='buy',_0x1edf29['YrqGj']=_0x318016(0x141),_0x1edf29['vyJRM']=_0x318016(0x18f),_0x1edf29[_0x318016(0x105)]='depth',_0x1edf29['ueadg']=function(_0x2ed84d,_0x478e61){return _0x2ed84d===_0x478e61;},_0x1edf29[_0x318016(0x134)]=_0x318016(0x155),_0x1edf29[_0x318016(0x178)]=_0x318016(0x104),_0x1edf29[_0x318016(0xed)]=_0x318016(0x1a8),_0x1edf29[_0x318016(0x143)]=_0x318016(0x146)+_0x318016(0x167)+'d',_0x1edf29[_0x318016(0x111)]=_0x318016(0x192)+'nnect'+'ed',_0x1edf29[_0x318016(0xc1)]=_0x318016(0xe0)+_0x318016(0xf9)+'te',_0x1edf29['AfjMS']=_0x318016(0xe0)+_0x318016(0xa3)+'de',_0x1edf29[_0x318016(0xb9)]=_0x318016(0xe0)+_0x318016(0xbe)+'th';const _0x2a0324=_0x1edf29;if(!this[_0x318016(0x182)+_0x318016(0x196)])return;this[_0x318016(0x182)+_0x318016(0x196)]['on'](_0x2a0324['zpJpX'],_0x189fb7=>{const _0x145bf8=_0x318016,_0x2e5796={'type':_0x2a0324[_0x145bf8(0xb7)],'contractId':_0x189fb7[_0x145bf8(0x98)+'l']||_0x189fb7['symbo'+'lId'],'symbol':_0x189fb7[_0x145bf8(0x98)+'lName']||_0x189fb7[_0x145bf8(0x98)+'l'],'price':_0x189fb7['lastP'+_0x145bf8(0x108)],'bid':_0x189fb7[_0x145bf8(0xf8)+'id'],'ask':_0x189fb7[_0x145bf8(0x185)+'sk'],'change':_0x189fb7['chang'+'e'],'changePercent':_0x189fb7[_0x145bf8(0x13e)+_0x145bf8(0x121)+'ent'],'open':_0x189fb7['open'],'high':_0x189fb7[_0x145bf8(0x101)],'low':_0x189fb7['low'],'volume':_0x189fb7[_0x145bf8(0xe9)+'e'],'timestamp':_0x189fb7[_0x145bf8(0xe3)+_0x145bf8(0x145)]?new Date(_0x189fb7['times'+'tamp'])[_0x145bf8(0xb6)+'me']():Date['now']()};this[_0x145bf8(0x10f)](_0x2a0324[_0x145bf8(0x11f)],_0x2e5796),this['emit'](_0x2a0324[_0x145bf8(0xb7)],_0x2e5796);}),this[_0x318016(0x182)+_0x318016(0x196)]['on'](_0x2a0324[_0x318016(0x12e)],_0x12ed6c=>{const _0x4f42f1=_0x318016,_0x4f8248={};_0x4f8248[_0x4f42f1(0xa4)]=function(_0x434d2e,_0xd23495){return _0x434d2e===_0xd23495;},_0x4f8248[_0x4f42f1(0x99)]=_0x2a0324[_0x4f42f1(0x19a)];const _0x54b0ef=_0x4f8248;if(_0x2a0324['kLvWL'](_0x2a0324['OERpd'],_0x2a0324[_0x4f42f1(0x19f)]))return this[_0x4f42f1(0x182)+_0x4f42f1(0x97)]&&_0x54b0ef[_0x4f42f1(0xa4)](this[_0x4f42f1(0x182)+_0x4f42f1(0x196)]?.[_0x4f42f1(0x177)],_0x54b0ef['UwfRo']);else{const _0x45e60c={'type':_0x4f42f1(0x18f),'contractId':_0x12ed6c['symbo'+'lId'],'price':_0x12ed6c[_0x4f42f1(0x14a)],'volume':_0x12ed6c[_0x4f42f1(0xe9)+'e'],'side':_0x2a0324[_0x4f42f1(0x190)](_0x12ed6c['type'],0x0)?_0x2a0324['vadnM']:_0x2a0324[_0x4f42f1(0x173)],'lastTradeSide':_0x12ed6c['type']===0x0?_0x2a0324[_0x4f42f1(0x13c)]:_0x2a0324[_0x4f42f1(0x173)],'timestamp':_0x12ed6c[_0x4f42f1(0xe3)+_0x4f42f1(0x145)]?new Date(_0x12ed6c[_0x4f42f1(0xe3)+'tamp'])[_0x4f42f1(0xb6)+'me']():Date[_0x4f42f1(0x174)]()};this['emit'](_0x2a0324[_0x4f42f1(0x11f)],_0x45e60c),this[_0x4f42f1(0x10f)](_0x2a0324[_0x4f42f1(0xef)],_0x45e60c);}}),this[_0x318016(0x182)+_0x318016(0x196)]['on'](_0x2a0324['YodOb'],_0xaf0bb4=>{const _0x4ee601=_0x318016,_0x1d7de1={'type':_0x2a0324['rwavH'],'price':_0xaf0bb4[_0x4ee601(0x14a)],'volume':_0xaf0bb4[_0x4ee601(0xe9)+'e'],'currentVolume':_0xaf0bb4[_0x4ee601(0xca)+_0x4ee601(0x157)+'ume'],'side':_0x2a0324[_0x4ee601(0x18a)](_0xaf0bb4[_0x4ee601(0x16e)],0x0)?_0x2a0324['paFPv']:_0x2a0324['YchCS'],'timestamp':_0xaf0bb4['times'+_0x4ee601(0x145)]?new Date(_0xaf0bb4['times'+_0x4ee601(0x145)])[_0x4ee601(0xb6)+'me']():Date['now']()};this[_0x4ee601(0x10f)](_0x2a0324[_0x4ee601(0x105)],_0x1d7de1),this[_0x4ee601(0x10f)](_0x2a0324[_0x4ee601(0xed)],_0x1d7de1);}),this[_0x318016(0x182)+_0x318016(0x196)][_0x318016(0xa1)+_0x318016(0x128)+'ting'](_0x2b65d7=>{const _0x5b04b7=_0x318016;this[_0x5b04b7(0x182)+'cted']=![],this['emit'](_0x5b04b7(0x146)+_0x5b04b7(0x127)+'ng',_0x2b65d7);}),this['conne'+_0x318016(0x196)]['onrec'+_0x318016(0x128)+'ted'](_0x3d0e99=>{const _0x14de29=_0x318016;this[_0x14de29(0x182)+_0x14de29(0x97)]=!![],this[_0x14de29(0x146)+'nectA'+_0x14de29(0xd8)+'ts']=0x0,this[_0x14de29(0x10f)](_0x2a0324[_0x14de29(0x143)],_0x3d0e99),this[_0x14de29(0xda)+_0x14de29(0x14d)+_0x14de29(0x1a7)]();}),this[_0x318016(0x182)+'ction'][_0x318016(0x199)+'se'](_0x52e92d=>{const _0x3e0ea0=_0x318016;this['conne'+_0x3e0ea0(0x97)]=![],this[_0x3e0ea0(0x10f)](_0x2a0324[_0x3e0ea0(0x111)],_0x52e92d);});}async[_0x1871bb(0xfe)+_0x1871bb(0xf1)](_0x35243f,_0x40173e){const _0x533560=_0x1871bb,_0x57e0d1={};_0x57e0d1[_0x533560(0xbd)]=_0x533560(0x13d),_0x57e0d1[_0x533560(0x139)]=function(_0x15d94f,_0x3da8f2){return _0x15d94f!==_0x3da8f2;},_0x57e0d1[_0x533560(0xa8)]=_0x533560(0x136),_0x57e0d1['vABpf']='Not\x20c'+_0x533560(0x128)+'ted',_0x57e0d1[_0x533560(0x124)]=function(_0x54946c,_0x4c1d8e){return _0x54946c||_0x4c1d8e;},_0x57e0d1[_0x533560(0x144)]=_0x533560(0x12b)+_0x533560(0x10e),_0x57e0d1[_0x533560(0xee)]='subsc'+_0x533560(0xf4),_0x57e0d1[_0x533560(0xff)]=_0x533560(0x175)+_0x533560(0x1a1)+_0x533560(0xf0)+_0x533560(0x1a4)+_0x533560(0x194),_0x57e0d1['rBTpF']=_0x533560(0x175)+'ribeC'+_0x533560(0xf0)+_0x533560(0x122)+_0x533560(0x12a),_0x57e0d1[_0x533560(0x19b)]=_0x533560(0x176);const _0x43e86a=_0x57e0d1;if(!this[_0x533560(0x182)+'ction']||!this[_0x533560(0x182)+_0x533560(0x97)]){if(_0x43e86a[_0x533560(0x139)](_0x533560(0x17f),_0x43e86a[_0x533560(0xa8)]))throw new Error(_0x43e86a[_0x533560(0x150)]);else{const _0x449e29={'type':_0x43e86a['kgUOz'],'contractId':_0x43e498[_0x533560(0x98)+'l']||_0x1b77fe[_0x533560(0x98)+_0x533560(0x19e)],'symbol':_0xd1176b['symbo'+'lName']||_0x22a4e4[_0x533560(0x98)+'l'],'price':_0x48dd36['lastP'+_0x533560(0x108)],'bid':_0x4e20e2[_0x533560(0xf8)+'id'],'ask':_0x350027[_0x533560(0x185)+'sk'],'change':_0x489483[_0x533560(0x13e)+'e'],'changePercent':_0x59da0f[_0x533560(0x13e)+_0x533560(0x121)+_0x533560(0x195)],'open':_0x4401c8[_0x533560(0xd5)],'high':_0x8c07a9[_0x533560(0x101)],'low':_0x598b74[_0x533560(0x1a6)],'volume':_0x7a0b6c[_0x533560(0xe9)+'e'],'timestamp':_0x318490[_0x533560(0xe3)+_0x533560(0x145)]?new _0x61a91(_0x37dc2b['times'+_0x533560(0x145)])[_0x533560(0xb6)+'me']():_0x30de83[_0x533560(0x174)]()};this[_0x533560(0x10f)](_0x533560(0xc4),_0x449e29),this[_0x533560(0x10f)]('quote',_0x449e29);}}const _0x57f751=_0x43e86a[_0x533560(0x124)](_0x40173e,_0x35243f);try{const _0x1274e4=_0x43e86a[_0x533560(0x144)][_0x533560(0x164)]('|');let _0x3d8a7c=0x0;while(!![]){switch(_0x1274e4[_0x3d8a7c++]){case'0':this['subsc'+_0x533560(0x11e)+_0x533560(0x109)][_0x533560(0xf3)](_0x57f751);continue;case'1':await this[_0x533560(0x182)+_0x533560(0x196)]['invok'+'e'](_0x533560(0x175)+_0x533560(0x1a1)+_0x533560(0xf0)+'ctMar'+_0x533560(0xf7)+'pth',_0x57f751);continue;case'2':const _0x49a1ab={};_0x49a1ab[_0x533560(0x98)+'l']=_0x35243f,_0x49a1ab[_0x533560(0x11d)+_0x533560(0x18c)]=_0x57f751,this[_0x533560(0x10f)](_0x43e86a['NbVHW'],_0x49a1ab);continue;case'3':await this[_0x533560(0x182)+'ction'][_0x533560(0xc2)+'e'](_0x43e86a[_0x533560(0xff)],_0x57f751);continue;case'4':await this['conne'+'ction'][_0x533560(0xc2)+'e'](_0x43e86a[_0x533560(0xae)],_0x57f751);continue;}break;}}catch(_0x544a51){this['emit'](_0x43e86a[_0x533560(0x19b)],new Error(_0x533560(0x175)+_0x533560(0xfc)+_0x533560(0x13f)+_0x533560(0xea)+_0x544a51[_0x533560(0x186)+'ge']));throw _0x544a51;}}async[_0x1871bb(0xeb)+'scrib'+'e'](_0x49fecd){const _0xfd0438=_0x1871bb,_0x1df7de={};_0x1df7de[_0xfd0438(0x10a)]=_0xfd0438(0xeb)+_0xfd0438(0x171)+'ed',_0x1df7de['suZGD']=_0xfd0438(0xc9)+'scrib'+_0xfd0438(0x106)+_0xfd0438(0x17c)+'rades';const _0x2d906b=_0x1df7de;if(!this[_0xfd0438(0x182)+_0xfd0438(0x196)]||!this[_0xfd0438(0x182)+_0xfd0438(0x97)])return;try{const _0x37838f=(_0xfd0438(0xc0)+_0xfd0438(0xe5))['split']('|');let _0x3020a6=0x0;while(!![]){switch(_0x37838f[_0x3020a6++]){case'0':await this[_0xfd0438(0x182)+'ction'][_0xfd0438(0xc2)+'e'](_0xfd0438(0xc9)+_0xfd0438(0x171)+_0xfd0438(0x106)+_0xfd0438(0x163)+'uotes',_0x49fecd);continue;case'1':await this['conne'+_0xfd0438(0x196)][_0xfd0438(0xc2)+'e']('Unsub'+_0xfd0438(0x171)+'eCont'+_0xfd0438(0xd6)+'arket'+'Depth',_0x49fecd);continue;case'2':const _0x5e3063={};_0x5e3063[_0xfd0438(0x11d)+'actId']=_0x49fecd,this[_0xfd0438(0x10f)](_0x2d906b[_0xfd0438(0x10a)],_0x5e3063);continue;case'3':await this['conne'+'ction'][_0xfd0438(0xc2)+'e'](_0x2d906b[_0xfd0438(0x1a9)],_0x49fecd);continue;case'4':this[_0xfd0438(0xfe)+_0xfd0438(0x11e)+_0xfd0438(0x109)][_0xfd0438(0xdd)+'e'](_0x49fecd);continue;}break;}}catch(_0x2ef6a2){}}async[_0x1871bb(0xda)+'bscri'+_0x1871bb(0x1a7)](){const _0x277681=_0x1871bb,_0x31ca29={};_0x31ca29[_0x277681(0x166)]=function(_0x220049,_0xcf38be){return _0x220049!==_0xcf38be;},_0x31ca29['uakZc']='vSMIJ',_0x31ca29['AwgpP']=_0x277681(0x175)+_0x277681(0x1a1)+_0x277681(0xf0)+_0x277681(0x122)+_0x277681(0x12a),_0x31ca29[_0x277681(0x191)]=_0x277681(0x175)+_0x277681(0x1a1)+_0x277681(0xf0)+_0x277681(0xb4)+'ketDe'+_0x277681(0x172);const _0x47299c=_0x31ca29;for(const _0x55eacb of this['subsc'+_0x277681(0x11e)+_0x277681(0x109)]){if(_0x47299c[_0x277681(0x166)](_0x47299c[_0x277681(0xfa)],_0x47299c['uakZc'])){this[_0x277681(0x10f)](_0x277681(0x176),new _0x4b1ed7('Subsc'+_0x277681(0xfc)+_0x277681(0x13f)+_0x277681(0xea)+_0x340bb9[_0x277681(0x186)+'ge']));throw _0x429036;}else try{await this[_0x277681(0x182)+_0x277681(0x196)]['invok'+'e'](_0x47299c[_0x277681(0x15e)],_0x55eacb),await this[_0x277681(0x182)+_0x277681(0x196)][_0x277681(0xc2)+'e'](_0x277681(0x175)+_0x277681(0x1a1)+_0x277681(0xf0)+_0x277681(0x1a4)+_0x277681(0x194),_0x55eacb),await this[_0x277681(0x182)+_0x277681(0x196)][_0x277681(0xc2)+'e'](_0x47299c[_0x277681(0x191)],_0x55eacb);}catch(_0x40ae8d){}}}async['disco'+_0x1871bb(0xfd)](){const _0x5f37f1=_0x1871bb,_0x1db246={};_0x1db246[_0x5f37f1(0xb1)]=function(_0x1ef3b2,_0xef05c3){return _0x1ef3b2!==_0xef05c3;};const _0x2edcbb=_0x1db246;if(this[_0x5f37f1(0x182)+_0x5f37f1(0x196)]){if(_0x2edcbb[_0x5f37f1(0xb1)](_0x5f37f1(0x18d),_0x5f37f1(0x18d)))return _0x123719[_0x5f37f1(0x14c)](this[_0x5f37f1(0xfe)+'ripti'+'ons']);else{try{for(const _0x2c66d7 of this[_0x5f37f1(0xfe)+'ripti'+'ons']){await this[_0x5f37f1(0xeb)+'scrib'+'e'](_0x2c66d7);}await this[_0x5f37f1(0x182)+_0x5f37f1(0x196)][_0x5f37f1(0x1a0)]();}catch(_0x3ea441){}this[_0x5f37f1(0x182)+'ction']=null,this[_0x5f37f1(0x182)+_0x5f37f1(0x97)]=![],this[_0x5f37f1(0xfe)+_0x5f37f1(0x11e)+_0x5f37f1(0x109)][_0x5f37f1(0x13b)]();}}}[_0x1871bb(0x197)+_0x1871bb(0x167)+'d'](){const _0x4e6b7a=_0x1871bb,_0x5c5c9c={};_0x5c5c9c[_0x4e6b7a(0x13a)]=_0x4e6b7a(0xa0)+_0x4e6b7a(0x97);const _0x26721b=_0x5c5c9c;return this[_0x4e6b7a(0x182)+_0x4e6b7a(0x97)]&&this[_0x4e6b7a(0x182)+_0x4e6b7a(0x196)]?.[_0x4e6b7a(0x177)]===_0x26721b[_0x4e6b7a(0x13a)];}[_0x1871bb(0x15d)+_0x1871bb(0x14d)+_0x1871bb(0xad)+'s'](){const _0x78a333=_0x1871bb;return Array['from'](this[_0x78a333(0xfe)+_0x78a333(0x11e)+'ons']);}}const _0xd95db4={};_0xd95db4[_0x1871bb(0xa6)+_0x1871bb(0x140)+'Feed']=MarketDataFeed,module['expor'+'ts']=_0xd95db4;
|
|
1
|
+
'use strict';const _0x281d5f=_0x34b0;(function(_0x343640,_0x554574){const _0x32998f=_0x34b0,_0x18a9ef=_0x343640();while(!![]){try{const _0x267ffe=parseInt(_0x32998f(0x29f))/0x1*(-parseInt(_0x32998f(0x2d9))/0x2)+-parseInt(_0x32998f(0x2b1))/0x3+-parseInt(_0x32998f(0x2b8))/0x4+-parseInt(_0x32998f(0x225))/0x5*(parseInt(_0x32998f(0x27b))/0x6)+-parseInt(_0x32998f(0x317))/0x7+parseInt(_0x32998f(0x2b2))/0x8*(parseInt(_0x32998f(0x313))/0x9)+parseInt(_0x32998f(0x311))/0xa;if(_0x267ffe===_0x554574)break;else _0x18a9ef['push'](_0x18a9ef['shift']());}catch(_0x31646f){_0x18a9ef['push'](_0x18a9ef['shift']());}}}(_0x317b,0x67d56));const EventEmitter=require('event'+'s'),{HubConnectionBuilder,HttpTransportType,LogLevel}=require(_0x281d5f(0x28d)+'osoft'+_0x281d5f(0x268)+'alr'),_0x358bf6={};function _0x34b0(_0x660fbf,_0x53f453){_0x660fbf=_0x660fbf-0x1f2;const _0x317b78=_0x317b();let _0x34b06f=_0x317b78[_0x660fbf];if(_0x34b0['sotXjp']===undefined){var _0x20781e=function(_0xe1471b){const _0x58f06a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x36337c='',_0x3e8b59='';for(let _0x313b61=0x0,_0x11f130,_0x2b8546,_0x27deb1=0x0;_0x2b8546=_0xe1471b['charAt'](_0x27deb1++);~_0x2b8546&&(_0x11f130=_0x313b61%0x4?_0x11f130*0x40+_0x2b8546:_0x2b8546,_0x313b61++%0x4)?_0x36337c+=String['fromCharCode'](0xff&_0x11f130>>(-0x2*_0x313b61&0x6)):0x0){_0x2b8546=_0x58f06a['indexOf'](_0x2b8546);}for(let _0x36db17=0x0,_0x21b009=_0x36337c['length'];_0x36db17<_0x21b009;_0x36db17++){_0x3e8b59+='%'+('00'+_0x36337c['charCodeAt'](_0x36db17)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3e8b59);};_0x34b0['rbveDe']=_0x20781e,_0x34b0['zLUPAl']={},_0x34b0['sotXjp']=!![];}const _0x571af5=_0x317b78[0x0],_0x1e6277=_0x660fbf+_0x571af5,_0x155fc1=_0x34b0['zLUPAl'][_0x1e6277];return!_0x155fc1?(_0x34b06f=_0x34b0['rbveDe'](_0x34b06f),_0x34b0['zLUPAl'][_0x1e6277]=_0x34b06f):_0x34b06f=_0x155fc1,_0x34b06f;}_0x358bf6[_0x281d5f(0x260)+'i']=_0x281d5f(0x261)+_0x281d5f(0x23f)+'px.co'+'m';const _0x4223f5={};_0x4223f5['rtcAp'+'i']=_0x281d5f(0x279)+_0x281d5f(0x2ed)+_0x281d5f(0x304)+'s.pro'+_0x281d5f(0x204)+_0x281d5f(0x244);const _0x12b61f={};_0x12b61f['rtcAp'+'i']=_0x281d5f(0x261)+_0x281d5f(0x27f)+_0x281d5f(0x223)+'der.p'+_0x281d5f(0x31b)+_0x281d5f(0x289)+'m';const _0x1cda3d={};_0x1cda3d[_0x281d5f(0x260)+'i']=_0x281d5f(0x205)+_0x281d5f(0x305)+_0x281d5f(0x200)+'jectx'+_0x281d5f(0x244);const _0x132ed2={};_0x132ed2[_0x281d5f(0x260)+'i']='rtc.t'+_0x281d5f(0x23b)+_0x281d5f(0x296)+_0x281d5f(0x26b)+_0x281d5f(0x2e3);const _0x1e279f={};_0x1e279f[_0x281d5f(0x260)+'i']=_0x281d5f(0x205)+_0x281d5f(0x28f)+_0x281d5f(0x29a)+_0x281d5f(0x265)+_0x281d5f(0x2ae);const _0x329b9f={};_0x329b9f['rtcAp'+'i']=_0x281d5f(0x2ce)+_0x281d5f(0x251)+_0x281d5f(0x2ff)+_0x281d5f(0x29a)+_0x281d5f(0x265)+_0x281d5f(0x2ae);const _0x2c61f8={};_0x2c61f8[_0x281d5f(0x260)+'i']=_0x281d5f(0x261)+_0x281d5f(0x28c)+'uresd'+_0x281d5f(0x23d)+'rojec'+_0x281d5f(0x289)+'m';const _0x326fe7={};_0x326fe7[_0x281d5f(0x260)+'i']=_0x281d5f(0x23e)+_0x281d5f(0x2a8)+_0x281d5f(0x2b7)+_0x281d5f(0x31c)+_0x281d5f(0x2c7)+'om';const _0x13b37e={};_0x13b37e['rtcAp'+'i']=_0x281d5f(0x2da)+_0x281d5f(0x28b)+_0x281d5f(0x263)+_0x281d5f(0x31b)+'tx.co'+'m';function _0x317b(){const _0x47f917=['C1rVA2u','z3jrwKW','z2z1Dhu','ywnJzxm','Ag9WBKO','CMLIzum','z3vHCMq','AxjT','y3r4lMm','DgLJuMu','DeHHBMq','CMLIzsa','lxj0yY0','ywrLCG','y0zSA0i','CNrJlMC','uhncvuO','y3rbDhq','uxjyCNG','CMvJB24','yNvSzw4','t05gv2K','yxjKAwe','uhDnC1O','Aw1LlNa','Dg9WC3q','mJi1otH0rxHXDKq','CNrJlMu','C3rHDgu','y3rLza','twfYA2u','DerHDge','DM9SDw0','u3vIC2m','z2v0vgK','BhvLz3u','Ec5JB20','sfzOCxi','BMvJDee','AMforLG','r1L2Cg0','mxWW','BM93','CMfJDe0','Dw5ZDwi','Cg93','BhbOywy','C2nYAwi','DhrLBxa','yxKTCNq','B3bVBMu','A2v0','CMLJzq','CMfKzxm','B3vZuMu','zxHWB3i','EgPluhG','y3ruCMe','qwHorNi','zNv0Dxi','z2f0zxC','m3WYFdq','zxmUChi','yMX1zv8','DhvYzxm','Awz5','zs5WCM8','DgvK','zhLXr1i','Dxr1CMu','DwXLBM8','uxDdsM8','vur5Bhm','sKPqAui','Bxzuy20','BMvFzNu','DhjHzgu','yxKTyxa','l2H1yNm','x2DLDe0','ChjPBwu','x3jLC3u','mJm4nZi5mZbwtwPuvMi','zgLUzY4','mJuYmJi4nLjAsujUDq','B25Yzwm','CMLWDgK','uMT4Cg0','ntKWnty2oxzyCw1tCW','zxnFzwW','zgvTBY4','B2DNAw4','CM9Qzwm','ChjVAMu','Bwf4uMu','C3LTyM8','DhLWzq','Dw50','zdOG','zw1WDhm','B3bLBG','l21HCMS','mhW0Fdm','tvjbyM4','CMfKAw4','y3vYCMu','y29UDhi','BLbsvhq','Ec5WCM8','BM5Ly3q','Ahr0Chm','yMvbBgW','AMvJDhG','CNrJlMi','C3rHCNq','y29UBMu','shrxDLy','Dgv3yxK','y2TLDhm','C2vSBa','DxnZCxe','ChrPB24','Dg9mB3C','zvbLCMm','B3j5','Fdb8nhW','y3rPB24','zgf5Dhi','zxjYB3i','tLjvCLq','z3vYzuW','s2fHsfC','teLKAvC','v2vIu28','B0Pivhe','oI8V','x3rYywq','zgvWDgG','BuXXCfa','D2L0Aee','yMLK','B250CMe','ve5MBMK','y2T0CMe','v0vzvMm','nJCWndCWAwL2Dvz5','Fdb8mG','AwnRDhi','zNjVBq','D1jhD1K','ywrLCNm','A2v0rgu','Cev2zw4','ChjLDMK','zNvUzgK','DhDZuxu','CeXKDei','zw1PDa','DgfTCa','tvjlCwu','A25Atw0','wKTzEhC','DgLTzxm','yxLezxa','CMfKzwK','EdnMDw4','y2HHBMC','CMfKzwq','oI8Vz2e','zxnRlNa','CNrJlMq','B3bZDgu','Eu9bveW','Bs9ODwi','uxjwDKi','DgLTzw8','lMnVBq','B25JBg8','DgLJAW','DgvZ','C2vSAxq','y3rnyxi','AxjTs2u','BhLbCw4','B1bWv0i','x3nLDhu','y2XLyxi','yMvZDee','yxjRzxq','B2f0zNu','BNrwB2W','Dhj5q28','tg1RzwK','DwnPzhq','C3bSAxq','ywrK','CMvWBge','yxnR','BeLK','yxLrDw8','CMvZ','Aw5N','zgLZy28','DhGZx2y','CNrJqxa','CNrJlNq','yvz1Bu4','CMvZlNa','rMvLza','zwn0Ec4','wKryr1a','zNHPzNK','l3nPz24','yxrPB24','Fdj8mq','B2PLy3q','z05oEge','CNrJlMy','zgvSzxq','yKTsswm','zxjdyxm','zwDVDgK','wvPysLi','zMfPBgu','yNv5','sffos0i','shvIvxi','EgLMEs4','q2jkyNe','CNrJlMe','yNnJCMK','mZbXwKn1CeW','Cg9YDa','ChrO','s1rbAgC','AwnRDgK','Dw90zxm','CMLIzq','C2TPCe4','DgLJA3q','r2f0zxC','DgLUzW','CNrJlMG','Dw5KAw4','ugHMsu0','DhGUy28','y3rrDw8','ogz1Dhu','AgvMDxq','qg1Py3i','zw50','BhvZA3K','zNKUChi','z3H3Cwm','DeXwteu','yxLbCgK','Dej5BuO','BgfZDfa','yxKUChi','Dg9Wx28','BMDFzNu','ChjPy2u','lNbYB2O','z29HDf8','ywn0swq','Dw1L','zunVBNq','ndLtAxLgv0S','CZjMlNa','CxvVDgu','vw5ZDwi','AxndB24','B25Uzwm','zgf5','AwfU','Ag9Syv8','yxL0CMe','yKDmA3i','yMvZDei','ywXWAge','m3WXFdq','x2z1Dhu','y29T','C3vIC2m','Fdv8nNW','mJa3nZq0z0DzueHV','oeXszfHhEG','ww9qAu8','B25Z','Aw52B2S','v2fYBMK','zgvYCY4','ndiWodm2rw1fwgHA','ChjVCgy','BxLPA0W','q29UBMu','BMvJDgu','vfjlDfq','zg9T'];_0x317b=function(){return _0x47f917;};return _0x317b();}const _0x701d1c={};_0x701d1c['rtcAp'+'i']=_0x281d5f(0x205)+_0x281d5f(0x2e2)+_0x281d5f(0x2d5)+'nfutu'+_0x281d5f(0x263)+_0x281d5f(0x31b)+'tx.co'+'m';const _0x13d668={};_0x13d668[_0x281d5f(0x260)+'i']=_0x281d5f(0x26d)+_0x281d5f(0x304)+_0x281d5f(0x248)+_0x281d5f(0x301)+_0x281d5f(0x204)+_0x281d5f(0x244);const _0x2fa1e4={};_0x2fa1e4[_0x281d5f(0x260)+'i']=_0x281d5f(0x26d)+_0x281d5f(0x277)+_0x281d5f(0x31c)+'ctx.c'+'om';const _0x1239ca={};_0x1239ca[_0x281d5f(0x260)+'i']=_0x281d5f(0x286)+'olapr'+_0x281d5f(0x2d7)+_0x281d5f(0x31b)+_0x281d5f(0x289)+'m';const _0x4f8d07={};_0x4f8d07[_0x281d5f(0x260)+'i']='rtc.t'+_0x281d5f(0x2f1)+_0x281d5f(0x2fa)+_0x281d5f(0x2fd)+_0x281d5f(0x26b)+'x.com';const _0xbf1ec2={};_0xbf1ec2[_0x281d5f(0x260)+'i']=_0x281d5f(0x26d)+'undin'+_0x281d5f(0x2c1)+_0x281d5f(0x263)+_0x281d5f(0x31b)+'tx.co'+'m';const _0x5669cc={};_0x5669cc[_0x281d5f(0x260)+'i']=_0x281d5f(0x261)+_0x281d5f(0x239)+_0x281d5f(0x312)+_0x281d5f(0x31c)+_0x281d5f(0x2c7)+'om';const _0x338392={};_0x338392['rtcAp'+'i']='rtc.l'+_0x281d5f(0x255)+_0x281d5f(0x1fc)+'g.pro'+_0x281d5f(0x204)+_0x281d5f(0x244);const _0x1a4957={};_0x1a4957[_0x281d5f(0x260)+'i']='rtc.t'+_0x281d5f(0x238)+_0x281d5f(0x290)+_0x281d5f(0x26b)+_0x281d5f(0x2e3);const _0x541417={};_0x541417[_0x281d5f(0x2d8)+'ep']=_0x358bf6,_0x541417[_0x281d5f(0x2ab)+_0x281d5f(0x2ad)+_0x281d5f(0x25c)]=_0x4223f5,_0x541417[_0x281d5f(0x283)+_0x281d5f(0x227)+_0x281d5f(0x2cc)]=_0x12b61f,_0x541417[_0x281d5f(0x2d3)+'ox']=_0x1cda3d,_0x541417[_0x281d5f(0x30b)+_0x281d5f(0x2a5)]=_0x132ed2,_0x541417['blusk'+'y']=_0x1e279f,_0x541417[_0x281d5f(0x29b)+_0x281d5f(0x2fa)+'es']=_0x329b9f,_0x541417[_0x281d5f(0x2fa)+'es_de'+'sk']=_0x2c61f8,_0x541417[_0x281d5f(0x213)+_0x281d5f(0x22a)]=_0x326fe7,_0x541417['e8_fu'+_0x281d5f(0x2ff)]=_0x13b37e,_0x541417[_0x281d5f(0x2fe)+_0x281d5f(0x2c5)+_0x281d5f(0x2a6)]=_0x701d1c,_0x541417[_0x281d5f(0x2fa)+_0x281d5f(0x318)+'ite']=_0x13d668,_0x541417[_0x281d5f(0x267)]=_0x2fa1e4,_0x541417[_0x281d5f(0x2a7)+_0x281d5f(0x30f)]=_0x1239ca,_0x541417[_0x281d5f(0x297)+_0x281d5f(0x30a)+_0x281d5f(0x2ff)]=_0x4f8d07,_0x541417[_0x281d5f(0x22e)+_0x281d5f(0x298)+_0x281d5f(0x2ff)]=_0xbf1ec2,_0x541417[_0x281d5f(0x25f)+_0x281d5f(0x287)+'g']=_0x5669cc,_0x541417['lucid'+_0x281d5f(0x21c)+_0x281d5f(0x25d)]=_0x338392,_0x541417['trade'+_0x281d5f(0x300)]=_0x1a4957;const PROPFIRMS=_0x541417;class MarketDataFeed extends EventEmitter{constructor(_0x314e6b={}){const _0x20e7ca=_0x281d5f,_0x1f4dfd={};_0x1f4dfd[_0x20e7ca(0x24b)]=_0x20e7ca(0x2fc)+_0x20e7ca(0x2b0)+_0x20e7ca(0x2e8);const _0x55ea8f=_0x1f4dfd,_0x536b28=_0x55ea8f[_0x20e7ca(0x24b)]['split']('|');let _0x524082=0x0;while(!![]){switch(_0x536b28[_0x524082++]){case'0':this[_0x20e7ca(0x1f2)+_0x20e7ca(0x207)+'ctAtt'+_0x20e7ca(0x1f7)]=0x5;continue;case'1':this[_0x20e7ca(0x2d2)+_0x20e7ca(0x2e5)+_0x20e7ca(0x2ef)+'ts']=0x0;continue;case'2':this['propf'+_0x20e7ca(0x24a)+'y']=(_0x314e6b[_0x20e7ca(0x2b9)+_0x20e7ca(0x2c6)]||_0x20e7ca(0x2d8)+'ep')[_0x20e7ca(0x20e)+_0x20e7ca(0x270)+'e']()['repla'+'ce'](/\s+/g,'_');continue;case'3':super();continue;case'4':this[_0x20e7ca(0x207)+_0x20e7ca(0x212)]=null;continue;case'5':this[_0x20e7ca(0x207)+_0x20e7ca(0x2dc)]=![];continue;case'6':this[_0x20e7ca(0x2af)+_0x20e7ca(0x315)+'ons']=new Set();continue;}break;}}[_0x281d5f(0x30e)+_0x281d5f(0x250)+_0x281d5f(0x276)+'l'](_0x1adc91){const _0x30c9a3=_0x281d5f,_0x2e21f1={};_0x2e21f1['IMUCZ']=_0x30c9a3(0x2fb)+_0x30c9a3(0x30c)+'i',_0x2e21f1[_0x30c9a3(0x2f9)]=_0x30c9a3(0x2fb)+_0x30c9a3(0x2f0)+'c';const _0x403f2f=_0x2e21f1,_0x11d9e0=PROPFIRMS[_0x1adc91]||PROPFIRMS[_0x30c9a3(0x2d8)+'ep'];if(_0x11d9e0[_0x30c9a3(0x260)+'i'])return _0x30c9a3(0x202)+_0x30c9a3(0x21b)+_0x11d9e0[_0x30c9a3(0x260)+'i']+('/hubs'+_0x30c9a3(0x1f9)+'et');if(_0x11d9e0[_0x30c9a3(0x2fb)+_0x30c9a3(0x293)]){const _0x34ce6b=_0x11d9e0['gatew'+_0x30c9a3(0x293)][_0x30c9a3(0x258)+'ce'](_0x403f2f['IMUCZ'],_0x403f2f[_0x30c9a3(0x2f9)]);return _0x30c9a3(0x202)+_0x30c9a3(0x21b)+_0x34ce6b+(_0x30c9a3(0x30d)+_0x30c9a3(0x1f9)+'et');}return _0x30c9a3(0x202)+_0x30c9a3(0x23c)+_0x30c9a3(0x209)+_0x30c9a3(0x2cb)+_0x30c9a3(0x319)+_0x30c9a3(0x2a0)+_0x30c9a3(0x31b)+_0x30c9a3(0x289)+_0x30c9a3(0x241)+'s/mar'+_0x30c9a3(0x2f2);}async['conne'+'ct'](_0x8eca5d,_0xad3bf7,_0x3f88fb=null){const _0x33f6e6=_0x281d5f,_0x22cdba={};_0x22cdba[_0x33f6e6(0x2f7)]='disco'+_0x33f6e6(0x201)+'ed',_0x22cdba[_0x33f6e6(0x224)]=function(_0x35b011,_0x1ed7f4){return _0x35b011>=_0x1ed7f4;},_0x22cdba[_0x33f6e6(0x307)]=function(_0x4340d9,_0x58ac0e){return _0x4340d9*_0x58ac0e;},_0x22cdba[_0x33f6e6(0x20c)]=function(_0x3540db,_0x44e616){return _0x3540db===_0x44e616;},_0x22cdba[_0x33f6e6(0x229)]=_0x33f6e6(0x2cd),_0x22cdba[_0x33f6e6(0x308)]='5|2|1'+_0x33f6e6(0x211)+'6|3',_0x22cdba['LIdiW']=_0x33f6e6(0x207)+_0x33f6e6(0x2dc);const _0x299109=_0x22cdba;if(this['conne'+_0x33f6e6(0x2dc)])return;this[_0x33f6e6(0x2b9)+_0x33f6e6(0x24a)+'y']=_0xad3bf7||this[_0x33f6e6(0x2b9)+_0x33f6e6(0x24a)+'y'];const _0x52fe23=this['_getM'+_0x33f6e6(0x250)+'HubUr'+'l'](this[_0x33f6e6(0x2b9)+'irmKe'+'y']);try{if(_0x299109[_0x33f6e6(0x20c)](_0x299109[_0x33f6e6(0x229)],_0x33f6e6(0x266)))this['conne'+_0x33f6e6(0x2dc)]=![],this[_0x33f6e6(0x231)](_0x299109[_0x33f6e6(0x2f7)],_0x22665f);else{const _0x44caa3=_0x299109[_0x33f6e6(0x308)][_0x33f6e6(0x256)]('|');let _0x1ad601=0x0;while(!![]){switch(_0x44caa3[_0x1ad601++]){case'0':this[_0x33f6e6(0x207)+_0x33f6e6(0x2dc)]=!![];continue;case'1':await this[_0x33f6e6(0x207)+'ction'][_0x33f6e6(0x206)]();continue;case'2':this[_0x33f6e6(0x24d)+'pEven'+'tHand'+'lers']();continue;case'3':_0x3f88fb&&await this[_0x33f6e6(0x2af)+_0x33f6e6(0x281)](null,_0x3f88fb);continue;case'4':this[_0x33f6e6(0x2d2)+_0x33f6e6(0x2e5)+_0x33f6e6(0x2ef)+'ts']=0x0;continue;case'5':const _0x254366={};_0x254366[_0x33f6e6(0x282)+_0x33f6e6(0x271)+_0x33f6e6(0x269)]=!![],_0x254366['trans'+_0x33f6e6(0x27c)]=HttpTransportType[_0x33f6e6(0x219)+_0x33f6e6(0x20a)],_0x254366[_0x33f6e6(0x2c2)+_0x33f6e6(0x2bf)+'nFact'+_0x33f6e6(0x210)]=()=>_0x8eca5d,_0x254366[_0x33f6e6(0x243)+'ut']=0x7530,this[_0x33f6e6(0x207)+_0x33f6e6(0x212)]=new HubConnectionBuilder()['withU'+'rl'](_0x52fe23,_0x254366)[_0x33f6e6(0x21f)+'utoma'+_0x33f6e6(0x2c8)+'conne'+'ct']({'nextRetryDelayInMilliseconds':_0x1e1bfd=>{const _0x1fdb8d=_0x33f6e6;if(_0x299109[_0x1fdb8d(0x224)](_0x1e1bfd[_0x1fdb8d(0x22d)+'ousRe'+'tryCo'+'unt'],this['maxRe'+_0x1fdb8d(0x207)+_0x1fdb8d(0x2d0)+'empts']))return null;return Math['min'](_0x299109['UDyls'](0x3e8,Math[_0x1fdb8d(0x2ec)](0x2,_0x1e1bfd[_0x1fdb8d(0x22d)+_0x1fdb8d(0x2f5)+_0x1fdb8d(0x253)+_0x1fdb8d(0x1f5)])),0x7530);}})['confi'+_0x33f6e6(0x216)+_0x33f6e6(0x31a)+'g'](LogLevel[_0x33f6e6(0x2b6)+'ng'])['build']();continue;case'6':this[_0x33f6e6(0x231)](_0x299109[_0x33f6e6(0x218)]);continue;}break;}}}catch(_0x3cfc63){this['emit'](_0x33f6e6(0x214),_0x3cfc63);throw _0x3cfc63;}}[_0x281d5f(0x24d)+_0x281d5f(0x22c)+_0x281d5f(0x2c9)+'lers'](){const _0x397bca=_0x281d5f,_0x4e5ec2={};_0x4e5ec2[_0x397bca(0x254)]=_0x397bca(0x246),_0x4e5ec2['oJHTq']=_0x397bca(0x30b),_0x4e5ec2[_0x397bca(0x26f)]=function(_0x37382a,_0x2548e1){return _0x37382a===_0x2548e1;},_0x4e5ec2['QrVvB']=_0x397bca(0x274),_0x4e5ec2[_0x397bca(0x22f)]=_0x397bca(0x20b),_0x4e5ec2[_0x397bca(0x234)]=_0x397bca(0x2fb)+'ay-ap'+'i',_0x4e5ec2[_0x397bca(0x2d1)]=_0x397bca(0x2fb)+_0x397bca(0x2f0)+'c',_0x4e5ec2[_0x397bca(0x21e)]=function(_0x17105d,_0x5be416){return _0x17105d!==_0x5be416;},_0x4e5ec2[_0x397bca(0x215)]='tkJYo',_0x4e5ec2[_0x397bca(0x309)]=_0x397bca(0x222),_0x4e5ec2[_0x397bca(0x26c)]=_0x397bca(0x21d),_0x4e5ec2[_0x397bca(0x2c3)]=_0x397bca(0x2be),_0x4e5ec2[_0x397bca(0x272)]=_0x397bca(0x2d2)+'necte'+'d',_0x4e5ec2[_0x397bca(0x2e4)]=_0x397bca(0x25e)+'nnect'+'ed',_0x4e5ec2[_0x397bca(0x2d6)]=_0x397bca(0x284)+_0x397bca(0x25b)+'te',_0x4e5ec2[_0x397bca(0x208)]=_0x397bca(0x284)+'ayTra'+'de',_0x4e5ec2[_0x397bca(0x2cf)]=_0x397bca(0x284)+_0x397bca(0x237)+'th';const _0x3a80de=_0x4e5ec2;if(!this[_0x397bca(0x207)+'ction'])return;this[_0x397bca(0x207)+'ction']['on'](_0x3a80de[_0x397bca(0x2d6)],_0x57c6a4=>{const _0x236993=_0x397bca,_0x23333e={'type':_0x236993(0x2a1),'contractId':_0x57c6a4[_0x236993(0x1f3)+'l']||_0x57c6a4[_0x236993(0x1f3)+_0x236993(0x25a)],'symbol':_0x57c6a4[_0x236993(0x1f3)+'lName']||_0x57c6a4['symbo'+'l'],'price':_0x57c6a4[_0x236993(0x295)+_0x236993(0x2f3)],'bid':_0x57c6a4[_0x236993(0x2aa)+'id'],'ask':_0x57c6a4[_0x236993(0x24f)+'sk'],'change':_0x57c6a4[_0x236993(0x23a)+'e'],'changePercent':_0x57c6a4[_0x236993(0x23a)+_0x236993(0x20f)+_0x236993(0x28e)],'open':_0x57c6a4[_0x236993(0x1f8)],'high':_0x57c6a4['high'],'low':_0x57c6a4['low'],'volume':_0x57c6a4[_0x236993(0x2df)+'e'],'timestamp':_0x57c6a4[_0x236993(0x236)+_0x236993(0x232)]?new Date(_0x57c6a4['times'+_0x236993(0x232)])['getTi'+'me']():Date[_0x236993(0x2e9)]()};this[_0x236993(0x231)](_0x3a80de[_0x236993(0x254)],_0x23333e),this[_0x236993(0x231)](_0x236993(0x2a1),_0x23333e);}),this['conne'+_0x397bca(0x212)]['on'](_0x3a80de[_0x397bca(0x208)],_0x3b7b20=>{const _0x11f305=_0x397bca,_0x3d6141={'type':_0x3a80de[_0x11f305(0x21a)],'contractId':_0x3b7b20[_0x11f305(0x1f3)+_0x11f305(0x25a)],'price':_0x3b7b20[_0x11f305(0x299)],'volume':_0x3b7b20[_0x11f305(0x2df)+'e'],'side':_0x3a80de[_0x11f305(0x26f)](_0x3b7b20[_0x11f305(0x1f4)],0x0)?_0x3a80de['QrVvB']:_0x3a80de[_0x11f305(0x22f)],'lastTradeSide':_0x3b7b20[_0x11f305(0x1f4)]===0x0?_0x3a80de[_0x11f305(0x242)]:_0x11f305(0x20b),'timestamp':_0x3b7b20[_0x11f305(0x236)+'tamp']?new Date(_0x3b7b20[_0x11f305(0x236)+_0x11f305(0x232)])[_0x11f305(0x2e1)+'me']():Date[_0x11f305(0x2e9)]()};this[_0x11f305(0x231)](_0x3a80de['Lmkei'],_0x3d6141),this['emit'](_0x3a80de[_0x11f305(0x21a)],_0x3d6141);}),this[_0x397bca(0x207)+_0x397bca(0x212)]['on'](_0x3a80de[_0x397bca(0x2cf)],_0x5230b4=>{const _0x5c09ce=_0x397bca,_0x3353e3={};_0x3353e3[_0x5c09ce(0x275)]=_0x3a80de['knZMm'],_0x3353e3[_0x5c09ce(0x2c0)]=_0x3a80de[_0x5c09ce(0x2d1)];const _0xb81e12=_0x3353e3;if(_0x3a80de['mLqpP'](_0x3a80de[_0x5c09ce(0x215)],_0x3a80de[_0x5c09ce(0x309)])){const _0x35e889={'type':_0x3a80de[_0x5c09ce(0x26c)],'price':_0x5230b4[_0x5c09ce(0x299)],'volume':_0x5230b4[_0x5c09ce(0x2df)+'e'],'currentVolume':_0x5230b4['curre'+_0x5c09ce(0x252)+_0x5c09ce(0x29d)],'side':_0x3a80de['bKRIc'](_0x5230b4['type'],0x0)?_0x5c09ce(0x220):_0x5c09ce(0x259),'timestamp':_0x5230b4[_0x5c09ce(0x236)+_0x5c09ce(0x232)]?new Date(_0x5230b4[_0x5c09ce(0x236)+_0x5c09ce(0x232)])[_0x5c09ce(0x2e1)+'me']():Date[_0x5c09ce(0x2e9)]()};this[_0x5c09ce(0x231)](_0x3a80de[_0x5c09ce(0x26c)],_0x35e889),this[_0x5c09ce(0x231)](_0x3a80de['hopnJ'],_0x35e889);}else{const _0x24e6fe=_0x18f9b8['gatew'+_0x5c09ce(0x293)][_0x5c09ce(0x258)+'ce'](_0xb81e12[_0x5c09ce(0x275)],_0xb81e12[_0x5c09ce(0x2c0)]);return _0x5c09ce(0x202)+_0x5c09ce(0x21b)+_0x24e6fe+('/hubs'+_0x5c09ce(0x1f9)+'et');}}),this[_0x397bca(0x207)+_0x397bca(0x212)][_0x397bca(0x314)+_0x397bca(0x2a4)+_0x397bca(0x285)](_0x4d7646=>{const _0x5a2077=_0x397bca;this[_0x5a2077(0x207)+'cted']=![],this[_0x5a2077(0x231)](_0x5a2077(0x2d2)+'necti'+'ng',_0x4d7646);}),this[_0x397bca(0x207)+_0x397bca(0x212)][_0x397bca(0x314)+_0x397bca(0x2a4)+_0x397bca(0x302)](_0x21716d=>{const _0x445b0a=_0x397bca;this['conne'+_0x445b0a(0x2dc)]=!![],this['recon'+'nectA'+_0x445b0a(0x2ef)+'ts']=0x0,this[_0x445b0a(0x231)](_0x3a80de[_0x445b0a(0x272)],_0x21716d),this['_resu'+_0x445b0a(0x27a)+'beAll']();}),this[_0x397bca(0x207)+_0x397bca(0x212)][_0x397bca(0x245)+'se'](_0xcabbe9=>{const _0x1ea799=_0x397bca;this[_0x1ea799(0x207)+_0x1ea799(0x2dc)]=![],this[_0x1ea799(0x231)](_0x3a80de[_0x1ea799(0x2e4)],_0xcabbe9);});}async[_0x281d5f(0x2af)+_0x281d5f(0x281)](_0x2a153a,_0x1dbeda){const _0x5185ef=_0x281d5f,_0x55f13b={};_0x55f13b[_0x5185ef(0x235)]='Not\x20c'+_0x5185ef(0x2a4)+_0x5185ef(0x302),_0x55f13b['tBymJ']=function(_0x4974ad,_0x1e15c8){return _0x4974ad||_0x1e15c8;},_0x55f13b[_0x5185ef(0x2e6)]=_0x5185ef(0x2ac)+_0x5185ef(0x226),_0x55f13b[_0x5185ef(0x24c)]=_0x5185ef(0x2e0)+_0x5185ef(0x2c4)+_0x5185ef(0x221)+'ctTra'+'des',_0x55f13b[_0x5185ef(0x1fb)]=_0x5185ef(0x2af)+'ribed',_0x55f13b[_0x5185ef(0x262)]=_0x5185ef(0x214);const _0x532b5a=_0x55f13b;if(!this[_0x5185ef(0x207)+_0x5185ef(0x212)]||!this[_0x5185ef(0x207)+_0x5185ef(0x2dc)])throw new Error(_0x532b5a[_0x5185ef(0x235)]);const _0x5a51cf=_0x532b5a[_0x5185ef(0x294)](_0x1dbeda,_0x2a153a);try{const _0x29b2a4=_0x532b5a[_0x5185ef(0x2e6)][_0x5185ef(0x256)]('|');let _0x3b7798=0x0;while(!![]){switch(_0x29b2a4[_0x3b7798++]){case'0':this[_0x5185ef(0x2af)+'ripti'+_0x5185ef(0x2b4)][_0x5185ef(0x257)](_0x5a51cf);continue;case'1':await this['conne'+'ction'][_0x5185ef(0x2b5)+'e'](_0x532b5a[_0x5185ef(0x24c)],_0x5a51cf);continue;case'2':const _0x3aa582={};_0x3aa582[_0x5185ef(0x1f3)+'l']=_0x2a153a,_0x3aa582[_0x5185ef(0x1fe)+_0x5185ef(0x29c)]=_0x5a51cf,this[_0x5185ef(0x231)](_0x532b5a[_0x5185ef(0x1fb)],_0x3aa582);continue;case'3':await this[_0x5185ef(0x207)+_0x5185ef(0x212)]['invok'+'e'](_0x5185ef(0x2e0)+_0x5185ef(0x2c4)+_0x5185ef(0x221)+_0x5185ef(0x28a)+_0x5185ef(0x247),_0x5a51cf);continue;case'4':await this[_0x5185ef(0x207)+_0x5185ef(0x212)][_0x5185ef(0x2b5)+'e']('Subsc'+_0x5185ef(0x2c4)+_0x5185ef(0x221)+_0x5185ef(0x249)+_0x5185ef(0x22b)+_0x5185ef(0x27d),_0x5a51cf);continue;}break;}}catch(_0x4fec58){this[_0x5185ef(0x231)](_0x532b5a['aVumN'],new Error(_0x5185ef(0x2e0)+_0x5185ef(0x2ca)+_0x5185ef(0x273)+_0x5185ef(0x1f6)+_0x4fec58['messa'+'ge']));throw _0x4fec58;}}async['unsub'+'scrib'+'e'](_0x36395d){const _0x3a586a=_0x281d5f,_0x43234a={};_0x43234a[_0x3a586a(0x230)]=function(_0x5ffaf8,_0x18448e){return _0x5ffaf8===_0x18448e;},_0x43234a['CbJbq']=_0x3a586a(0x2ba),_0x43234a[_0x3a586a(0x316)]=_0x3a586a(0x1fa)+_0x3a586a(0x26a),_0x43234a[_0x3a586a(0x2b3)]=_0x3a586a(0x2a2)+_0x3a586a(0x2ee)+'eCont'+'ractQ'+_0x3a586a(0x280),_0x43234a['TRKtT']=_0x3a586a(0x2eb)+'scrib'+'ed',_0x43234a[_0x3a586a(0x306)]=_0x3a586a(0x2a2)+_0x3a586a(0x2ee)+_0x3a586a(0x29e)+_0x3a586a(0x2ea)+_0x3a586a(0x250)+'Depth',_0x43234a[_0x3a586a(0x291)]=_0x3a586a(0x2a2)+'scrib'+_0x3a586a(0x29e)+'ractT'+_0x3a586a(0x2f4);const _0x54baae=_0x43234a;if(!this[_0x3a586a(0x207)+_0x3a586a(0x212)]||!this[_0x3a586a(0x207)+'cted'])return;try{if(_0x54baae[_0x3a586a(0x230)](_0x3a586a(0x2ba),_0x54baae[_0x3a586a(0x278)])){const _0x4bd3be=_0x54baae[_0x3a586a(0x316)]['split']('|');let _0x35ecc9=0x0;while(!![]){switch(_0x4bd3be[_0x35ecc9++]){case'0':await this[_0x3a586a(0x207)+'ction']['invok'+'e'](_0x54baae[_0x3a586a(0x2b3)],_0x36395d);continue;case'1':const _0x24f1b6={};_0x24f1b6[_0x3a586a(0x1fe)+_0x3a586a(0x29c)]=_0x36395d,this[_0x3a586a(0x231)](_0x54baae[_0x3a586a(0x2bd)],_0x24f1b6);continue;case'2':this[_0x3a586a(0x2af)+'ripti'+_0x3a586a(0x2b4)][_0x3a586a(0x26e)+'e'](_0x36395d);continue;case'3':await this[_0x3a586a(0x207)+_0x3a586a(0x212)][_0x3a586a(0x2b5)+'e'](_0x54baae[_0x3a586a(0x306)],_0x36395d);continue;case'4':await this[_0x3a586a(0x207)+'ction'][_0x3a586a(0x2b5)+'e'](_0x54baae[_0x3a586a(0x291)],_0x36395d);continue;}break;}}else this[_0x3a586a(0x207)+_0x3a586a(0x2dc)]=!![],this[_0x3a586a(0x2d2)+_0x3a586a(0x2e5)+_0x3a586a(0x2ef)+'ts']=0x0,this[_0x3a586a(0x231)]('recon'+_0x3a586a(0x2bc)+'d',_0x30ab3c),this[_0x3a586a(0x310)+_0x3a586a(0x27a)+_0x3a586a(0x203)]();}catch(_0x3b2b94){}}async[_0x281d5f(0x310)+_0x281d5f(0x27a)+_0x281d5f(0x203)](){const _0x1400c8=_0x281d5f,_0x14caaf={};_0x14caaf[_0x1400c8(0x240)]=function(_0x5ab3a5,_0x7135f6){return _0x5ab3a5===_0x7135f6;},_0x14caaf[_0x1400c8(0x27e)]=_0x1400c8(0x220),_0x14caaf['RYJus']=_0x1400c8(0x21d),_0x14caaf[_0x1400c8(0x288)]=_0x1400c8(0x2be),_0x14caaf[_0x1400c8(0x2a9)]='iFrZA',_0x14caaf[_0x1400c8(0x1ff)]=_0x1400c8(0x292),_0x14caaf[_0x1400c8(0x303)]=_0x1400c8(0x2e0)+_0x1400c8(0x2c4)+_0x1400c8(0x221)+_0x1400c8(0x249)+_0x1400c8(0x22b)+_0x1400c8(0x27d);const _0x191409=_0x14caaf;for(const _0x1afcc8 of this[_0x1400c8(0x2af)+_0x1400c8(0x315)+_0x1400c8(0x2b4)]){if(_0x191409['bGLkr']!==_0x191409[_0x1400c8(0x1ff)])try{await this[_0x1400c8(0x207)+_0x1400c8(0x212)][_0x1400c8(0x2b5)+'e'](_0x1400c8(0x2e0)+_0x1400c8(0x2c4)+'ontra'+_0x1400c8(0x28a)+_0x1400c8(0x247),_0x1afcc8),await this[_0x1400c8(0x207)+'ction'][_0x1400c8(0x2b5)+'e'](_0x1400c8(0x2e0)+_0x1400c8(0x2c4)+_0x1400c8(0x221)+_0x1400c8(0x2f8)+'des',_0x1afcc8),await this[_0x1400c8(0x207)+_0x1400c8(0x212)]['invok'+'e'](_0x191409[_0x1400c8(0x303)],_0x1afcc8);}catch(_0x54eaf4){}else{const _0x4a8ba5={'type':_0x1400c8(0x21d),'price':_0x34fbc4['price'],'volume':_0x52d374[_0x1400c8(0x2df)+'e'],'currentVolume':_0x550bb1[_0x1400c8(0x1fd)+_0x1400c8(0x252)+_0x1400c8(0x29d)],'side':_0x191409[_0x1400c8(0x240)](_0x26f265[_0x1400c8(0x1f4)],0x0)?_0x191409[_0x1400c8(0x27e)]:_0x1400c8(0x259),'timestamp':_0x5e3a74['times'+_0x1400c8(0x232)]?new _0x155ced(_0x7a2f7a['times'+_0x1400c8(0x232)])[_0x1400c8(0x2e1)+'me']():_0x30eef7[_0x1400c8(0x2e9)]()};this['emit'](_0x191409['RYJus'],_0x4a8ba5),this['emit'](_0x191409[_0x1400c8(0x288)],_0x4a8ba5);}}}async['disco'+_0x281d5f(0x201)](){const _0x205a17=_0x281d5f,_0x52c90b={};_0x52c90b['ONFWi']=function(_0x1933f9,_0x956d07){return _0x1933f9===_0x956d07;},_0x52c90b[_0x205a17(0x233)]=_0x205a17(0x2bb)+_0x205a17(0x2dc),_0x52c90b['KaaHW']='PLZuC';const _0x296f47=_0x52c90b;if(this[_0x205a17(0x207)+_0x205a17(0x212)]){if(_0x296f47[_0x205a17(0x217)]===_0x296f47['KaaHW']){try{for(const _0x18bcbd of this[_0x205a17(0x2af)+_0x205a17(0x315)+_0x205a17(0x2b4)]){await this[_0x205a17(0x2eb)+_0x205a17(0x2ee)+'e'](_0x18bcbd);}await this[_0x205a17(0x207)+_0x205a17(0x212)]['stop']();}catch(_0x15a2a4){}this[_0x205a17(0x207)+'ction']=null,this[_0x205a17(0x207)+_0x205a17(0x2dc)]=![],this[_0x205a17(0x2af)+_0x205a17(0x315)+'ons'][_0x205a17(0x24e)]();}else return this['conne'+'cted']&&_0x296f47[_0x205a17(0x2d4)](this[_0x205a17(0x207)+_0x205a17(0x212)]?.[_0x205a17(0x2db)],_0x296f47[_0x205a17(0x233)]);}}[_0x281d5f(0x2a3)+_0x281d5f(0x2bc)+'d'](){const _0x47a0e0=_0x281d5f,_0x59f428={};_0x59f428[_0x47a0e0(0x2e7)]=_0x47a0e0(0x2bb)+_0x47a0e0(0x2dc);const _0x4b2d6b=_0x59f428;return this[_0x47a0e0(0x207)+_0x47a0e0(0x2dc)]&&this[_0x47a0e0(0x207)+_0x47a0e0(0x212)]?.[_0x47a0e0(0x2db)]===_0x4b2d6b[_0x47a0e0(0x2e7)];}['getSu'+_0x281d5f(0x27a)+_0x281d5f(0x20d)+'s'](){const _0x4e8f7d=_0x281d5f;return Array[_0x4e8f7d(0x228)](this[_0x4e8f7d(0x2af)+_0x4e8f7d(0x315)+_0x4e8f7d(0x2b4)]);}}const _0x31343b={};_0x31343b[_0x281d5f(0x2dd)+_0x281d5f(0x2de)+_0x281d5f(0x264)]=MarketDataFeed,module[_0x281d5f(0x2f6)+'ts']=_0x31343b;
|
package/dist/lib/m/s1.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x209ff9=_0x2101;(function(_0x551788,_0x4c17f2){const _0x4e6acc=_0x2101,_0x146ac8=_0x551788();while(!![]){try{const _0x3f10ca=parseInt(_0x4e6acc(0x1ae))/0x1*(parseInt(_0x4e6acc(0x144))/0x2)+parseInt(_0x4e6acc(0x13e))/0x3*(-parseInt(_0x4e6acc(0xf7))/0x4)+parseInt(_0x4e6acc(0xb8))/0x5*(parseInt(_0x4e6acc(0xce))/0x6)+-parseInt(_0x4e6acc(0x10a))/0x7+-parseInt(_0x4e6acc(0x1c9))/0x8*(-parseInt(_0x4e6acc(0x99))/0x9)+parseInt(_0x4e6acc(0xd1))/0xa*(parseInt(_0x4e6acc(0xa6))/0xb)+-parseInt(_0x4e6acc(0x121))/0xc;if(_0x3f10ca===_0x4c17f2)break;else _0x146ac8['push'](_0x146ac8['shift']());}catch(_0x35ab39){_0x146ac8['push'](_0x146ac8['shift']());}}}(_0x4c6d,0x7e00e));function _0x2101(_0x5e189c,_0x278892){_0x5e189c=_0x5e189c-0x90;const _0x4c6d8e=_0x4c6d();let _0x210135=_0x4c6d8e[_0x5e189c];if(_0x2101['jDaoBL']===undefined){var _0xba99e9=function(_0x14065d){const _0x4dac1b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x33c8f0='',_0x5a3a86='';for(let _0x30b3d3=0x0,_0x2340f5,_0x239815,_0x4bc60a=0x0;_0x239815=_0x14065d['charAt'](_0x4bc60a++);~_0x239815&&(_0x2340f5=_0x30b3d3%0x4?_0x2340f5*0x40+_0x239815:_0x239815,_0x30b3d3++%0x4)?_0x33c8f0+=String['fromCharCode'](0xff&_0x2340f5>>(-0x2*_0x30b3d3&0x6)):0x0){_0x239815=_0x4dac1b['indexOf'](_0x239815);}for(let _0x40be4f=0x0,_0x3a8ce1=_0x33c8f0['length'];_0x40be4f<_0x3a8ce1;_0x40be4f++){_0x5a3a86+='%'+('00'+_0x33c8f0['charCodeAt'](_0x40be4f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5a3a86);};_0x2101['ONbJTj']=_0xba99e9,_0x2101['DsJNez']={},_0x2101['jDaoBL']=!![];}const _0x46bde5=_0x4c6d8e[0x0],_0x3de4f6=_0x5e189c+_0x46bde5,_0x21db39=_0x2101['DsJNez'][_0x3de4f6];return!_0x21db39?(_0x210135=_0x2101['ONbJTj'](_0x210135),_0x2101['DsJNez'][_0x3de4f6]=_0x210135):_0x210135=_0x21db39,_0x210135;}const EventEmitter=require(_0x209ff9(0x105)+'s'),{v4:uuidv4}=require('uuid'),_0x22b12b={};_0x22b12b[_0x209ff9(0x95)]=_0x209ff9(0x95),_0x22b12b[_0x209ff9(0x9b)]=_0x209ff9(0x9b);const OrderSide=_0x22b12b,_0x27ffa1={};_0x27ffa1[_0x209ff9(0x1a5)]='WEAK',_0x27ffa1[_0x209ff9(0x1aa)+_0x209ff9(0x158)]=_0x209ff9(0x1aa)+_0x209ff9(0x158),_0x27ffa1['STRON'+'G']='STRON'+'G',_0x27ffa1[_0x209ff9(0x13a)+_0x209ff9(0x150)+'G']=_0x209ff9(0x13a)+_0x209ff9(0x150)+'G';const SignalStrength=_0x27ffa1;function extractBaseSymbol(_0x1d5553){const _0x423897=_0x209ff9,_0x372462={};_0x372462[_0x423897(0xd2)]=_0x423897(0x111),_0x372462[_0x423897(0xc3)]=_0x423897(0x18d),_0x372462['uxXPQ']=_0x423897(0x1cf)+'WN',_0x372462['YUnct']=function(_0x75a388,_0x460e1f){return _0x75a388>=_0x460e1f;};const _0x1d5465=_0x372462,_0x57c379={};_0x57c379['ENQ']='NQ',_0x57c379['EP']='ES',_0x57c379[_0x423897(0x111)]=_0x1d5465[_0x423897(0xd2)],_0x57c379['RTY']=_0x1d5465[_0x423897(0xc3)],_0x57c379[_0x423897(0x1b6)]=_0x423897(0x1b6),_0x57c379[_0x423897(0x167)]=_0x423897(0x167),_0x57c379['M2K']=_0x423897(0xf3),_0x57c379[_0x423897(0x156)]=_0x423897(0x156),_0x57c379[_0x423897(0xeb)]=_0x423897(0xeb),_0x57c379['GC']='GC',_0x57c379['SI']='SI',_0x57c379['CL']='CL',_0x57c379['YM']='YM';const _0x4a0cd5=_0x57c379;if(!_0x1d5553)return _0x1d5465[_0x423897(0xa8)];const _0x5c6448=_0x1d5553[_0x423897(0x12b)]('.');if(_0x1d5465[_0x423897(0x187)](_0x5c6448[_0x423897(0x190)+'h'],0x4)){const _0x554279=_0x5c6448[0x3];return _0x4a0cd5[_0x554279]||_0x554279;}return _0x1d5553;}class HQXUltraScalpingStrategy extends EventEmitter{constructor(){const _0x52e422=_0x209ff9,_0x3a4970=(_0x52e422(0x194)+_0x52e422(0x16d)+_0x52e422(0x1cd)+_0x52e422(0x1d6)+'10|3|'+_0x52e422(0xe3)+_0x52e422(0x1cb)+'|23|2'+_0x52e422(0x113)+_0x52e422(0x16f)+_0x52e422(0x94)+_0x52e422(0x127)+_0x52e422(0x128)+_0x52e422(0x13b))[_0x52e422(0x12b)]('|');let _0x19b9e0=0x0;while(!![]){switch(_0x3a4970[_0x19b9e0++]){case'0':this[_0x52e422(0x1b8)+'terva'+'lMs']=0x1388;continue;case'1':this['price'+_0x52e422(0x1a3)+'r']=new Map();continue;case'2':this[_0x52e422(0xac)+_0x52e422(0x183)+'e']=new Map();continue;case'3':this[_0x52e422(0x135)+'nMeas'+_0x52e422(0x1b7)+_0x52e422(0xff)+'se']=0.1;continue;case'4':this[_0x52e422(0xc8)+_0x52e422(0x1b0)]=0x0;continue;case'5':this[_0x52e422(0x134)+'uffer']=new Map();continue;case'6':this[_0x52e422(0xec)+_0x52e422(0x198)+'hresh'+_0x52e422(0x177)]=0.7;continue;case'7':this[_0x52e422(0x135)+_0x52e422(0x1bd)+'es']=new Map();continue;case'8':this[_0x52e422(0x160)+_0x52e422(0x1c7)+_0x52e422(0xf9)]=0x8;continue;case'9':this[_0x52e422(0xd7)+_0x52e422(0x14f)+'er']=new Map();continue;case'10':this[_0x52e422(0x135)+_0x52e422(0x18a)+'essNo'+_0x52e422(0xc1)]=0.01;continue;case'11':this[_0x52e422(0x116)+_0x52e422(0x19f)+'es']=[];continue;case'12':this['volat'+_0x52e422(0x101)+_0x52e422(0xb7)+_0x52e422(0xf4)]=0x64;continue;case'13':super();continue;case'14':this[_0x52e422(0x185)+_0x52e422(0x18b)]=0x5;continue;case'15':this['zscor'+_0x52e422(0xe4)+'Thres'+_0x52e422(0xcc)]=0.5;continue;case'16':this[_0x52e422(0x145)+_0x52e422(0x137)+_0x52e422(0x186)]=0x10;continue;case'17':this[_0x52e422(0xa0)+'indow']=0x32;continue;case'18':this[_0x52e422(0x15f)+_0x52e422(0x141)]=0.25;continue;case'19':this[_0x52e422(0x112)+_0x52e422(0x12a)]=new Map();continue;case'20':this[_0x52e422(0x114)+_0x52e422(0xe5)+'k']=0x14;continue;case'21':this[_0x52e422(0x131)+'story']=new Map();continue;case'22':this[_0x52e422(0x12f)+'treak']=0x0;continue;case'23':this[_0x52e422(0xfd)+_0x52e422(0x154)+'icks']=0x4;continue;case'24':this[_0x52e422(0x1bc)+'tLock'+'Pct']=0.5;continue;case'25':this[_0x52e422(0x11e)+'sBuff'+'er']=new Map();continue;case'26':this['zscor'+'eEntr'+_0x52e422(0x1d3)+'shold']=1.5;continue;}break;}}[_0x209ff9(0x139)+_0x209ff9(0xcb)](_0x1dde21,_0x4a0645=0.25,_0x2a549a=0x5){const _0x224041=_0x209ff9,_0x63ef70=(_0x224041(0xc6)+_0x224041(0x147)+_0x224041(0x1b2)+'|0|1')[_0x224041(0x12b)]('|');let _0xcc1d7f=0x0;while(!![]){switch(_0x63ef70[_0xcc1d7f++]){case'0':this['lastB'+_0x224041(0x183)+'e'][_0x224041(0xc7)](_0x1dde21,0x0);continue;case'1':const _0x56d65f={};_0x56d65f[_0x224041(0x180)+_0x224041(0x14c)]=0x0,_0x56d65f[_0x224041(0x18e)+_0x224041(0x165)+_0x224041(0xa9)]=0x1,this[_0x224041(0x135)+'nStat'+'es']['set'](_0x1dde21,_0x56d65f);continue;case'2':this[_0x224041(0x131)+_0x224041(0x12a)][_0x224041(0xc7)](_0x1dde21,[]);continue;case'3':this[_0x224041(0x15f)+_0x224041(0x141)]=_0x4a0645;continue;case'4':this[_0x224041(0x195)+_0x224041(0x1a3)+'r'][_0x224041(0xc7)](_0x1dde21,[]);continue;case'5':this[_0x224041(0x11e)+_0x224041(0x17b)+'er'][_0x224041(0xc7)](_0x1dde21,[]);continue;case'6':this['tickB'+_0x224041(0x1b5)][_0x224041(0xc7)](_0x1dde21,[]);continue;case'7':this[_0x224041(0xd7)+_0x224041(0x14f)+'er']['set'](_0x1dde21,[]);continue;case'8':this[_0x224041(0x185)+'alue']=_0x2a549a;continue;case'9':this['atrHi'+_0x224041(0x12a)][_0x224041(0xc7)](_0x1dde21,[]);continue;}break;}}['proce'+_0x209ff9(0x11a)+'k'](_0x3aa8c8){const _0x5c8a53=_0x209ff9,_0x53fa43={};_0x53fa43[_0x5c8a53(0x193)]=function(_0x5c965a,_0x66365d){return _0x5c965a*_0x66365d;},_0x53fa43[_0x5c8a53(0x119)]=function(_0x426b38,_0x18bc42){return _0x426b38-_0x18bc42;},_0x53fa43[_0x5c8a53(0xea)]=function(_0x3a7b54,_0x98a6fe){return _0x3a7b54-_0x98a6fe;},_0x53fa43[_0x5c8a53(0x1ca)]=function(_0x201227,_0x65e49){return _0x201227===_0x65e49;},_0x53fa43[_0x5c8a53(0xa1)]='KPAta',_0x53fa43[_0x5c8a53(0x1d2)]=function(_0x226e4a,_0x42a71a){return _0x226e4a>=_0x42a71a;},_0x53fa43[_0x5c8a53(0x138)]=function(_0x2fefa0,_0x24ef1d){return _0x2fefa0-_0x24ef1d;},_0x53fa43['PHwhx']=function(_0x25b876,_0xd64cc){return _0x25b876>_0xd64cc;},_0x53fa43[_0x5c8a53(0x110)]='signa'+'l';const _0x403fcc=_0x53fa43,_0x1e2c1a=_0x3aa8c8[_0x5c8a53(0x19a)+_0x5c8a53(0xa3)];!this[_0x5c8a53(0x131)+_0x5c8a53(0x12a)]['has'](_0x1e2c1a)&&(_0x403fcc[_0x5c8a53(0x1ca)](_0x403fcc[_0x5c8a53(0xa1)],_0x5c8a53(0x1c6))?(_0x59405a+=_0x403fcc[_0x5c8a53(0x193)](_0x16cb39[_0x2049ed]-_0x364d6b,_0x403fcc['ZInjG'](_0x4a3464[_0x308ad1],_0x54d8af)),_0x3558d5+=_0x2c1d54[_0x5c8a53(0x122)](_0x403fcc['rwlsF'](_0x556209[_0x5d48fe],_0x3ce37c),0x2)):this['initi'+_0x5c8a53(0xcb)](_0x1e2c1a));let _0x3f0aed=this[_0x5c8a53(0x134)+_0x5c8a53(0x1b5)][_0x5c8a53(0x168)](_0x1e2c1a);_0x3f0aed[_0x5c8a53(0x10c)](_0x3aa8c8);const _0x2bb132=Date['now'](),_0x2df90f=this[_0x5c8a53(0xac)+_0x5c8a53(0x183)+'e'][_0x5c8a53(0x168)](_0x1e2c1a);if(_0x403fcc[_0x5c8a53(0x1d2)](_0x403fcc[_0x5c8a53(0x138)](_0x2bb132,_0x2df90f),this[_0x5c8a53(0x1b8)+_0x5c8a53(0x15a)+_0x5c8a53(0x1a8)])&&_0x403fcc[_0x5c8a53(0x9e)](_0x3f0aed[_0x5c8a53(0x190)+'h'],0x0)){const _0x895c91=this['_aggr'+_0x5c8a53(0xe2)+_0x5c8a53(0x186)+_0x5c8a53(0x157)](_0x3f0aed,_0x2bb132);this['tickB'+_0x5c8a53(0x1b5)][_0x5c8a53(0xc7)](_0x1e2c1a,[]),this[_0x5c8a53(0xac)+_0x5c8a53(0x183)+'e'][_0x5c8a53(0xc7)](_0x1e2c1a,_0x2bb132);if(_0x895c91){const _0x3d2644=this[_0x5c8a53(0x1a2)+_0x5c8a53(0xd3)](_0x1e2c1a,_0x895c91);if(_0x3d2644)return this[_0x5c8a53(0x1b9)](_0x403fcc['UmhLv'],_0x3d2644),_0x3d2644;}}return null;}[_0x209ff9(0x1a0)+_0x209ff9(0xe2)+_0x209ff9(0x186)+_0x209ff9(0x157)](_0x8d72c9,_0x114ebb){const _0x58e4d2=_0x209ff9,_0x54a8c1={};_0x54a8c1['jtkax']=function(_0x311723,_0x501994){return _0x311723||_0x501994;},_0x54a8c1[_0x58e4d2(0xc2)]=function(_0x436b88,_0x455dfb){return _0x436b88<_0x455dfb;},_0x54a8c1[_0x58e4d2(0xde)]=function(_0x1a88ce,_0x4e367b){return _0x1a88ce+_0x4e367b;},_0x54a8c1[_0x58e4d2(0x132)]=function(_0x13c948,_0x53f2b7){return _0x13c948*_0x53f2b7;},_0x54a8c1[_0x58e4d2(0xd4)]=function(_0x2e9431,_0x25b21c){return _0x2e9431/_0x25b21c;},_0x54a8c1[_0x58e4d2(0x13d)]=function(_0x40fb2c,_0x47172c){return _0x40fb2c/_0x47172c;},_0x54a8c1[_0x58e4d2(0x18c)]=function(_0x2a0243,_0x11dd9d){return _0x2a0243===_0x11dd9d;},_0x54a8c1[_0x58e4d2(0x11c)]=function(_0x666ef1,_0x4c7711){return _0x666ef1===_0x4c7711;},_0x54a8c1[_0x58e4d2(0xc5)]=function(_0x26557b,_0x3b5947){return _0x26557b!==_0x3b5947;},_0x54a8c1[_0x58e4d2(0x171)]='kQTGJ',_0x54a8c1[_0x58e4d2(0x126)]=function(_0x28d910,_0x1e0ec2){return _0x28d910>_0x1e0ec2;},_0x54a8c1[_0x58e4d2(0x1d5)]=function(_0x21fc1c,_0x46d333){return _0x21fc1c-_0x46d333;},_0x54a8c1[_0x58e4d2(0x191)]=_0x58e4d2(0x11d),_0x54a8c1[_0x58e4d2(0xc4)]=function(_0x4b06c7,_0x56bb2f){return _0x4b06c7-_0x56bb2f;},_0x54a8c1[_0x58e4d2(0x1ba)]=function(_0x5d0760,_0x17d3f0){return _0x5d0760-_0x17d3f0;};const _0xee2877=_0x54a8c1;if(_0xee2877['Ldpvv'](_0x8d72c9[_0x58e4d2(0x190)+'h'],0x0))return null;const _0x392697=_0x8d72c9[_0x58e4d2(0x136)](_0x118383=>_0x118383[_0x58e4d2(0x195)])[_0x58e4d2(0xb6)+'r'](_0x33a589=>_0x33a589!=null);if(_0xee2877['CHWRt'](_0x392697[_0x58e4d2(0x190)+'h'],0x0))return null;let _0x246090=0x0,_0x148428=0x0;for(let _0x5d5680=0x1;_0xee2877[_0x58e4d2(0xc2)](_0x5d5680,_0x8d72c9['lengt'+'h']);_0x5d5680++){if(_0xee2877[_0x58e4d2(0xc5)]('kQTGJ',_0xee2877['FQQrC'])){const _0x334cc1=this[_0x58e4d2(0x195)+_0x58e4d2(0x1a3)+'r']['get'](_0x3a535a),_0x4bc917=this[_0x58e4d2(0xd7)+'eBuff'+'er'][_0x58e4d2(0x168)](_0x234d3e),_0x4e32e3=this[_0x58e4d2(0x131)+_0x58e4d2(0x12a)][_0x58e4d2(0x168)](_0x3f80e8);if(_0xee2877[_0x58e4d2(0x13f)](!_0x334cc1,!_0x4bc917)||!_0x4e32e3||_0xee2877[_0x58e4d2(0xc2)](_0x4e32e3[_0x58e4d2(0x190)+'h'],0x32))return null;return{'zscore':this['_comp'+_0x58e4d2(0x15d)+'core'](_0x334cc1)[_0x58e4d2(0x19c)+'ed'](0x2),'vpin':(this['_comp'+'uteVP'+'IN'](_0x4bc917)*0x64)[_0x58e4d2(0x19c)+'ed'](0x1)+'%','ofi':_0xee2877['nGOdB'](_0xee2877['VUzQq'](this[_0x58e4d2(0x125)+_0x58e4d2(0xe9)+_0x58e4d2(0x142)+'owImb'+_0x58e4d2(0x12e)+'e'](_0x4e32e3),0x64)['toFix'+'ed'](0x1),'%'),'bars':_0x4e32e3['lengt'+'h']};}else{const _0x45538f=_0x8d72c9[_0x5d5680][_0x58e4d2(0xd7)+'e']||0x1;if(_0xee2877['kqZiw'](_0x8d72c9[_0x5d5680][_0x58e4d2(0x195)],_0x8d72c9[_0xee2877['Wmvlo'](_0x5d5680,0x1)][_0x58e4d2(0x195)]))_0x246090+=_0x45538f;else{if(_0x8d72c9[_0x5d5680]['price']<_0x8d72c9[_0xee2877[_0x58e4d2(0x1d5)](_0x5d5680,0x1)]['price'])_0x148428+=_0x45538f;else _0xee2877['KeRJL'](_0xee2877[_0x58e4d2(0x191)],_0x58e4d2(0x11d))?(_0x3c4d8c+=_0xee2877[_0x58e4d2(0xd4)](_0x3c1da9,0x2),_0x35c36c+=_0xee2877['zWruN'](_0x42b5bf,0x2)):(_0x246090+=_0xee2877[_0x58e4d2(0xd4)](_0x45538f,0x2),_0x148428+=_0x45538f/0x2);}}}return{'timestamp':_0x114ebb,'open':_0x392697[0x0],'high':Math[_0x58e4d2(0x12c)](..._0x392697),'low':Math[_0x58e4d2(0x1c4)](..._0x392697),'close':_0x392697[_0xee2877[_0x58e4d2(0xc4)](_0x392697[_0x58e4d2(0x190)+'h'],0x1)],'volume':_0x8d72c9[_0x58e4d2(0x166)+'e']((_0x55cfbc,_0x3c666c)=>_0x55cfbc+(_0x3c666c[_0x58e4d2(0xd7)+'e']||0x1),0x0),'delta':_0xee2877[_0x58e4d2(0x1ba)](_0x246090,_0x148428),'tickCount':_0x8d72c9[_0x58e4d2(0x190)+'h']};}[_0x209ff9(0x1a2)+'ssBar'](_0x19340c,_0x10ca8c){const _0x39a774=_0x209ff9,_0x2b02b2={};_0x2b02b2['Fqjvd']=function(_0x41b29b,_0x4cfe27){return _0x41b29b>_0x4cfe27;},_0x2b02b2[_0x39a774(0x1ce)]=function(_0x580a18,_0x1bc2d4){return _0x580a18-_0x1bc2d4;},_0x2b02b2[_0x39a774(0x17e)]=function(_0xc57edf,_0x22d456){return _0xc57edf>_0x22d456;},_0x2b02b2[_0x39a774(0xbb)]=function(_0xf57fa1,_0x746db5){return _0xf57fa1/_0x746db5;},_0x2b02b2[_0x39a774(0x9d)]=function(_0x1900cc,_0x32a500){return _0x1900cc*_0x32a500;},_0x2b02b2[_0x39a774(0x130)]=function(_0x56fd9b,_0x327c05){return _0x56fd9b*_0x327c05;},_0x2b02b2['Fnjum']=function(_0x2d5539,_0x3141e3){return _0x2d5539-_0x3141e3;},_0x2b02b2[_0x39a774(0xfb)]=function(_0x2d1414,_0x2f0c4c){return _0x2d1414>_0x2f0c4c;},_0x2b02b2[_0x39a774(0x17f)]=function(_0x281728,_0x58d3b9){return _0x281728<_0x58d3b9;};const _0x10fe5f=_0x2b02b2;let _0x159ccd=this['barHi'+_0x39a774(0x12a)]['get'](_0x19340c);!_0x159ccd&&(this[_0x39a774(0x139)+_0x39a774(0xcb)](_0x19340c),_0x159ccd=this[_0x39a774(0x131)+_0x39a774(0x12a)][_0x39a774(0x168)](_0x19340c));_0x159ccd[_0x39a774(0x10c)](_0x10ca8c);if(_0x10fe5f['Fqjvd'](_0x159ccd['lengt'+'h'],0x1f4))_0x159ccd[_0x39a774(0xe8)]();const _0x5163ca=this[_0x39a774(0x195)+_0x39a774(0x1a3)+'r'][_0x39a774(0x168)](_0x19340c);_0x5163ca[_0x39a774(0x10c)](_0x10ca8c['close']);if(_0x5163ca[_0x39a774(0x190)+'h']>0xc8)_0x5163ca[_0x39a774(0xe8)]();const _0x2816dd=this[_0x39a774(0xd7)+_0x39a774(0x14f)+'er'][_0x39a774(0x168)](_0x19340c),_0x144984=_0x10fe5f['XPwRh'](_0x10ca8c[_0x39a774(0x151)],_0x10ca8c['low']);let _0x16129c=_0x10ca8c[_0x39a774(0xd7)+'e']*0.5,_0x539403=_0x10ca8c[_0x39a774(0xd7)+'e']*0.5;if(_0x10fe5f[_0x39a774(0x17e)](_0x144984,0x0)){const _0xfe276a=_0x10fe5f['HKUbG'](_0x10fe5f['XPwRh'](_0x10ca8c[_0x39a774(0xab)],_0x10ca8c[_0x39a774(0x1af)]),_0x144984);_0x16129c=_0x10fe5f[_0x39a774(0x9d)](_0x10ca8c[_0x39a774(0xd7)+'e'],_0xfe276a),_0x539403=_0x10fe5f[_0x39a774(0x130)](_0x10ca8c['volum'+'e'],_0x10fe5f[_0x39a774(0x10b)](0x1,_0xfe276a));}const _0x180ef7={};_0x180ef7['buy']=_0x16129c,_0x180ef7['sell']=_0x539403,_0x2816dd['push'](_0x180ef7);if(_0x10fe5f[_0x39a774(0xfb)](_0x2816dd[_0x39a774(0x190)+'h'],0x64))_0x2816dd['shift']();if(_0x10fe5f[_0x39a774(0x17f)](_0x159ccd[_0x39a774(0x190)+'h'],0x32))return null;const _0x1e85cb=this[_0x39a774(0x125)+_0x39a774(0x15d)+_0x39a774(0x1c1)](_0x5163ca),_0x38e339=this[_0x39a774(0x125)+'uteVP'+'IN'](_0x2816dd),_0x607a9e=this[_0x39a774(0x125)+_0x39a774(0x1c5)+_0x39a774(0xb2)+_0x39a774(0x197)](_0x159ccd),_0x59a6a3=this['_appl'+_0x39a774(0x152)+_0x39a774(0x192)+_0x39a774(0x17d)](_0x19340c,_0x10ca8c[_0x39a774(0xab)]),{regime:_0x187270,params:_0x554a1d}=this[_0x39a774(0x14e)+_0x39a774(0xaf)+_0x39a774(0xfa)+'tyReg'+_0x39a774(0xf6)](_0x19340c,_0x159ccd),_0x4665d0=this[_0x39a774(0x125)+_0x39a774(0xe9)+_0x39a774(0x142)+'owImb'+_0x39a774(0x12e)+'e'](_0x159ccd);return this['_gene'+_0x39a774(0xdc)+_0x39a774(0x123)](_0x19340c,_0x10ca8c[_0x39a774(0xab)],_0x1e85cb,_0x38e339,_0x607a9e,_0x59a6a3,_0x187270,_0x554a1d,_0x4665d0,_0x159ccd);}[_0x209ff9(0x125)+'uteZS'+_0x209ff9(0x1c1)](_0x2e0cd2,_0xb0437e=0x32){const _0x4dfb5f=_0x209ff9,_0x50c77d={};_0x50c77d[_0x4dfb5f(0x184)]=function(_0x3245a4,_0x4d91e7){return _0x3245a4<_0x4d91e7;},_0x50c77d['EzAkh']=function(_0x54249c,_0x23ada5){return _0x54249c/_0x23ada5;},_0x50c77d['ZUdSQ']=function(_0xdc78d7,_0x4a6458){return _0xdc78d7<_0x4a6458;},_0x50c77d[_0x4dfb5f(0x153)]=function(_0x3ce958,_0x6b1584){return _0x3ce958-_0x6b1584;};const _0x1b6287=_0x50c77d;if(_0x1b6287[_0x4dfb5f(0x184)](_0x2e0cd2[_0x4dfb5f(0x190)+'h'],_0xb0437e))return 0x0;const _0x159e22=_0x2e0cd2[_0x4dfb5f(0xe7)](-_0xb0437e),_0x2473d4=_0x1b6287['EzAkh'](_0x159e22[_0x4dfb5f(0x166)+'e']((_0x2bcfee,_0x132a3b)=>_0x2bcfee+_0x132a3b,0x0),_0xb0437e),_0x2119b9=_0x159e22[_0x4dfb5f(0x166)+'e']((_0x287bac,_0x1858d4)=>_0x287bac+Math[_0x4dfb5f(0x122)](_0x1858d4-_0x2473d4,0x2),0x0)/_0xb0437e,_0x14893e=Math['sqrt'](_0x2119b9);if(_0x1b6287[_0x4dfb5f(0x1cc)](_0x14893e,0.0001))return 0x0;return _0x1b6287[_0x4dfb5f(0x153)](_0x2e0cd2[_0x1b6287[_0x4dfb5f(0x153)](_0x2e0cd2[_0x4dfb5f(0x190)+'h'],0x1)],_0x2473d4)/_0x14893e;}[_0x209ff9(0x125)+_0x209ff9(0x12d)+'IN'](_0xdfe8f3){const _0x5830c8=_0x209ff9,_0x4918b6={};_0x4918b6[_0x5830c8(0x9f)]=function(_0x1fd91e,_0x5a080c){return _0x1fd91e<_0x5a080c;},_0x4918b6[_0x5830c8(0xdd)]=function(_0x1d6e57,_0x66a5b5){return _0x1d6e57/_0x66a5b5;},_0x4918b6['DRUCb']=function(_0x3ef366,_0x3142ba){return _0x3ef366-_0x3142ba;};const _0x30e085=_0x4918b6;if(_0x30e085[_0x5830c8(0x9f)](_0xdfe8f3[_0x5830c8(0x190)+'h'],this['vpinW'+_0x5830c8(0x149)]))return 0.5;const _0x4d61ce=_0xdfe8f3[_0x5830c8(0xe7)](-this['vpinW'+_0x5830c8(0x149)]);let _0x50aa5d=0x0,_0x3c3a03=0x0;for(const _0x50c99d of _0x4d61ce){_0x50aa5d+=_0x50c99d[_0x5830c8(0xef)],_0x3c3a03+=_0x50c99d['sell'];}const _0x3e43f9=_0x50aa5d+_0x3c3a03;if(_0x30e085[_0x5830c8(0x9f)](_0x3e43f9,0x1))return 0.5;return _0x30e085['IdANQ'](Math[_0x5830c8(0x108)](_0x30e085[_0x5830c8(0xf1)](_0x50aa5d,_0x3c3a03)),_0x3e43f9);}['_comp'+_0x209ff9(0x1c5)+_0x209ff9(0xb2)+_0x209ff9(0x197)](_0x153221){const _0x136c7f=_0x209ff9,_0x38e24d={};_0x38e24d[_0x136c7f(0x129)]=function(_0x3779d3,_0x5cdbd2){return _0x3779d3<_0x5cdbd2;},_0x38e24d[_0x136c7f(0x176)]=function(_0x11b1c5,_0x3f0450){return _0x11b1c5-_0x3f0450;},_0x38e24d[_0x136c7f(0x159)]=function(_0x51dd50,_0x1314c0){return _0x51dd50-_0x1314c0;},_0x38e24d[_0x136c7f(0xbf)]=function(_0x387c11,_0x1344df){return _0x387c11/_0x1344df;},_0x38e24d[_0x136c7f(0x1ac)]=function(_0x1455c7,_0x30901e){return _0x1455c7/_0x30901e;},_0x38e24d[_0x136c7f(0x98)]=function(_0x2fd270,_0x73f34a){return _0x2fd270*_0x73f34a;},_0x38e24d[_0x136c7f(0x18f)]=function(_0x3f6f7e,_0x38ad67){return _0x3f6f7e-_0x38ad67;},_0x38e24d[_0x136c7f(0xd5)]=function(_0x58854f,_0xc1452f){return _0x58854f<_0xc1452f;};const _0x1d74e2=_0x38e24d;if(_0x1d74e2[_0x136c7f(0x129)](_0x153221[_0x136c7f(0x190)+'h'],0x14))return 0x0;const _0xa37e1d=_0x153221[_0x136c7f(0xe7)](-0x14),_0x42b386=[],_0x5e02c8=[];for(let _0x241428=0x1;_0x241428<_0xa37e1d[_0x136c7f(0x190)+'h'];_0x241428++){_0x42b386[_0x136c7f(0x10c)](_0x1d74e2[_0x136c7f(0x176)](_0xa37e1d[_0x241428][_0x136c7f(0xab)],_0xa37e1d[_0x1d74e2[_0x136c7f(0x159)](_0x241428,0x1)][_0x136c7f(0xab)])),_0x5e02c8[_0x136c7f(0x10c)](_0xa37e1d[_0x241428][_0x136c7f(0xd7)+'e']);}const _0x244671=_0x1d74e2['SCcfn'](_0x42b386[_0x136c7f(0x166)+'e']((_0x530a70,_0x48d1a1)=>_0x530a70+_0x48d1a1,0x0),_0x42b386[_0x136c7f(0x190)+'h']),_0x2716a4=_0x1d74e2[_0x136c7f(0x1ac)](_0x5e02c8['reduc'+'e']((_0x186cde,_0x24fd7e)=>_0x186cde+_0x24fd7e,0x0),_0x5e02c8['lengt'+'h']);let _0x14ea5f=0x0,_0x4c8b8f=0x0;for(let _0x59b764=0x0;_0x59b764<_0x42b386[_0x136c7f(0x190)+'h'];_0x59b764++){_0x14ea5f+=_0x1d74e2['fjztN'](_0x1d74e2[_0x136c7f(0x176)](_0x42b386[_0x59b764],_0x244671),_0x5e02c8[_0x59b764]-_0x2716a4),_0x4c8b8f+=Math[_0x136c7f(0x122)](_0x1d74e2[_0x136c7f(0x18f)](_0x5e02c8[_0x59b764],_0x2716a4),0x2);}_0x14ea5f/=_0x42b386[_0x136c7f(0x190)+'h'],_0x4c8b8f/=_0x42b386[_0x136c7f(0x190)+'h'];if(_0x1d74e2[_0x136c7f(0xd5)](_0x4c8b8f,0.0001))return 0x0;return Math[_0x136c7f(0x108)](_0x14ea5f/_0x4c8b8f);}[_0x209ff9(0x102)+_0x209ff9(0x152)+_0x209ff9(0x192)+_0x209ff9(0x17d)](_0xc55be1,_0x43bb1c){const _0x2e4d7d=_0x209ff9,_0x408a59={};_0x408a59['AJqON']=function(_0x466b02,_0x4ad144){return _0x466b02<_0x4ad144;},_0x408a59['xRGzS']=function(_0x2ca597,_0x54816b){return _0x2ca597-_0x54816b;},_0x408a59[_0x2e4d7d(0x124)]=function(_0x53220f,_0x2606b1){return _0x53220f>_0x2606b1;},_0x408a59[_0x2e4d7d(0xd6)]=function(_0x4be9c5,_0x4f329a){return _0x4be9c5/_0x4f329a;},_0x408a59[_0x2e4d7d(0x1a6)]=function(_0x179a83,_0x23e677){return _0x179a83*_0x23e677;},_0x408a59[_0x2e4d7d(0x13c)]=function(_0x12ffb1,_0x98bdd5){return _0x12ffb1*_0x98bdd5;},_0x408a59[_0x2e4d7d(0x15e)]=function(_0x32a900,_0x1b1cb6){return _0x32a900+_0x1b1cb6;},_0x408a59[_0x2e4d7d(0x1bb)]=function(_0x240f93,_0x27f930){return _0x240f93!==_0x27f930;},_0x408a59['RpXbF']=function(_0x1eb3ea,_0x4b32e2){return _0x1eb3ea-_0x4b32e2;};const _0x2564c1=_0x408a59;let _0x14cab5=this[_0x2e4d7d(0x135)+_0x2e4d7d(0x1bd)+'es'][_0x2e4d7d(0x168)](_0xc55be1);if(!_0x14cab5){if(_0x2564c1[_0x2e4d7d(0x1bb)](_0x2e4d7d(0x196),_0x2e4d7d(0x196))){if(_0x2564c1[_0x2e4d7d(0x11f)](_0x3f097a[_0x2e4d7d(0x190)+'h'],this[_0x2e4d7d(0x114)+_0x2e4d7d(0xe5)+'k']))return 0x0;const _0x4b2381=_0x4f2242[_0x2e4d7d(0xe7)](-this[_0x2e4d7d(0x114)+_0x2e4d7d(0xe5)+'k']);let _0x4c5dc3=0x0,_0x215e13=0x0;for(const _0x1b42cb of _0x4b2381){const _0x1c5c7c=_0x2564c1[_0x2e4d7d(0x10d)](_0x1b42cb['high'],_0x1b42cb[_0x2e4d7d(0x1af)]);if(_0x2564c1['dGqmE'](_0x1c5c7c,0x0)){const _0x542bac=_0x2564c1[_0x2e4d7d(0xd6)](_0x2564c1[_0x2e4d7d(0x10d)](_0x1b42cb['close'],_0x1b42cb['low']),_0x1c5c7c);_0x4c5dc3+=_0x2564c1[_0x2e4d7d(0x1a6)](_0x542bac,_0x1b42cb[_0x2e4d7d(0xd7)+'e']),_0x215e13+=_0x2564c1[_0x2e4d7d(0x13c)](_0x2564c1[_0x2e4d7d(0x10d)](0x1,_0x542bac),_0x1b42cb['volum'+'e']);}}const _0x54a1cc=_0x2564c1[_0x2e4d7d(0x15e)](_0x4c5dc3,_0x215e13);if(_0x54a1cc<0x1)return 0x0;return _0x2564c1[_0x2e4d7d(0xd6)](_0x2564c1[_0x2e4d7d(0x10d)](_0x4c5dc3,_0x215e13),_0x54a1cc);}else{const _0x4eea9b={};return _0x4eea9b[_0x2e4d7d(0x180)+'ate']=_0x43bb1c,_0x4eea9b[_0x2e4d7d(0x18e)+_0x2e4d7d(0x165)+_0x2e4d7d(0xa9)]=0x1,_0x14cab5=_0x4eea9b,this['kalma'+_0x2e4d7d(0x1bd)+'es'][_0x2e4d7d(0xc7)](_0xc55be1,_0x14cab5),_0x43bb1c;}}const _0x1e406b=_0x14cab5[_0x2e4d7d(0x180)+'ate'],_0x1a7f64=_0x14cab5['error'+'Covar'+_0x2e4d7d(0xa9)]+this['kalma'+'nProc'+_0x2e4d7d(0xa4)+_0x2e4d7d(0xc1)],_0x4a761b=_0x2564c1['aocmo'](_0x1a7f64,_0x2564c1[_0x2e4d7d(0x15e)](_0x1a7f64,this[_0x2e4d7d(0x135)+_0x2e4d7d(0xae)+_0x2e4d7d(0x1b7)+'ntNoi'+'se']));return _0x14cab5['estim'+'ate']=_0x1e406b+_0x2564c1[_0x2e4d7d(0x13c)](_0x4a761b,_0x43bb1c-_0x1e406b),_0x14cab5['error'+_0x2e4d7d(0x165)+'iance']=_0x2564c1[_0x2e4d7d(0x1a6)](_0x2564c1[_0x2e4d7d(0x143)](0x1,_0x4a761b),_0x1a7f64),_0x14cab5[_0x2e4d7d(0x180)+_0x2e4d7d(0x14c)];}[_0x209ff9(0x14e)+_0x209ff9(0xaf)+_0x209ff9(0xfa)+_0x209ff9(0x170)+_0x209ff9(0xf6)](_0x26e3ca,_0x4b8d7c){const _0x1004e4=_0x209ff9,_0x44fd9b={};_0x44fd9b[_0x1004e4(0xa5)]=function(_0x2baa51,_0x11744b){return _0x2baa51>_0x11744b;},_0x44fd9b[_0x1004e4(0x1a4)]=function(_0x593eb1,_0x12c9a2){return _0x593eb1>=_0x12c9a2;},_0x44fd9b[_0x1004e4(0xcf)]=function(_0x3a12be,_0x1d3df5){return _0x3a12be/_0x1d3df5;},_0x44fd9b[_0x1004e4(0x1c2)]=_0x1004e4(0x1af),_0x44fd9b[_0x1004e4(0xf8)]=function(_0x8f6ae2,_0x5e9fa9){return _0x8f6ae2<_0x5e9fa9;},_0x44fd9b[_0x1004e4(0x179)]=_0x1004e4(0x14a)+'l',_0x44fd9b[_0x1004e4(0x11b)]='high';const _0x53af2b=_0x44fd9b,_0x1c9ab3=this[_0x1004e4(0x155)+'ulate'+_0x1004e4(0x91)](_0x4b8d7c);let _0x3e1fbe=this['atrHi'+_0x1004e4(0x12a)][_0x1004e4(0x168)](_0x26e3ca);!_0x3e1fbe&&(_0x3e1fbe=[],this['atrHi'+_0x1004e4(0x12a)]['set'](_0x26e3ca,_0x3e1fbe));_0x3e1fbe[_0x1004e4(0x10c)](_0x1c9ab3);if(_0x53af2b['Cnifp'](_0x3e1fbe[_0x1004e4(0x190)+'h'],0x1f4))_0x3e1fbe[_0x1004e4(0xe8)]();let _0x41a308=0.5;_0x53af2b['Xuebf'](_0x3e1fbe[_0x1004e4(0x190)+'h'],0x14)&&(_0x41a308=_0x53af2b[_0x1004e4(0xcf)](_0x3e1fbe[_0x1004e4(0xb6)+'r'](_0x19edc1=>_0x19edc1<=_0x1c9ab3)[_0x1004e4(0x190)+'h'],_0x3e1fbe[_0x1004e4(0x190)+'h']));let _0x14d56a,_0x246d5c;if(_0x41a308<0.25){_0x14d56a=_0x53af2b[_0x1004e4(0x1c2)];const _0x53d462={};_0x53d462[_0x1004e4(0xf5)+'ultip'+_0x1004e4(0xa2)]=0.8,_0x53d462[_0x1004e4(0x16b)+'tMult'+_0x1004e4(0x19d)+'r']=0.9,_0x53d462[_0x1004e4(0x178)+_0x1004e4(0xf0)+_0x1004e4(0x97)]=1.2,_0x53d462[_0x1004e4(0x189)+_0x1004e4(0xb0)+'Bonus']=0.05,_0x246d5c=_0x53d462;}else{if(_0x53af2b[_0x1004e4(0xf8)](_0x41a308,0.75)){_0x14d56a=_0x53af2b['oSslC'];const _0x465c15={};_0x465c15['stopM'+_0x1004e4(0x10e)+_0x1004e4(0xa2)]=0x1,_0x465c15[_0x1004e4(0x16b)+_0x1004e4(0x175)+_0x1004e4(0x19d)+'r']=0x1,_0x465c15['zscor'+_0x1004e4(0xf0)+_0x1004e4(0x97)]=1.5,_0x465c15[_0x1004e4(0x189)+_0x1004e4(0xb0)+_0x1004e4(0x1c3)]=0x0,_0x246d5c=_0x465c15;}else{_0x14d56a=_0x53af2b[_0x1004e4(0x11b)];const _0x43ef0d={};_0x43ef0d['stopM'+_0x1004e4(0x10e)+_0x1004e4(0xa2)]=1.3,_0x43ef0d[_0x1004e4(0x16b)+'tMult'+_0x1004e4(0x19d)+'r']=1.2,_0x43ef0d[_0x1004e4(0x178)+_0x1004e4(0xf0)+_0x1004e4(0x97)]=0x2,_0x43ef0d[_0x1004e4(0x189)+_0x1004e4(0xb0)+_0x1004e4(0x1c3)]=-0.05,_0x246d5c=_0x43ef0d;}}const _0x2a8424={};return _0x2a8424['regim'+'e']=_0x14d56a,_0x2a8424[_0x1004e4(0x133)+'s']=_0x246d5c,_0x2a8424;}[_0x209ff9(0x155)+_0x209ff9(0xf2)+_0x209ff9(0x91)](_0x42e4cc,_0xc13c70=0xe){const _0x34ddb3=_0x209ff9,_0x4112d2={};_0x4112d2['JikEJ']=function(_0x48857d,_0x13a0a0){return _0x48857d+_0x13a0a0;},_0x4112d2['uwMgw']=function(_0x2ee3d4,_0x5381e1){return _0x2ee3d4-_0x5381e1;},_0x4112d2[_0x34ddb3(0xdb)]=function(_0x4dc48a,_0x2feb58){return _0x4dc48a<_0x2feb58;},_0x4112d2['wLenW']=function(_0x1fa269,_0x20ae2a){return _0x1fa269/_0x20ae2a;};const _0x246430=_0x4112d2;if(_0x42e4cc[_0x34ddb3(0x190)+'h']<_0x246430['JikEJ'](_0xc13c70,0x1))return 2.5;const _0x3edba7=[];for(let _0xdcba22=_0x246430[_0x34ddb3(0xd0)](_0x42e4cc[_0x34ddb3(0x190)+'h'],_0xc13c70);_0x246430['PmBIK'](_0xdcba22,_0x42e4cc[_0x34ddb3(0x190)+'h']);_0xdcba22++){const _0x4d4f6b=_0x42e4cc[_0xdcba22],_0x51450e=_0x42e4cc[_0xdcba22-0x1][_0x34ddb3(0xab)],_0x451831=Math[_0x34ddb3(0x12c)](_0x246430[_0x34ddb3(0xd0)](_0x4d4f6b[_0x34ddb3(0x151)],_0x4d4f6b['low']),Math[_0x34ddb3(0x108)](_0x4d4f6b[_0x34ddb3(0x151)]-_0x51450e),Math[_0x34ddb3(0x108)](_0x246430[_0x34ddb3(0xd0)](_0x4d4f6b[_0x34ddb3(0x1af)],_0x51450e)));_0x3edba7['push'](_0x451831);}return _0x246430['wLenW'](_0x3edba7[_0x34ddb3(0x166)+'e']((_0x28650d,_0x3ae20f)=>_0x28650d+_0x3ae20f,0x0),_0x3edba7['lengt'+'h']);}[_0x209ff9(0x125)+_0x209ff9(0xe9)+'derFl'+_0x209ff9(0x118)+_0x209ff9(0x12e)+'e'](_0x5248ac){const _0xc0f157=_0x209ff9,_0x316339={};_0x316339[_0xc0f157(0x100)]=function(_0x4c7852,_0x282ea4){return _0x4c7852<_0x282ea4;},_0x316339[_0xc0f157(0xe6)]=function(_0x5e4714,_0x48d932){return _0x5e4714-_0x48d932;},_0x316339[_0xc0f157(0x161)]=function(_0x255872,_0x1a33dc){return _0x255872>_0x1a33dc;},_0x316339[_0xc0f157(0x1b1)]=function(_0x23f1b6,_0x54a91c){return _0x23f1b6/_0x54a91c;},_0x316339['hOrON']=function(_0x208c7f,_0x1e029c){return _0x208c7f*_0x1e029c;},_0x316339[_0xc0f157(0x163)]=function(_0x33d13e,_0x28ec5c){return _0x33d13e-_0x28ec5c;},_0x316339[_0xc0f157(0xd8)]=function(_0x39ca6b,_0x434ce8){return _0x39ca6b+_0x434ce8;};const _0x14c7a7=_0x316339;if(_0x14c7a7[_0xc0f157(0x100)](_0x5248ac[_0xc0f157(0x190)+'h'],this['ofiLo'+_0xc0f157(0xe5)+'k']))return 0x0;const _0x853631=_0x5248ac[_0xc0f157(0xe7)](-this[_0xc0f157(0x114)+'okbac'+'k']);let _0x37808e=0x0,_0x1bad6a=0x0;for(const _0x51e83a of _0x853631){const _0x3c7e56=_0x14c7a7[_0xc0f157(0xe6)](_0x51e83a[_0xc0f157(0x151)],_0x51e83a[_0xc0f157(0x1af)]);if(_0x14c7a7['firYk'](_0x3c7e56,0x0)){const _0x482b37=_0x14c7a7[_0xc0f157(0x1b1)](_0x14c7a7[_0xc0f157(0xe6)](_0x51e83a['close'],_0x51e83a['low']),_0x3c7e56);_0x37808e+=_0x14c7a7[_0xc0f157(0xc9)](_0x482b37,_0x51e83a[_0xc0f157(0xd7)+'e']),_0x1bad6a+=_0x14c7a7['hOrON'](_0x14c7a7[_0xc0f157(0x163)](0x1,_0x482b37),_0x51e83a[_0xc0f157(0xd7)+'e']);}}const _0x36143a=_0x14c7a7['ZGCqA'](_0x37808e,_0x1bad6a);if(_0x14c7a7[_0xc0f157(0x100)](_0x36143a,0x1))return 0x0;return _0x14c7a7['zWlFh'](_0x37808e,_0x1bad6a)/_0x36143a;}[_0x209ff9(0x1d1)+'rateS'+_0x209ff9(0x123)](_0x5d7c9e,_0x8406f,_0x18b469,_0x3c9f5a,_0x134867,_0x184b89,_0xa7d497,_0x96dd08,_0x17d3d9,_0x48953a){const _0x45cb06=_0x209ff9,_0x5e291f={};_0x5e291f['wFHcc']=function(_0x1191e5,_0x478af9){return _0x1191e5<_0x478af9;},_0x5e291f[_0x45cb06(0x16e)]=function(_0x4292a1,_0x14e5ae){return _0x4292a1>_0x14e5ae;},_0x5e291f['aPOUj']=_0x45cb06(0xb3),_0x5e291f[_0x45cb06(0x10f)]=function(_0x459dcb,_0x44a33b){return _0x459dcb===_0x44a33b;},_0x5e291f[_0x45cb06(0x104)]=_0x45cb06(0x92),_0x5e291f[_0x45cb06(0x162)]=function(_0x186bd8,_0x1fa889){return _0x186bd8===_0x1fa889;},_0x5e291f[_0x45cb06(0x96)]=function(_0xc40b39,_0xd8722){return _0xc40b39<_0xd8722;},_0x5e291f[_0x45cb06(0x173)]=function(_0x50a7c1,_0x530199){return _0x50a7c1===_0x530199;},_0x5e291f[_0x45cb06(0x1be)]=function(_0x55cc1e,_0x2c671b){return _0x55cc1e/_0x2c671b;},_0x5e291f['PfoIU']=function(_0x4fd694,_0x196003){return _0x4fd694-_0x196003;},_0x5e291f[_0x45cb06(0x172)]=function(_0x323969,_0x453d71){return _0x323969>_0x453d71;},_0x5e291f[_0x45cb06(0x103)]=_0x45cb06(0x14a)+'l',_0x5e291f[_0x45cb06(0x117)]=function(_0x1a7c00,_0x272cab){return _0x1a7c00===_0x272cab;},_0x5e291f[_0x45cb06(0x146)]=_0x45cb06(0x1af),_0x5e291f[_0x45cb06(0xbc)]=function(_0x587760,_0x2dc0d4){return _0x587760+_0x2dc0d4;},_0x5e291f[_0x45cb06(0x1a7)]=function(_0x3f93c6,_0xa463fa){return _0x3f93c6+_0xa463fa;},_0x5e291f['LAtJH']=function(_0x140aa6,_0x182356){return _0x140aa6+_0x182356;},_0x5e291f[_0x45cb06(0xaa)]=function(_0x3e6701,_0xb33c7a){return _0x3e6701*_0xb33c7a;},_0x5e291f['pSPAX']=function(_0x5a6b5f,_0x37db4f){return _0x5a6b5f*_0x37db4f;},_0x5e291f[_0x45cb06(0xbd)]=function(_0x536a15,_0x32a150){return _0x536a15*_0x32a150;},_0x5e291f[_0x45cb06(0x16c)]=function(_0x1dba81,_0x16b25a){return _0x1dba81<_0x16b25a;},_0x5e291f[_0x45cb06(0xb4)]=function(_0x2a4785,_0xd85a06){return _0x2a4785-_0xd85a06;},_0x5e291f[_0x45cb06(0xee)]=function(_0x14addf,_0x54eee1){return _0x14addf+_0x54eee1;},_0x5e291f[_0x45cb06(0x188)]=function(_0x2454c9,_0x2d06af){return _0x2454c9*_0x2d06af;},_0x5e291f[_0x45cb06(0xad)]=function(_0x3e528c,_0x2f8ce2){return _0x3e528c*_0x2f8ce2;},_0x5e291f['okYDV']=function(_0x3e77ff,_0xa545d3){return _0x3e77ff*_0xa545d3;},_0x5e291f['KEeuJ']=function(_0x12937f,_0x192564){return _0x12937f*_0x192564;},_0x5e291f[_0x45cb06(0xba)]=function(_0xcf903,_0x446d1c){return _0xcf903*_0x446d1c;},_0x5e291f[_0x45cb06(0xbe)]=function(_0x53dc83,_0x1ac03e){return _0x53dc83*_0x1ac03e;},_0x5e291f['nbUZg']=function(_0x539cb8,_0x3be87d){return _0x539cb8>=_0x3be87d;},_0x5e291f[_0x45cb06(0x16a)]=function(_0x2c6b4b,_0xae6e50){return _0x2c6b4b+_0xae6e50;},_0x5e291f[_0x45cb06(0x148)]=function(_0x25f320,_0x327d06){return _0x25f320-_0x327d06;},_0x5e291f[_0x45cb06(0x93)]=_0x45cb06(0x1b3)+_0x45cb06(0x1b4)+_0x45cb06(0x14d)+_0x45cb06(0x199);const _0x296908=_0x5e291f,_0xc5d4aa=Math[_0x45cb06(0x108)](_0x18b469);if(_0x296908[_0x45cb06(0x15b)](_0xc5d4aa,_0x96dd08[_0x45cb06(0x178)+'eThre'+_0x45cb06(0x97)]))return null;if(_0x296908[_0x45cb06(0x16e)](_0x3c9f5a,this[_0x45cb06(0xec)+'oxicT'+'hresh'+_0x45cb06(0x177)]))return null;let _0x57be94;if(_0x18b469<-_0x96dd08[_0x45cb06(0x178)+_0x45cb06(0xf0)+_0x45cb06(0x97)])_0x57be94='long';else{if(_0x296908[_0x45cb06(0x16e)](_0x18b469,_0x96dd08[_0x45cb06(0x178)+'eThre'+_0x45cb06(0x97)]))_0x57be94=_0x296908[_0x45cb06(0x1a1)];else return null;}const _0x246314=_0x296908[_0x45cb06(0x10f)](_0x57be94,_0x296908[_0x45cb06(0x104)])&&_0x296908[_0x45cb06(0x16e)](_0x17d3d9,0.1)||_0x296908[_0x45cb06(0x162)](_0x57be94,_0x45cb06(0xb3))&&_0x296908[_0x45cb06(0x96)](_0x17d3d9,-0.1),_0x32da6c=_0x8406f-_0x184b89,_0x288e2d=_0x57be94===_0x296908[_0x45cb06(0x104)]&&_0x32da6c<0x0||_0x296908[_0x45cb06(0x173)](_0x57be94,_0x296908[_0x45cb06(0x1a1)])&&_0x32da6c>0x0,_0x3cce23={'zscore':Math[_0x45cb06(0x1c4)](0x1,_0x296908['ajPap'](_0xc5d4aa,0x4)),'vpin':_0x296908['PfoIU'](0x1,_0x3c9f5a),'kyleLambda':_0x296908[_0x45cb06(0x172)](_0x134867,0.001)?0.5:0.8,'kalman':_0x288e2d?0.8:0.4,'volatility':_0xa7d497===_0x296908['EifKA']?0.8:_0x296908[_0x45cb06(0x117)](_0xa7d497,_0x296908[_0x45cb06(0x146)])?0.7:0.6,'ofi':_0x246314?0.9:0.5,'composite':0x0};_0x3cce23[_0x45cb06(0x174)+_0x45cb06(0x109)]=_0x296908[_0x45cb06(0xbc)](_0x296908[_0x45cb06(0x1a7)](_0x296908[_0x45cb06(0xb5)](_0x296908[_0x45cb06(0xaa)](_0x3cce23['zscor'+'e'],0.3),_0x3cce23[_0x45cb06(0x15c)]*0.15)+_0x296908[_0x45cb06(0xaa)](_0x3cce23['kyleL'+_0x45cb06(0x1c8)],0.1),_0x296908[_0x45cb06(0xe1)](_0x3cce23[_0x45cb06(0x135)+'n'],0.15)),_0x3cce23['volat'+_0x45cb06(0x101)]*0.1)+_0x296908[_0x45cb06(0xbd)](_0x3cce23[_0x45cb06(0x115)],0.2);const _0x37cacc=Math['min'](0x1,_0x296908['MHnfa'](_0x3cce23['compo'+'site'],_0x96dd08[_0x45cb06(0x189)+_0x45cb06(0xb0)+'Bonus']));if(_0x296908[_0x45cb06(0x16c)](_0x37cacc,0.55))return null;const _0x5899f5=Math[_0x45cb06(0xd9)](this['baseS'+_0x45cb06(0x1c7)+_0x45cb06(0xf9)]*_0x96dd08[_0x45cb06(0xf5)+_0x45cb06(0x10e)+_0x45cb06(0xa2)]),_0x36daf5=Math[_0x45cb06(0xd9)](this[_0x45cb06(0x145)+_0x45cb06(0x137)+'Ticks']*_0x96dd08[_0x45cb06(0x16b)+_0x45cb06(0x175)+_0x45cb06(0x19d)+'r']),_0x569620=Math[_0x45cb06(0x12c)](0x6,Math[_0x45cb06(0x1c4)](0xc,_0x5899f5)),_0x45fb6f=Math['max'](_0x569620*1.5,Math[_0x45cb06(0x1c4)](0x18,_0x36daf5));let _0x3c41d2,_0x587f4b,_0x27a84a,_0x11b0af;_0x57be94===_0x296908[_0x45cb06(0x104)]?(_0x3c41d2=_0x296908[_0x45cb06(0xb4)](_0x8406f,_0x569620*this['tickS'+_0x45cb06(0x141)]),_0x587f4b=_0x296908[_0x45cb06(0xee)](_0x8406f,_0x45fb6f*this[_0x45cb06(0x15f)+_0x45cb06(0x141)]),_0x27a84a=_0x8406f+_0x296908[_0x45cb06(0x188)](this[_0x45cb06(0xfd)+_0x45cb06(0x154)+_0x45cb06(0x1d0)],this['tickS'+'ize']),_0x11b0af=_0x296908[_0x45cb06(0x1a7)](_0x8406f,_0x296908[_0x45cb06(0xbd)](_0x296908['cnyyh'](_0x45fb6f,this[_0x45cb06(0x1bc)+_0x45cb06(0x17a)+'Pct']),this[_0x45cb06(0x15f)+_0x45cb06(0x141)]))):(_0x3c41d2=_0x8406f+_0x296908['okYDV'](_0x569620,this['tickS'+_0x45cb06(0x141)]),_0x587f4b=_0x8406f-_0x296908['zaPZm'](_0x45fb6f,this[_0x45cb06(0x15f)+'ize']),_0x27a84a=_0x296908['PfoIU'](_0x8406f,_0x296908[_0x45cb06(0x90)](this['break'+_0x45cb06(0x154)+_0x45cb06(0x1d0)],this[_0x45cb06(0x15f)+_0x45cb06(0x141)])),_0x11b0af=_0x8406f-_0x296908[_0x45cb06(0xaa)](_0x296908[_0x45cb06(0xe1)](_0x45fb6f,this['profi'+_0x45cb06(0x17a)+_0x45cb06(0x182)]),this['tickS'+_0x45cb06(0x141)]));const _0x1c312e=_0x45fb6f/_0x569620,_0x1d3f47=Math[_0x45cb06(0xd9)](_0x296908[_0x45cb06(0xba)](_0x45fb6f,0.5)),_0x5bedd0=Math[_0x45cb06(0xd9)](_0x296908[_0x45cb06(0xbe)](_0x569620,0.4));let _0x8da17d=SignalStrength[_0x45cb06(0x1aa)+_0x45cb06(0x158)];if(_0x296908[_0x45cb06(0xca)](_0x37cacc,0.85))_0x8da17d=SignalStrength['VERY_'+_0x45cb06(0x150)+'G'];else{if(_0x37cacc>=0.75)_0x8da17d=SignalStrength['STRON'+'G'];else{if(_0x296908[_0x45cb06(0x96)](_0x37cacc,0.6))_0x8da17d=SignalStrength[_0x45cb06(0x1a5)];}}const _0x306194=_0x296908[_0x45cb06(0x16a)](0.5,_0x296908[_0x45cb06(0xaa)](_0x37cacc-0.5,0.4)),_0x363388=_0x296908['cnOJn'](_0x306194*Math[_0x45cb06(0x108)](_0x296908[_0x45cb06(0x148)](_0x587f4b,_0x8406f)),_0x296908['ZajPu'](0x1-_0x306194,Math[_0x45cb06(0x108)](_0x296908['cnOJn'](_0x8406f,_0x3c41d2))));return{'id':uuidv4(),'timestamp':Date['now'](),'symbol':extractBaseSymbol(_0x5d7c9e),'contractId':_0x5d7c9e,'side':_0x296908[_0x45cb06(0x173)](_0x57be94,_0x45cb06(0x92))?OrderSide[_0x45cb06(0x95)]:OrderSide['ASK'],'direction':_0x57be94,'strategy':_0x296908[_0x45cb06(0x93)],'strength':_0x8da17d,'edge':_0x363388,'confidence':_0x37cacc,'entry':_0x8406f,'entryPrice':_0x8406f,'stopLoss':_0x3c41d2,'takeProfit':_0x587f4b,'riskReward':_0x1c312e,'stopTicks':_0x569620,'targetTicks':_0x45fb6f,'trailTriggerTicks':_0x1d3f47,'trailDistanceTicks':_0x5bedd0,'beBreakeven':_0x27a84a,'profitLockLevel':_0x11b0af,'zScore':_0x18b469,'zScoreExit':this[_0x45cb06(0x178)+_0x45cb06(0xe4)+_0x45cb06(0xda)+_0x45cb06(0xcc)],'vpinValue':_0x3c9f5a,'kyleLambda':_0x134867,'kalmanEstimate':_0x184b89,'volatilityRegime':_0xa7d497,'ofiValue':_0x17d3d9,'models':_0x3cce23};}[_0x209ff9(0x181)+_0x209ff9(0xfe)+'ByZSc'+_0x209ff9(0x9c)](_0x30d606){const _0x1249d6=_0x209ff9,_0x251308={};_0x251308['mUPRk']=function(_0x13e566,_0x216358){return _0x13e566<_0x216358;};const _0x3a352e=_0x251308,_0xd17a4b=this[_0x1249d6(0x195)+_0x1249d6(0x1a3)+'r']['get'](_0x30d606);if(!_0xd17a4b||_0x3a352e[_0x1249d6(0xdf)](_0xd17a4b['lengt'+'h'],0x32))return![];const _0x26fb1d=this[_0x1249d6(0x125)+_0x1249d6(0x15d)+_0x1249d6(0x1c1)](_0xd17a4b);return _0x3a352e['mUPRk'](Math[_0x1249d6(0x108)](_0x26fb1d),this[_0x1249d6(0x178)+'eExit'+_0x1249d6(0xda)+_0x1249d6(0xcc)]);}[_0x209ff9(0x140)+_0x209ff9(0x169)+'lues'](_0x49946e){const _0x127ac5=_0x209ff9,_0xbeab16={};_0xbeab16[_0x127ac5(0x1d4)]=function(_0x20a492,_0x326f51){return _0x20a492<_0x326f51;},_0xbeab16[_0x127ac5(0xb9)]=function(_0x134bfa,_0x10bd1c){return _0x134bfa+_0x10bd1c;},_0xbeab16[_0x127ac5(0x1ab)]=function(_0x5cc974,_0x1c9d22){return _0x5cc974*_0x1c9d22;},_0xbeab16[_0x127ac5(0x19b)]=function(_0x5c59a7,_0x1ddbcf){return _0x5c59a7+_0x1ddbcf;};const _0x303fe2=_0xbeab16,_0xc3e95c=this[_0x127ac5(0x195)+_0x127ac5(0x1a3)+'r'][_0x127ac5(0x168)](_0x49946e),_0x311c32=this[_0x127ac5(0xd7)+'eBuff'+'er'][_0x127ac5(0x168)](_0x49946e),_0x242ec4=this[_0x127ac5(0x131)+_0x127ac5(0x12a)][_0x127ac5(0x168)](_0x49946e);if(!_0xc3e95c||!_0x311c32||!_0x242ec4||_0x303fe2[_0x127ac5(0x1d4)](_0x242ec4[_0x127ac5(0x190)+'h'],0x32))return null;return{'zscore':this[_0x127ac5(0x125)+_0x127ac5(0x15d)+_0x127ac5(0x1c1)](_0xc3e95c)[_0x127ac5(0x19c)+'ed'](0x2),'vpin':_0x303fe2['CWlnK'](_0x303fe2[_0x127ac5(0x1ab)](this[_0x127ac5(0x125)+'uteVP'+'IN'](_0x311c32),0x64)[_0x127ac5(0x19c)+'ed'](0x1),'%'),'ofi':_0x303fe2[_0x127ac5(0x19b)]((this[_0x127ac5(0x125)+_0x127ac5(0xe9)+_0x127ac5(0x142)+_0x127ac5(0x118)+_0x127ac5(0x12e)+'e'](_0x242ec4)*0x64)[_0x127ac5(0x19c)+'ed'](0x1),'%'),'bars':_0x242ec4['lengt'+'h']};}[_0x209ff9(0x14b)+_0x209ff9(0xcd)+'eResu'+'lt'](_0x5841f6){const _0x361fe6=_0x209ff9,_0x1d3646={};_0x1d3646[_0x361fe6(0x120)]=function(_0x773b60,_0x162deb){return _0x773b60>_0x162deb;};const _0x42f911=_0x1d3646;this[_0x361fe6(0x116)+_0x361fe6(0x19f)+'es'][_0x361fe6(0x10c)]({'pnl':_0x5841f6,'timestamp':Date[_0x361fe6(0x1c0)]()});if(_0x42f911['tPkES'](this[_0x361fe6(0x116)+_0x361fe6(0x19f)+'es'][_0x361fe6(0x190)+'h'],0x64))this['recen'+_0x361fe6(0x19f)+'es']['shift']();_0x5841f6>0x0?(this[_0x361fe6(0xc8)+_0x361fe6(0x1b0)]++,this[_0x361fe6(0x12f)+'treak']=0x0):(this['lossS'+_0x361fe6(0xed)]++,this[_0x361fe6(0xc8)+_0x361fe6(0x1b0)]=0x0);}['getBa'+'rHist'+'ory'](_0xd4502f){const _0x563a0f=_0x209ff9;return this[_0x563a0f(0x131)+_0x563a0f(0x12a)][_0x563a0f(0x168)](_0xd4502f)||[];}[_0x209ff9(0x1a9)](_0x5be330){const _0x3a0222=_0x209ff9,_0x4c1bf8=(_0x3a0222(0xfc)+_0x3a0222(0x17c)+_0x3a0222(0x106))[_0x3a0222(0x12b)]('|');let _0x1ea5e0=0x0;while(!![]){switch(_0x4c1bf8[_0x1ea5e0++]){case'0':this[_0x3a0222(0x11e)+_0x3a0222(0x17b)+'er'][_0x3a0222(0xc7)](_0x5be330,[]);continue;case'1':this[_0x3a0222(0x131)+_0x3a0222(0x12a)]['set'](_0x5be330,[]);continue;case'2':this[_0x3a0222(0x112)+_0x3a0222(0x12a)][_0x3a0222(0xc7)](_0x5be330,[]);continue;case'3':this[_0x3a0222(0x134)+_0x3a0222(0x1b5)][_0x3a0222(0xc7)](_0x5be330,[]);continue;case'4':this[_0x3a0222(0xac)+'arTim'+'e']['set'](_0x5be330,0x0);continue;case'5':const _0x12d95a={};_0x12d95a[_0x3a0222(0x180)+_0x3a0222(0x14c)]=0x0,_0x12d95a[_0x3a0222(0x18e)+_0x3a0222(0x165)+_0x3a0222(0xa9)]=0x1,this[_0x3a0222(0x135)+_0x3a0222(0x1bd)+'es'][_0x3a0222(0xc7)](_0x5be330,_0x12d95a);continue;case'6':this[_0x3a0222(0xd7)+_0x3a0222(0x14f)+'er'][_0x3a0222(0xc7)](_0x5be330,[]);continue;case'7':this[_0x3a0222(0x195)+_0x3a0222(0x1a3)+'r'][_0x3a0222(0xc7)](_0x5be330,[]);continue;}break;}}}function _0x4c6d(){const _0x3f0ba7=['Aw5KB3C','BM9YBwe','CMvJB3i','yxrL','u0nbtfa','x2rLDgu','zuj1zMy','u1rst04','AgLNAa','EuTHBg0','wwvqCgy','zxzLBLq','x2nHBgm','tvLn','vg9cyxi','qvrf','Dwr1zwK','DgvYDMe','D0ziy2m','DNbPBG','DxrLwLm','ugP3CNC','DgLJA1m','yMfZzvm','zMLYwwS','tKPnv1K','ELDSrMG','u2LKzq','q292yxi','CMvKDwm','tuvt','z2v0','zgvSvMe','EfHdyuq','DgfYz2u','De52Cue','Fde0Fdi','CufVELi','n3WXFdK','DhLszwC','rLfrCKm','r0LNC0O','s0TUBwi','y29TCg8','De11Bhq','DKLyAKG','B2XK','ENnJB3i','B1nZBem','DeXVy2S','C0j1zMy','Fdb8mNW','DgvY','rwjICxa','A0vKtfK','zxn0Aw0','C2HVDwW','ugn0','yxjuAw0','txnlrfG','DgLJA1y','vgLJA3m','wvvUy3q','zNviv2C','y29UzMK','BLbYB2m','ywX1zq','tgrWDNy','uLrz','zxjYB3i','zvfWC2S','BgvUz3q','zfvICNO','yw5gAwW','CuvbDLO','mtn8mtG','ChjPy2u','s3rMq1C','yMrH','B3HPy1q','su5h','y29UDhi','r3n1EMi','Dg9gAxG','AxbSAwu','DhjHu2m','DfrYywq','x2fNz3i','yvbpvwO','ChjVy2u','qNvMzMu','whvLyMy','v0vbsW','uurxwhK','tuHUzMe','Be1Z','CMvZzxq','tu9ervi','A2TjzgG','s1PZwe0','z1n0CMe','muTeu25zsa','Bg93','CMvHAW','sMLlDxK','nxW5Fdy','sffyx1u','tfrsqv8','DwzMzxi','tu5r','DxjLBwu','yMfYsw4','zw1PDa','vhHoEeS','q29mwei','ChjVzMK','BLn0yxq','ywPqyxa','t3jKzxi','BM93','y29Yzq','Dg53ANK','qM9UDxm','BwLU','DxrLs3K','uenAt00','Dg9WvgK','yw1Izge','mZq0oeftqu9kzq','z1vjtgO','FdH8mty','wLvKu1e','nNWXnxW','wfb3uMG','vu5ltK8','AwnRCW','x2DLBMu','uxPKr1K','EvrOCMu','s09Rzw4','v212Bg8','mtD8nNW','s0vLDuO','qvrs','Bg9UzW','wfvPuw8','Fdi1Fde','qKLe','ELPywey','C2HVBgq','zMP6De4','mteZndL0u01eq3K','BMD0Aa','qvnl','B3jL','AMPxExy','ueH3AhG','tNjXDhy','DNbPBLC','z3z0Euu','BgLLCG','ywn0swq','zxnZtM8','q25PzNa','mZKZoeHXA2Lfza','ywXWAw4','DxHyufe','AwfUy2u','DfDtu3a','y2XVC2u','BgfZDei','y255EwG','BK1Lyxm','y3rwB2W','zgvUy2u','Bfn0CMu','Bgvmyw0','C2HVCNq','zen0vfe','tef0sKG','zMLSDgu','tg9VA2i','nuTbCvLQBq','q1DSBKS','vg5gq0m','seTvyKC','qNDiyuy','EMfqwM0','wMfQuhu','u0nJzM4','zxHWB3i','AxnL','zxzICLe','A21pEgu','ywvwEee','s2vssKW','m3W4Fdi','C2v0','D2LUu3q','Ae9Yt04','BMjvwMC','ywXPEMu','Ag9Sza','zfrYywq','mZiWotuWmK9tDerNsa','AxzWvM4','DxDnz3C','mta1ntbWrNjSvMC','s3r3ywq','C3ncyxi','EMzcCgS','wuTKA2e','yw9JBw8','DM9SDw0','wKDdCue','CM91BMq','vgHYzxm','ug1csuS','CMf0zvm','swrbtLe','BKDpzei','BvvquMS','u2LNBMe','CfnqqvG','zwDHDgu','mtj8mJa','zuv4Axq','B2TIywm','CNj1uem','C2XPy2u','C2HPzNq','DxrLt3i','CNDSC0y','tKTe','DNbPBLq','DhjLywS','uLbMEuu','yNv5','zvrOCMu','rfjvq2i','DwXHDgu','ttjl','ywnR','C3rVCe0','Aw1L','mJblvNnrz0y','r1HdtwG','y2TZ','yxrPBgK','B1b6u3G','mxW3Fdy','yNjLywS','zev4Axq','BNroB2K','tNjxuwm','AwXPDhK','x2fWCgW','rwLMs0e','EMvfvem','zxzLBNq','m3W0Fdu','DgvNEq','ywjZ','C2L0zq','ntGWmJa0offqs1DWBW','rM5QDw0','ChvZAa','EfjhELm','DwX0Axa','B2DqCKu','vw1Othy','ru1e','yxrYsgK','nhWYmxW','B2zPtg8','B2zP','CMvJzw4','wLLhv1e','B3DjBwi','wKLUAKC','C3nuAwm','reXXrgS','q0HxuNq','shzXDfa','DhjHzgu','quPXt04','DfbRrvm','mtK5oda0ogzKwNPHsq','Cg93','AwDUywW','zeDXBuu','x2nVBxa','A3fAAxC','oxW1Fdi','Fdb8mte','sNvOrhu','C3rVCNK','C3bSAxq','Bwf4','DxrLvLa','ywXHBMm','Bg9ZC1m','z2HHvvu','yMfYsgK','vLv6uxe','CgfYyw0','DgLJA0i','A2fSBwe','BwfW','yxjNzxq','Ce10y00','Aw5PDgK','vKvswv8','Fdr8mJi','uvvbtuC','ELDYDu4','mJyYnJy1txrxugP0','ANrRyxG','z2v0tw8','AxPL','zgvYrMW','uNbyyKy','otG2mZeWshDIuM9Z','yMfZzvq','uMXpDxy','Fdr8n3W','y25psM4'];_0x4c6d=function(){return _0x3f0ba7;};return _0x4c6d();}const M1=new HQXUltraScalpingStrategy(),_0x26a142={};_0x26a142['M1']=M1,_0x26a142['HQXUl'+_0x209ff9(0x19e)+_0x209ff9(0xa7)+_0x209ff9(0x1ad)+_0x209ff9(0x107)]=HQXUltraScalpingStrategy,_0x26a142[_0x209ff9(0x1bf)+_0x209ff9(0x164)]=OrderSide,_0x26a142[_0x209ff9(0xe0)+_0x209ff9(0xb1)+_0x209ff9(0x9a)]=SignalStrength,module[_0x209ff9(0xc0)+'ts']=_0x26a142;
|
|
1
|
+
'use strict';function _0x37ba(){const _0x5d039b=['CMvJB3i','Bg9ZC1m','x2fWCgW','mNWYFda','y2TZ','vgLJA3m','EgvYy2W','BgvRy0W','v0vbsW','mtf8mJq','x2fNz3i','Fde5Fde','CKHPC3q','CuPvyvO','AwXPDhK','B3j5','rwXWrwe','tu5r','C2vSBa','qxfjz1i','uw1uu2q','ww1JCKi','sunOshu','ntzuq0LAwu0','vgHYzxm','B2LkrMu','z1n0CMe','z2v0','mhW2Fdu','AhjLC2G','BNDIv0S','DgvY','ueTnq28','x2nHBgm','q292yxi','EuTHBg0','DgLJA1m','BgvUz3q','rNvksuG','BerbqwK','rNbVyK4','Aw1L','AgT0uNG','C09Qr00','yMfYsgK','DgLJA0i','DhjHzgu','uMD3t3i','DgvNEq','Ag9Sza','AxnL','BM9YBwe','zu9VEKS','zxjYB3i','qNvMzMu','te5sqNu','C3rVCe0','Bg9UzW','AgLNAa','CgfYyw0','DxjLBwu','rvrNBvy','u2LKzq','zxzLBLq','u1rst04','qwLezhy','txfpz0C','wLriruC','rhH5qu8','t3jKzxi','DM9Syxq','vg9cyxi','AxPL','B3DjBwi','A1rLBgG','zKzqtLi','yNjLywS','t0TPshe','t05vA2K','se9dt3G','r3jAEwe','yxrL','yMfYsw4','ywXPEMu','DNDQu2G','shDowMW','zgvUy2u','yvbSCwq','mta0mJq5ng16CMDmra','DxrLs3K','Aw5KB3C','BgfZDei','AwfUy2u','vxLLug4','vMDcBMC','EfrXCeG','yuXcwwK','yw1Izge','r3f4tve','C2vSrxy','rLHyCwm','zuPQCKe','r1b4vxC','De11Bhq','yLzzwwm','nJKZote3yM1cyMfu','DhLszwC','yNHtt1y','DxrLvLa','u2vQrfC','mJy1mZr4Be1szeG','DwzMzxi','CMf0zvm','ywXWAw4','r2TcAfu','sffyvwW','yxrPBgK','qKLe','Bwf4','A3LSzuW','EvrOCMu','Dg9WvgK','ywnR','q1rRs0W','B2zVD3q','Auz5Bu4','u0nbtfa','AufuqNe','y0jTCvq','zgvSvMe','C2LNBMe','DwXHDgu','odq3ntz6DwfKshG','CMvJzw4','DM9SDw0','BwLU','wwHQCNi','C2HPzNq','z2v0qMe','C3fYDa','B2XK','zKTzq0e','AxbSAwu','Bgvmyw0','nZG2ntK5wwz1BMTq','Bg93','zxHWB3i','A2fSBwe','vffSzue','rNDlwva','yNDXyLe','rNPoCLC','A25hugu','tg9VA2i','AMPOqNm','BwfW','zuj1zMy','B3HPy1q','CMvZzxq','B2zPtg8','Cg93','B3jL','tKTe','y29Yzq','tfrsqv8','yxjNzxq','zuvUDhi','zxn0Aw0','yxrYsgK','CM91BMq','swH2Dfy','uhbAD2q','AwnRCW','DeXVy2S','CMvKDwm','ugHeyNO','ohW1Fde','DgfYz2u','D3jVtxG','BgLLCG','t0XlBKC','ChjVzMK','zvrOCMu','yw5gAwW','z1zLAeW','nxWZFdy','DwX0Axa','x2nVBxa','vLn4rgG','BKTnCNK','yMjKwvu','C2XPy2u','tvbzCMC','r1DoAum','B1n2zvu','B0jOCwW','Dg9gAxG','DgvYDMe','BM93','q3rdtNO','vwTKEK8','yxjuAw0','C3rVCNK','DxvPza','B2jtBLi','DNbPBLq','svvAyxm','ru1e','vu5ltK8','zxnZtM8','zMLSDgu','AwDUywW','C2HVCNq','Dvfbzwe','BMD0Aa','C3bSAxq','ALntAeK','CMvHAW','BhvLCW','ndm1oteXnhvRuND6vq','ywXHBMm','B2zP','ChjVy2u','Bfn0CMu','u0rIz3m','C2HVDwW','n3WZFde','B2TIywm','C2HVBgq','z2v0tw8','ndbSD0jVDM0','AhLJB2C','wfnbwKO','y29TCg8','wvbitva','qvnl','u1jWs3a','z3PhsMG','Aw5PDgK','C2L0zq','DxrLt3i','shLVvfm','ChjPy2u','yK5lCM0','BLbYB2m','u1DsuuW','uhLkELO','txvkrxq','tvLn','rvvzqNq','qMDkwgW','DfrYywq','DgLSzgi','tu9ervi','vKvswv8','y2XVC2u','DhjHu2m','DNbPBG','BNroB2K','whDsBNe','z2vhr2W','ChvZAa','zgvYrMW','AMHVDNG','Fdj8nhW','n3WXnhW','CNDus2G','AxDLvwS','CgvRBhu','ENnJB3i','yMfZzvm','qM9UDxm','sKPNq1a','ywfUA2q','ywjZ','q1DKENy','A3jSB3a','DxrLwLm','x2DLBMu','y29UDhi','yvfqr0i','qvrf','C1HqBKm','AM91C0O','zwDHDgu','ywn0swq','nvr2yuPvyW','vwHPy0G','s0TJzw8','ugn0','yMfZzvq','BLn0yxq','Fdb8n3W','zev4Axq','mJuXnZm0mKLMAhPszq','sffyx1u','y29UzMK','mtbgzNzOA24','D2LUu3q','DNbPBLC','zu1Jsxi','odrUsM56vhq','vvjZAwy','qwPOtvG','su16wvG','mJb8mJy','rLvOquC','C2v0','C0j1zMy','ywX1zq','su5h','tKzLEwW','tuvt','y3rwB2W','Be1Z','shDWy3m','D3fYs1a','BK1Lyxm','DhjLywS','ugflv1q','v0n5Cwi'];_0x37ba=function(){return _0x5d039b;};return _0x37ba();}const _0x4098a4=_0x2d58;(function(_0x53bf90,_0x24fd97){const _0x197479=_0x2d58,_0x437135=_0x53bf90();while(!![]){try{const _0x765286=-parseInt(_0x197479(0x154))/0x1*(parseInt(_0x197479(0xdc))/0x2)+-parseInt(_0x197479(0x207))/0x3+-parseInt(_0x197479(0xf2))/0x4+parseInt(_0x197479(0x18c))/0x5*(-parseInt(_0x197479(0x194))/0x6)+-parseInt(_0x197479(0xd7))/0x7*(-parseInt(_0x197479(0x1c6))/0x8)+parseInt(_0x197479(0x149))/0x9*(parseInt(_0x197479(0x197))/0xa)+parseInt(_0x197479(0xfe))/0xb*(parseInt(_0x197479(0x19b))/0xc);if(_0x765286===_0x24fd97)break;else _0x437135['push'](_0x437135['shift']());}catch(_0x7d66cd){_0x437135['push'](_0x437135['shift']());}}}(_0x37ba,0x57dde));function _0x2d58(_0x2fe20f,_0x2c27c9){_0x2fe20f=_0x2fe20f-0xcb;const _0x37ba82=_0x37ba();let _0x2d58bc=_0x37ba82[_0x2fe20f];if(_0x2d58['GNMwfD']===undefined){var _0x417acd=function(_0x6fe8f3){const _0x21e6e4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34504f='',_0x19b32d='';for(let _0x80b727=0x0,_0x3d0726,_0x19d038,_0x56cdd2=0x0;_0x19d038=_0x6fe8f3['charAt'](_0x56cdd2++);~_0x19d038&&(_0x3d0726=_0x80b727%0x4?_0x3d0726*0x40+_0x19d038:_0x19d038,_0x80b727++%0x4)?_0x34504f+=String['fromCharCode'](0xff&_0x3d0726>>(-0x2*_0x80b727&0x6)):0x0){_0x19d038=_0x21e6e4['indexOf'](_0x19d038);}for(let _0x31a8c0=0x0,_0x5ee179=_0x34504f['length'];_0x31a8c0<_0x5ee179;_0x31a8c0++){_0x19b32d+='%'+('00'+_0x34504f['charCodeAt'](_0x31a8c0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x19b32d);};_0x2d58['aHTjST']=_0x417acd,_0x2d58['TQlxdL']={},_0x2d58['GNMwfD']=!![];}const _0x34ff0e=_0x37ba82[0x0],_0x36076b=_0x2fe20f+_0x34ff0e,_0x1b8078=_0x2d58['TQlxdL'][_0x36076b];return!_0x1b8078?(_0x2d58bc=_0x2d58['aHTjST'](_0x2d58bc),_0x2d58['TQlxdL'][_0x36076b]=_0x2d58bc):_0x2d58bc=_0x1b8078,_0x2d58bc;}const EventEmitter=require('event'+'s'),{v4:uuidv4}=require(_0x4098a4(0x139)),_0x1cd001={};_0x1cd001[_0x4098a4(0xe3)]=_0x4098a4(0xe3),_0x1cd001[_0x4098a4(0x159)]=_0x4098a4(0x159);const OrderSide=_0x1cd001,_0x2ca775={};_0x2ca775['WEAK']=_0x4098a4(0x1b7),_0x2ca775['MODER'+_0x4098a4(0x187)]='MODER'+_0x4098a4(0x187),_0x2ca775['STRON'+'G']='STRON'+'G',_0x2ca775[_0x4098a4(0x16c)+_0x4098a4(0x1ef)+'G']='VERY_'+_0x4098a4(0x1ef)+'G';const SignalStrength=_0x2ca775;function extractBaseSymbol(_0x4f1fad){const _0x5203f6=_0x4098a4,_0x8af7f1={};_0x8af7f1['kTelh']=function(_0x200a9d,_0x2ecc57){return _0x200a9d*_0x2ecc57;},_0x8af7f1[_0x5203f6(0x1ec)]=function(_0x1b9387,_0x3a3728){return _0x1b9387-_0x3a3728;},_0x8af7f1[_0x5203f6(0x1ae)]=function(_0xb9234c,_0x3f63b4){return _0xb9234c-_0x3f63b4;},_0x8af7f1[_0x5203f6(0x206)]='RTY',_0x8af7f1[_0x5203f6(0x1d5)]=_0x5203f6(0x1c0),_0x8af7f1[_0x5203f6(0x1aa)]=_0x5203f6(0x1a6),_0x8af7f1[_0x5203f6(0x146)]='M2K',_0x8af7f1['knGPe']=function(_0x3b806e,_0x4ee666){return _0x3b806e>=_0x4ee666;},_0x8af7f1[_0x5203f6(0x179)]=function(_0x8595cf,_0x197c57){return _0x8595cf!==_0x197c57;},_0x8af7f1[_0x5203f6(0x122)]=_0x5203f6(0x163),_0x8af7f1['RpHZz']=_0x5203f6(0x105);const _0x4ed4f9=_0x8af7f1,_0x1e9943={};_0x1e9943['ENQ']='NQ',_0x1e9943['EP']='ES',_0x1e9943['EMD']=_0x5203f6(0x13d),_0x1e9943['RTY']=_0x4ed4f9[_0x5203f6(0x206)],_0x1e9943['MNQ']=_0x4ed4f9[_0x5203f6(0x1d5)],_0x1e9943[_0x5203f6(0x1a6)]=_0x4ed4f9['wqrKP'],_0x1e9943['M2K']=_0x4ed4f9[_0x5203f6(0x146)],_0x1e9943['MYM']=_0x5203f6(0x166),_0x1e9943[_0x5203f6(0x110)]=_0x5203f6(0x110),_0x1e9943['GC']='GC',_0x1e9943['SI']='SI',_0x1e9943['CL']='CL',_0x1e9943['YM']='YM';const _0x3fedb2=_0x1e9943;if(!_0x4f1fad)return _0x5203f6(0x13e)+'WN';const _0x2d5272=_0x4f1fad['split']('.');if(_0x4ed4f9[_0x5203f6(0x106)](_0x2d5272[_0x5203f6(0x1d4)+'h'],0x4)){if(_0x4ed4f9[_0x5203f6(0x179)](_0x4ed4f9[_0x5203f6(0x122)],_0x4ed4f9['RpHZz'])){const _0x3d3600=_0x2d5272[0x3];return _0x3fedb2[_0x3d3600]||_0x3d3600;}else _0x59ade0+=_0x4ed4f9[_0x5203f6(0x1f9)](_0x483816[_0x5afb6e]-_0x4bd290,_0x4ed4f9['ETgmV'](_0x3f67d7[_0x569020],_0x3c4a5a)),_0x54e586+=_0x1fde81[_0x5203f6(0x10e)](_0x4ed4f9[_0x5203f6(0x1ae)](_0x2bf5c2[_0x311def],_0x55d18f),0x2);}return _0x4f1fad;}class HQXUltraScalpingStrategy extends EventEmitter{constructor(){const _0x456107=_0x4098a4,_0x3588fd=(_0x456107(0x19f)+_0x456107(0x1ba)+_0x456107(0x11e)+_0x456107(0x127)+'|13|1'+_0x456107(0x1b2)+'|9|10'+'|17|2'+'5|22|'+_0x456107(0x177)+'21|23'+'|8|1|'+'4|16|'+_0x456107(0x1b8))[_0x456107(0x145)]('|');let _0x2334eb=0x0;while(!![]){switch(_0x3588fd[_0x2334eb++]){case'0':this[_0x456107(0x17c)+_0x456107(0xe7)+_0x456107(0x1b3)]=0x8;continue;case'1':this[_0x456107(0x20a)+'arTim'+'e']=new Map();continue;case'2':this[_0x456107(0x10d)+_0x456107(0x151)+'k']=0x14;continue;case'3':this[_0x456107(0x13b)+_0x456107(0x10b)+'hresh'+_0x456107(0xfa)]=0.7;continue;case'4':this['barIn'+_0x456107(0x133)+'lMs']=0x1388;continue;case'5':this[_0x456107(0x17b)+'eExit'+_0x456107(0x1c7)+'hold']=0.5;continue;case'6':this[_0x456107(0x101)+_0x456107(0x162)+_0x456107(0x13f)+'ise']=0.01;continue;case'7':this[_0x456107(0x160)+_0x456107(0x1e5)+'r']=new Map();continue;case'8':this['tickB'+'uffer']=new Map();continue;case'9':this[_0x456107(0x190)+_0x456107(0x113)+_0x456107(0x1b4)]=0x10;continue;case'10':this['break'+'evenT'+_0x456107(0x11a)]=0x4;continue;case'11':this[_0x456107(0x198)+_0x456107(0x147)]=0x0;continue;case'12':this['volat'+_0x456107(0x1bd)+_0x456107(0x107)+_0x456107(0xe8)]=0x64;continue;case'13':this['kalma'+_0x456107(0x1ab)+_0x456107(0x1eb)+_0x456107(0x170)+'se']=0.1;continue;case'14':this[_0x456107(0xf4)+_0x456107(0x10a)+'er']=new Map();continue;case'15':this[_0x456107(0x199)+_0x456107(0x209)]=0x32;continue;case'16':this[_0x456107(0xf3)+_0x456107(0x169)+'es']=[];continue;case'17':this[_0x456107(0x123)+_0x456107(0x11b)+'Pct']=0.5;continue;case'18':this['zscor'+_0x456107(0x114)+_0x456107(0xe6)+_0x456107(0x152)]=1.5;continue;case'19':this['tickV'+_0x456107(0x1a3)]=0x5;continue;case'20':super();continue;case'21':this[_0x456107(0x1dd)+_0x456107(0x1a2)+'er']=new Map();continue;case'22':this[_0x456107(0x101)+_0x456107(0x191)+'es']=new Map();continue;case'23':this['atrHi'+_0x456107(0x138)]=new Map();continue;case'24':this['lossS'+_0x456107(0x1ac)]=0x0;continue;case'25':this[_0x456107(0x1db)+_0x456107(0x138)]=new Map();continue;case'26':this[_0x456107(0x1d3)+_0x456107(0x1f7)]=0.25;continue;}break;}}[_0x4098a4(0x15c)+_0x4098a4(0x202)](_0x575882,_0x3a4238=0.25,_0x48cc4e=0x5){const _0x2c4712=_0x4098a4;this[_0x2c4712(0x1d3)+'ize']=_0x3a4238,this['tickV'+_0x2c4712(0x1a3)]=_0x48cc4e,this[_0x2c4712(0x1db)+'story'][_0x2c4712(0x1a1)](_0x575882,[]),this[_0x2c4712(0x160)+_0x2c4712(0x1e5)+'r'][_0x2c4712(0x1a1)](_0x575882,[]),this['volum'+_0x2c4712(0x10a)+'er'][_0x2c4712(0x1a1)](_0x575882,[]),this[_0x2c4712(0x1dd)+'sBuff'+'er'][_0x2c4712(0x1a1)](_0x575882,[]),this[_0x2c4712(0x116)+_0x2c4712(0x138)]['set'](_0x575882,[]),this[_0x2c4712(0x1dc)+_0x2c4712(0xdd)][_0x2c4712(0x1a1)](_0x575882,[]),this[_0x2c4712(0x20a)+'arTim'+'e'][_0x2c4712(0x1a1)](_0x575882,0x0);const _0x1f0c90={};_0x1f0c90[_0x2c4712(0x115)+_0x2c4712(0x200)]=0x0,_0x1f0c90[_0x2c4712(0x1e4)+_0x2c4712(0x1d1)+'iance']=0x1,this[_0x2c4712(0x101)+_0x2c4712(0x191)+'es']['set'](_0x575882,_0x1f0c90);}[_0x4098a4(0x14c)+'ssTic'+'k'](_0x181555){const _0x1bb122=_0x4098a4,_0x17b740={};_0x17b740[_0x1bb122(0x19c)]=function(_0x3eaa16,_0x253ecd){return _0x3eaa16>=_0x253ecd;},_0x17b740[_0x1bb122(0x119)]=function(_0x1fea64,_0x12813e){return _0x1fea64-_0x12813e;},_0x17b740['Yhjrr']=function(_0x14c656,_0x3ed05a){return _0x14c656>_0x3ed05a;},_0x17b740['IMzYX']=_0x1bb122(0xf0)+'l';const _0x32c325=_0x17b740,_0xb74982=_0x181555[_0x1bb122(0x185)+_0x1bb122(0x18b)];!this[_0x1bb122(0x1db)+_0x1bb122(0x138)]['has'](_0xb74982)&&this[_0x1bb122(0x15c)+_0x1bb122(0x202)](_0xb74982);let _0x3dc88e=this[_0x1bb122(0x1dc)+_0x1bb122(0xdd)]['get'](_0xb74982);_0x3dc88e['push'](_0x181555);const _0x135aba=Date[_0x1bb122(0x134)](),_0x446541=this[_0x1bb122(0x20a)+'arTim'+'e']['get'](_0xb74982);if(_0x32c325['URsif'](_0x32c325[_0x1bb122(0x119)](_0x135aba,_0x446541),this[_0x1bb122(0x201)+_0x1bb122(0x133)+_0x1bb122(0x1a8)])&&_0x32c325[_0x1bb122(0xf6)](_0x3dc88e['lengt'+'h'],0x0)){const _0x9dde5a=this[_0x1bb122(0x1b9)+_0x1bb122(0x18a)+_0x1bb122(0x1b4)+_0x1bb122(0x1f6)](_0x3dc88e,_0x135aba);this[_0x1bb122(0x1dc)+_0x1bb122(0xdd)][_0x1bb122(0x1a1)](_0xb74982,[]),this[_0x1bb122(0x20a)+_0x1bb122(0x137)+'e'][_0x1bb122(0x1a1)](_0xb74982,_0x135aba);if(_0x9dde5a){const _0x5aa433=this['proce'+'ssBar'](_0xb74982,_0x9dde5a);if(_0x5aa433)return this['emit'](_0x32c325[_0x1bb122(0x19e)],_0x5aa433),_0x5aa433;}}return null;}[_0x4098a4(0x1b9)+'egate'+_0x4098a4(0x1b4)+_0x4098a4(0x1f6)](_0x317129,_0x527c65){const _0x5a02ad=_0x4098a4,_0x47fa3f={};_0x47fa3f[_0x5a02ad(0x12e)]=function(_0x1e749e,_0x68ad2d){return _0x1e749e===_0x68ad2d;},_0x47fa3f[_0x5a02ad(0x16a)]=function(_0x593fa8,_0x4996d6){return _0x593fa8===_0x4996d6;},_0x47fa3f[_0x5a02ad(0x118)]=function(_0x1efe9f,_0x24767e){return _0x1efe9f>_0x24767e;},_0x47fa3f[_0x5a02ad(0xeb)]=function(_0x223b06,_0x34c2de){return _0x223b06-_0x34c2de;},_0x47fa3f[_0x5a02ad(0x1bf)]=function(_0x1c0750,_0x310a74){return _0x1c0750<_0x310a74;},_0x47fa3f[_0x5a02ad(0xd0)]=function(_0x1260b4,_0x2313ae){return _0x1260b4/_0x2313ae;};const _0x26a83c=_0x47fa3f;if(_0x26a83c[_0x5a02ad(0x12e)](_0x317129['lengt'+'h'],0x0))return null;const _0x31d6ef=_0x317129[_0x5a02ad(0x109)](_0x5655dc=>_0x5655dc[_0x5a02ad(0x160)])[_0x5a02ad(0x140)+'r'](_0x892a7=>_0x892a7!=null);if(_0x26a83c[_0x5a02ad(0x16a)](_0x31d6ef['lengt'+'h'],0x0))return null;let _0x34ade5=0x0,_0x483c32=0x0;for(let _0x32938d=0x1;_0x32938d<_0x317129['lengt'+'h'];_0x32938d++){const _0x3c9a5a=_0x317129[_0x32938d][_0x5a02ad(0xf4)+'e']||0x1;if(_0x26a83c[_0x5a02ad(0x118)](_0x317129[_0x32938d][_0x5a02ad(0x160)],_0x317129[_0x26a83c['iFymN'](_0x32938d,0x1)][_0x5a02ad(0x160)]))_0x34ade5+=_0x3c9a5a;else{if(_0x26a83c[_0x5a02ad(0x1bf)](_0x317129[_0x32938d][_0x5a02ad(0x160)],_0x317129[_0x26a83c[_0x5a02ad(0xeb)](_0x32938d,0x1)][_0x5a02ad(0x160)]))_0x483c32+=_0x3c9a5a;else _0x34ade5+=_0x26a83c[_0x5a02ad(0xd0)](_0x3c9a5a,0x2),_0x483c32+=_0x26a83c[_0x5a02ad(0xd0)](_0x3c9a5a,0x2);}}return{'timestamp':_0x527c65,'open':_0x31d6ef[0x0],'high':Math[_0x5a02ad(0xe4)](..._0x31d6ef),'low':Math[_0x5a02ad(0xf5)](..._0x31d6ef),'close':_0x31d6ef[_0x26a83c[_0x5a02ad(0xeb)](_0x31d6ef[_0x5a02ad(0x1d4)+'h'],0x1)],'volume':_0x317129[_0x5a02ad(0x11c)+'e']((_0xaa596a,_0x6d50ae)=>_0xaa596a+(_0x6d50ae[_0x5a02ad(0xf4)+'e']||0x1),0x0),'delta':_0x34ade5-_0x483c32,'tickCount':_0x317129[_0x5a02ad(0x1d4)+'h']};}[_0x4098a4(0x14c)+'ssBar'](_0x257e17,_0x406289){const _0x182f62=_0x4098a4,_0x1b7e8f={};_0x1b7e8f[_0x182f62(0x130)]=function(_0x69a70c,_0x1a404c){return _0x69a70c>_0x1a404c;},_0x1b7e8f[_0x182f62(0x1cd)]=function(_0x2b6843,_0x51e52e){return _0x2b6843-_0x51e52e;},_0x1b7e8f[_0x182f62(0x158)]=function(_0x32fc3e,_0x7309a7){return _0x32fc3e*_0x7309a7;},_0x1b7e8f[_0x182f62(0x1b6)]=function(_0x8819bd,_0x3d3cf3){return _0x8819bd-_0x3d3cf3;},_0x1b7e8f['SsByd']=function(_0x12623e,_0x333788){return _0x12623e<_0x333788;};const _0xe2ff56=_0x1b7e8f;let _0x3af9a7=this[_0x182f62(0x1db)+'story'][_0x182f62(0x1ca)](_0x257e17);!_0x3af9a7&&(this[_0x182f62(0x15c)+_0x182f62(0x202)](_0x257e17),_0x3af9a7=this[_0x182f62(0x1db)+_0x182f62(0x138)][_0x182f62(0x1ca)](_0x257e17));_0x3af9a7[_0x182f62(0x173)](_0x406289);if(_0xe2ff56[_0x182f62(0x130)](_0x3af9a7[_0x182f62(0x1d4)+'h'],0x1f4))_0x3af9a7[_0x182f62(0xf7)]();const _0x14c12e=this['price'+_0x182f62(0x1e5)+'r']['get'](_0x257e17);_0x14c12e[_0x182f62(0x173)](_0x406289[_0x182f62(0x16d)]);if(_0x14c12e[_0x182f62(0x1d4)+'h']>0xc8)_0x14c12e[_0x182f62(0xf7)]();const _0xe42d54=this[_0x182f62(0xf4)+_0x182f62(0x10a)+'er']['get'](_0x257e17),_0x1d9aad=_0xe2ff56[_0x182f62(0x1cd)](_0x406289[_0x182f62(0x1e9)],_0x406289[_0x182f62(0xff)]);let _0x323a50=_0x406289[_0x182f62(0xf4)+'e']*0.5,_0x1cf67d=_0xe2ff56['YPHMP'](_0x406289['volum'+'e'],0.5);if(_0x1d9aad>0x0){const _0x5f3f7a=_0xe2ff56[_0x182f62(0x1b6)](_0x406289['close'],_0x406289[_0x182f62(0xff)])/_0x1d9aad;_0x323a50=_0xe2ff56[_0x182f62(0x158)](_0x406289[_0x182f62(0xf4)+'e'],_0x5f3f7a),_0x1cf67d=_0xe2ff56['YPHMP'](_0x406289[_0x182f62(0xf4)+'e'],0x1-_0x5f3f7a);}const _0x988534={};_0x988534['buy']=_0x323a50,_0x988534[_0x182f62(0x1c1)]=_0x1cf67d,_0xe42d54['push'](_0x988534);if(_0xe42d54['lengt'+'h']>0x64)_0xe42d54[_0x182f62(0xf7)]();if(_0xe2ff56['SsByd'](_0x3af9a7['lengt'+'h'],0x32))return null;const _0xf38d81=this[_0x182f62(0x129)+_0x182f62(0x183)+_0x182f62(0x111)](_0x14c12e),_0x49b755=this['_comp'+_0x182f62(0xda)+'IN'](_0xe42d54),_0x45e87f=this[_0x182f62(0x129)+_0x182f62(0x208)+'leLam'+'bda'](_0x3af9a7),_0x3277fa=this['_appl'+_0x182f62(0x1d2)+_0x182f62(0x125)+_0x182f62(0x1ce)](_0x257e17,_0x406289[_0x182f62(0x16d)]),{regime:_0xdf2531,params:_0x35fd69}=this['_dete'+_0x182f62(0x1a7)+_0x182f62(0xe2)+'tyReg'+_0x182f62(0x1d8)](_0x257e17,_0x3af9a7),_0x160b99=this[_0x182f62(0x129)+'uteOr'+_0x182f62(0x174)+_0x182f62(0x1f8)+_0x182f62(0x14a)+'e'](_0x3af9a7);return this[_0x182f62(0x184)+_0x182f62(0xde)+_0x182f62(0x141)](_0x257e17,_0x406289['close'],_0xf38d81,_0x49b755,_0x45e87f,_0x3277fa,_0xdf2531,_0x35fd69,_0x160b99,_0x3af9a7);}[_0x4098a4(0x129)+_0x4098a4(0x183)+_0x4098a4(0x111)](_0x4ba1c0,_0x3b1d29=0x32){const _0x20fd74=_0x4098a4,_0x23009c={};_0x23009c['GPxUw']=function(_0x20900c,_0x5283e0){return _0x20900c<_0x5283e0;},_0x23009c[_0x20fd74(0x155)]=function(_0x4f75a8,_0x1c400d){return _0x4f75a8/_0x1c400d;},_0x23009c[_0x20fd74(0x19d)]=function(_0x5bb122,_0x2ab438){return _0x5bb122-_0x2ab438;};const _0xc6f772=_0x23009c;if(_0xc6f772[_0x20fd74(0xd4)](_0x4ba1c0['lengt'+'h'],_0x3b1d29))return 0x0;const _0x154bef=_0x4ba1c0[_0x20fd74(0x12d)](-_0x3b1d29),_0x2dd67c=_0x154bef[_0x20fd74(0x11c)+'e']((_0x178452,_0x59f13d)=>_0x178452+_0x59f13d,0x0)/_0x3b1d29,_0x43f249=_0x154bef['reduc'+'e']((_0x3e8d35,_0x18fdf9)=>_0x3e8d35+Math[_0x20fd74(0x10e)](_0x18fdf9-_0x2dd67c,0x2),0x0)/_0x3b1d29,_0x1f847d=Math[_0x20fd74(0xf9)](_0x43f249);if(_0xc6f772['GPxUw'](_0x1f847d,0.0001))return 0x0;return _0xc6f772['hycog'](_0xc6f772[_0x20fd74(0x19d)](_0x4ba1c0[_0x4ba1c0['lengt'+'h']-0x1],_0x2dd67c),_0x1f847d);}[_0x4098a4(0x129)+_0x4098a4(0xda)+'IN'](_0x4917a4){const _0x10455f=_0x4098a4,_0x38c9e9={};_0x38c9e9[_0x10455f(0x1a0)]=function(_0x3a0637,_0x10eb86){return _0x3a0637<_0x10eb86;},_0x38c9e9[_0x10455f(0x17f)]=function(_0x50a3d6,_0x12d2aa){return _0x50a3d6/_0x12d2aa;};const _0x29099e=_0x38c9e9;if(_0x4917a4[_0x10455f(0x1d4)+'h']<this[_0x10455f(0x199)+'indow'])return 0.5;const _0x83e799=_0x4917a4[_0x10455f(0x12d)](-this[_0x10455f(0x199)+_0x10455f(0x209)]);let _0x22e869=0x0,_0x45be5f=0x0;for(const _0x1ec407 of _0x83e799){_0x22e869+=_0x1ec407['buy'],_0x45be5f+=_0x1ec407[_0x10455f(0x1c1)];}const _0xa56b0b=_0x22e869+_0x45be5f;if(_0x29099e['FUhAG'](_0xa56b0b,0x1))return 0.5;return _0x29099e[_0x10455f(0x17f)](Math[_0x10455f(0x180)](_0x22e869-_0x45be5f),_0xa56b0b);}[_0x4098a4(0x129)+_0x4098a4(0x208)+_0x4098a4(0xfd)+'bda'](_0x41825c){const _0x3c0a62=_0x4098a4,_0x24bd34={};_0x24bd34[_0x3c0a62(0x15a)]=function(_0x3fd719,_0x392b31){return _0x3fd719<_0x392b31;},_0x24bd34[_0x3c0a62(0x161)]=function(_0x1dd5fd,_0x3fc3e0){return _0x1dd5fd-_0x3fc3e0;},_0x24bd34[_0x3c0a62(0xe9)]=function(_0x3d1a7e,_0x4a3fb6){return _0x3d1a7e/_0x4a3fb6;},_0x24bd34[_0x3c0a62(0x189)]=function(_0x178276,_0x4c3c2c){return _0x178276*_0x4c3c2c;},_0x24bd34[_0x3c0a62(0x1a9)]=function(_0x20efd0,_0xe37b17){return _0x20efd0<_0xe37b17;},_0x24bd34[_0x3c0a62(0xcc)]=function(_0x496db9,_0x26b7ba){return _0x496db9/_0x26b7ba;};const _0x473a45=_0x24bd34;if(_0x473a45[_0x3c0a62(0x15a)](_0x41825c[_0x3c0a62(0x1d4)+'h'],0x14))return 0x0;const _0xbd531e=_0x41825c[_0x3c0a62(0x12d)](-0x14),_0x1e251f=[],_0x28d42f=[];for(let _0x506d3b=0x1;_0x473a45[_0x3c0a62(0x15a)](_0x506d3b,_0xbd531e['lengt'+'h']);_0x506d3b++){_0x1e251f['push'](_0xbd531e[_0x506d3b]['close']-_0xbd531e[_0x473a45[_0x3c0a62(0x161)](_0x506d3b,0x1)][_0x3c0a62(0x16d)]),_0x28d42f[_0x3c0a62(0x173)](_0xbd531e[_0x506d3b][_0x3c0a62(0xf4)+'e']);}const _0x406207=_0x1e251f[_0x3c0a62(0x11c)+'e']((_0x56da2c,_0x35befa)=>_0x56da2c+_0x35befa,0x0)/_0x1e251f[_0x3c0a62(0x1d4)+'h'],_0xcbde22=_0x473a45[_0x3c0a62(0xe9)](_0x28d42f[_0x3c0a62(0x11c)+'e']((_0x48d650,_0x8616ba)=>_0x48d650+_0x8616ba,0x0),_0x28d42f[_0x3c0a62(0x1d4)+'h']);let _0xc370d4=0x0,_0xfff1bd=0x0;for(let _0x5a4465=0x0;_0x473a45[_0x3c0a62(0x15a)](_0x5a4465,_0x1e251f[_0x3c0a62(0x1d4)+'h']);_0x5a4465++){_0xc370d4+=_0x473a45[_0x3c0a62(0x189)](_0x473a45[_0x3c0a62(0x161)](_0x1e251f[_0x5a4465],_0x406207),_0x473a45[_0x3c0a62(0x161)](_0x28d42f[_0x5a4465],_0xcbde22)),_0xfff1bd+=Math['pow'](_0x473a45[_0x3c0a62(0x161)](_0x28d42f[_0x5a4465],_0xcbde22),0x2);}_0xc370d4/=_0x1e251f[_0x3c0a62(0x1d4)+'h'],_0xfff1bd/=_0x1e251f[_0x3c0a62(0x1d4)+'h'];if(_0x473a45[_0x3c0a62(0x1a9)](_0xfff1bd,0.0001))return 0x0;return Math[_0x3c0a62(0x180)](_0x473a45[_0x3c0a62(0xcc)](_0xc370d4,_0xfff1bd));}[_0x4098a4(0x1b1)+'yKalm'+_0x4098a4(0x125)+_0x4098a4(0x1ce)](_0x25fa9f,_0x47ca7e){const _0x282d92=_0x4098a4,_0x24df0d={};_0x24df0d['PKMCo']=function(_0x108d7d,_0xc74d06){return _0x108d7d+_0xc74d06;},_0x24df0d['OUvpI']=function(_0x35478f,_0x40ee02){return _0x35478f/_0x40ee02;},_0x24df0d[_0x282d92(0x1c8)]=function(_0x5eb8cb,_0x13c1ed){return _0x5eb8cb+_0x13c1ed;},_0x24df0d[_0x282d92(0x14e)]=function(_0x497fb9,_0x792104){return _0x497fb9+_0x792104;},_0x24df0d[_0x282d92(0x172)]=function(_0xbe8a4,_0x292802){return _0xbe8a4*_0x292802;},_0x24df0d[_0x282d92(0xdb)]=function(_0x2bd2d3,_0x37e6fd){return _0x2bd2d3-_0x37e6fd;},_0x24df0d[_0x282d92(0x108)]=function(_0x5af687,_0x3fe6fa){return _0x5af687-_0x3fe6fa;};const _0x3616c5=_0x24df0d;let _0x28fe0b=this[_0x282d92(0x101)+_0x282d92(0x191)+'es'][_0x282d92(0x1ca)](_0x25fa9f);if(!_0x28fe0b){const _0x3821ab={};return _0x3821ab['estim'+'ate']=_0x47ca7e,_0x3821ab[_0x282d92(0x1e4)+_0x282d92(0x1d1)+_0x282d92(0x20b)]=0x1,_0x28fe0b=_0x3821ab,this['kalma'+'nStat'+'es'][_0x282d92(0x1a1)](_0x25fa9f,_0x28fe0b),_0x47ca7e;}const _0xfcfc5f=_0x28fe0b['estim'+_0x282d92(0x200)],_0x4e3b43=_0x3616c5[_0x282d92(0x1cf)](_0x28fe0b[_0x282d92(0x1e4)+_0x282d92(0x1d1)+'iance'],this[_0x282d92(0x101)+_0x282d92(0x162)+_0x282d92(0x13f)+_0x282d92(0x1e1)]),_0x300b38=_0x3616c5['OUvpI'](_0x4e3b43,_0x3616c5[_0x282d92(0x1c8)](_0x4e3b43,this['kalma'+_0x282d92(0x1ab)+_0x282d92(0x1eb)+_0x282d92(0x170)+'se']));return _0x28fe0b[_0x282d92(0x115)+_0x282d92(0x200)]=_0x3616c5[_0x282d92(0x14e)](_0xfcfc5f,_0x3616c5[_0x282d92(0x172)](_0x300b38,_0x3616c5[_0x282d92(0xdb)](_0x47ca7e,_0xfcfc5f))),_0x28fe0b[_0x282d92(0x1e4)+_0x282d92(0x1d1)+_0x282d92(0x20b)]=_0x3616c5[_0x282d92(0x172)](_0x3616c5[_0x282d92(0x108)](0x1,_0x300b38),_0x4e3b43),_0x28fe0b[_0x282d92(0x115)+'ate'];}['_dete'+'ctVol'+_0x4098a4(0xe2)+_0x4098a4(0xd8)+_0x4098a4(0x1d8)](_0x47ccd8,_0x18fbec){const _0x32404b=_0x4098a4,_0x298ace={};_0x298ace[_0x32404b(0x165)]=function(_0x53749d,_0x2b4fba){return _0x53749d/_0x2b4fba;},_0x298ace['qJUaZ']=function(_0x398b93,_0x395e2e){return _0x398b93+_0x395e2e;},_0x298ace[_0x32404b(0xd6)]=function(_0x59950a,_0x35f0e2){return _0x59950a*_0x35f0e2;},_0x298ace[_0x32404b(0x1c4)]=function(_0x58dc75,_0x5eaead){return _0x58dc75-_0x5eaead;},_0x298ace[_0x32404b(0x1f2)]=function(_0x2130a8,_0x4fe905){return _0x2130a8/_0x4fe905;},_0x298ace['ofowt']=function(_0x4b44d3,_0x46cb46){return _0x4b44d3*_0x46cb46;},_0x298ace[_0x32404b(0x1fc)]=function(_0x1953e0,_0x166788){return _0x1953e0*_0x166788;},_0x298ace[_0x32404b(0xce)]=_0x32404b(0x150)+_0x32404b(0x176)+_0x32404b(0x1cb),_0x298ace[_0x32404b(0x1da)]='xhQhz',_0x298ace['fZGZs']=function(_0x5441b3,_0x16db82){return _0x5441b3===_0x16db82;},_0x298ace[_0x32404b(0x17e)]='spXHn',_0x298ace[_0x32404b(0x1d7)]=function(_0x102100,_0x4bc484){return _0x102100/_0x4bc484;},_0x298ace[_0x32404b(0x204)]=function(_0x6c5160,_0x58c6ed){return _0x6c5160<_0x58c6ed;},_0x298ace['CWdzv']=_0x32404b(0xff),_0x298ace[_0x32404b(0xcb)]=function(_0x644986,_0x21461b){return _0x644986<_0x21461b;},_0x298ace[_0x32404b(0x182)]='norma'+'l',_0x298ace['obSnR']=function(_0xd76e3e,_0x5efe5b){return _0xd76e3e===_0x5efe5b;},_0x298ace[_0x32404b(0xfb)]=_0x32404b(0x1fd),_0x298ace[_0x32404b(0x156)]=_0x32404b(0x1e9);const _0x59842a=_0x298ace,_0x3bcdcf=this['_calc'+'ulate'+'ATR'](_0x18fbec);let _0x2ce956=this['atrHi'+_0x32404b(0x138)][_0x32404b(0x1ca)](_0x47ccd8);if(!_0x2ce956){if(_0x59842a[_0x32404b(0x1da)]==='CBOCB'){let _0x29a3db=this[_0x32404b(0x101)+_0x32404b(0x191)+'es'][_0x32404b(0x1ca)](_0x7ecaeb);if(!_0x29a3db){const _0x5e1d4a={};return _0x5e1d4a['estim'+'ate']=_0x394132,_0x5e1d4a['error'+_0x32404b(0x1d1)+_0x32404b(0x20b)]=0x1,_0x29a3db=_0x5e1d4a,this[_0x32404b(0x101)+_0x32404b(0x191)+'es'][_0x32404b(0x1a1)](_0x417f1b,_0x29a3db),_0x365fe4;}const _0x5b4058=_0x29a3db['estim'+'ate'],_0x121d9c=_0x29a3db['error'+'Covar'+_0x32404b(0x20b)]+this['kalma'+'nProc'+_0x32404b(0x13f)+_0x32404b(0x1e1)],_0x1f0c14=_0x59842a[_0x32404b(0x165)](_0x121d9c,_0x59842a[_0x32404b(0x1bc)](_0x121d9c,this[_0x32404b(0x101)+_0x32404b(0x1ab)+_0x32404b(0x1eb)+'ntNoi'+'se']));return _0x29a3db[_0x32404b(0x115)+'ate']=_0x5b4058+_0x1f0c14*(_0x1fe33d-_0x5b4058),_0x29a3db[_0x32404b(0x1e4)+_0x32404b(0x1d1)+_0x32404b(0x20b)]=_0x59842a['bVYYc'](_0x59842a['YmcrB'](0x1,_0x1f0c14),_0x121d9c),_0x29a3db[_0x32404b(0x115)+_0x32404b(0x200)];}else _0x2ce956=[],this[_0x32404b(0x116)+_0x32404b(0x138)][_0x32404b(0x1a1)](_0x47ccd8,_0x2ce956);}_0x2ce956['push'](_0x3bcdcf);if(_0x2ce956[_0x32404b(0x1d4)+'h']>0x1f4)_0x2ce956[_0x32404b(0xf7)]();let _0x7f95d1=0.5;if(_0x2ce956['lengt'+'h']>=0x14){if(_0x59842a['fZGZs'](_0x59842a[_0x32404b(0x17e)],_0x59842a[_0x32404b(0x17e)]))_0x7f95d1=_0x59842a[_0x32404b(0x1d7)](_0x2ce956[_0x32404b(0x140)+'r'](_0x82cd41=>_0x82cd41<=_0x3bcdcf)['lengt'+'h'],_0x2ce956[_0x32404b(0x1d4)+'h']);else{const _0x2b2c02=_0x59842a['ZTHEG'](_0x9653a0[_0x32404b(0x16d)]-_0x1ea25c[_0x32404b(0xff)],_0x16c43f);_0x1f27ed+=_0x59842a[_0x32404b(0xea)](_0x2b2c02,_0x5a9c49[_0x32404b(0xf4)+'e']),_0x1c888e+=_0x59842a[_0x32404b(0x1fc)](_0x59842a['YmcrB'](0x1,_0x2b2c02),_0x3d1e6c[_0x32404b(0xf4)+'e']);}}let _0x2290ed,_0x503d29;if(_0x59842a[_0x32404b(0x204)](_0x7f95d1,0.25)){_0x2290ed=_0x59842a[_0x32404b(0x181)];const _0x4360c9={};_0x4360c9[_0x32404b(0x1e7)+_0x32404b(0x128)+_0x32404b(0x121)]=0.8,_0x4360c9[_0x32404b(0x11f)+_0x32404b(0xd5)+_0x32404b(0xfc)+'r']=0.9,_0x4360c9['zscor'+'eThre'+'shold']=1.2,_0x4360c9[_0x32404b(0x196)+_0x32404b(0x205)+_0x32404b(0x17d)]=0.05,_0x503d29=_0x4360c9;}else{if(_0x59842a[_0x32404b(0xcb)](_0x7f95d1,0.75)){_0x2290ed=_0x59842a[_0x32404b(0x182)];const _0x4da77b={};_0x4da77b[_0x32404b(0x1e7)+_0x32404b(0x128)+_0x32404b(0x121)]=0x1,_0x4da77b[_0x32404b(0x11f)+_0x32404b(0xd5)+_0x32404b(0xfc)+'r']=0x1,_0x4da77b[_0x32404b(0x17b)+_0x32404b(0x124)+'shold']=1.5,_0x4da77b[_0x32404b(0x196)+_0x32404b(0x205)+_0x32404b(0x17d)]=0x0,_0x503d29=_0x4da77b;}else{if(_0x59842a[_0x32404b(0x13a)](_0x32404b(0x1fd),_0x59842a[_0x32404b(0xfb)])){_0x2290ed=_0x59842a[_0x32404b(0x156)];const _0x44914c={};_0x44914c[_0x32404b(0x1e7)+'ultip'+_0x32404b(0x121)]=1.3,_0x44914c[_0x32404b(0x11f)+'tMult'+_0x32404b(0xfc)+'r']=1.2,_0x44914c[_0x32404b(0x17b)+_0x32404b(0x124)+_0x32404b(0x152)]=0x2,_0x44914c['confi'+_0x32404b(0x205)+_0x32404b(0x17d)]=-0.05,_0x503d29=_0x44914c;}else{const _0xaa3e2d=_0x59842a[_0x32404b(0xce)][_0x32404b(0x145)]('|');let _0x5f4a8b=0x0;while(!![]){switch(_0xaa3e2d[_0x5f4a8b++]){case'0':this['tickB'+'uffer']['set'](_0x1c2adc,[]);continue;case'1':this[_0x32404b(0xf4)+_0x32404b(0x10a)+'er'][_0x32404b(0x1a1)](_0x5a6cf9,[]);continue;case'2':this[_0x32404b(0x1dd)+_0x32404b(0x1a2)+'er'][_0x32404b(0x1a1)](_0x39e9c8,[]);continue;case'3':this['price'+_0x32404b(0x1e5)+'r'][_0x32404b(0x1a1)](_0x268ecd,[]);continue;case'4':this[_0x32404b(0x116)+_0x32404b(0x138)]['set'](_0x5c20d5,[]);continue;case'5':const _0x5a17c6={};_0x5a17c6[_0x32404b(0x115)+_0x32404b(0x200)]=0x0,_0x5a17c6[_0x32404b(0x1e4)+_0x32404b(0x1d1)+'iance']=0x1,this['kalma'+_0x32404b(0x191)+'es'][_0x32404b(0x1a1)](_0x12717b,_0x5a17c6);continue;case'6':this[_0x32404b(0x20a)+'arTim'+'e'][_0x32404b(0x1a1)](_0xfd1499,0x0);continue;case'7':this[_0x32404b(0x1db)+_0x32404b(0x138)][_0x32404b(0x1a1)](_0x19d57f,[]);continue;}break;}}}}const _0x58b4e4={};return _0x58b4e4['regim'+'e']=_0x2290ed,_0x58b4e4[_0x32404b(0x1ea)+'s']=_0x503d29,_0x58b4e4;}[_0x4098a4(0x1d0)+_0x4098a4(0xf1)+'ATR'](_0x7a1c99,_0x21d300=0xe){const _0x2a96e5=_0x4098a4,_0x1e6b8c={};_0x1e6b8c['rwTKh']=function(_0x41be4c,_0x5e5c7b){return _0x41be4c<_0x5e5c7b;},_0x1e6b8c[_0x2a96e5(0x1c5)]=function(_0x3b1afd,_0x5b51ad){return _0x3b1afd+_0x5b51ad;},_0x1e6b8c[_0x2a96e5(0x102)]=function(_0x2ce857,_0xd92aaa){return _0x2ce857-_0xd92aaa;},_0x1e6b8c[_0x2a96e5(0x131)]=function(_0x341641,_0x39c6d3){return _0x341641<_0x39c6d3;},_0x1e6b8c[_0x2a96e5(0x12f)]=function(_0x17abc1,_0x10e988){return _0x17abc1-_0x10e988;},_0x1e6b8c[_0x2a96e5(0xd1)]=function(_0x7bf7fd,_0x528025){return _0x7bf7fd/_0x528025;};const _0x96b84=_0x1e6b8c;if(_0x96b84[_0x2a96e5(0x178)](_0x7a1c99[_0x2a96e5(0x1d4)+'h'],_0x96b84[_0x2a96e5(0x1c5)](_0x21d300,0x1)))return 2.5;const _0xb47899=[];for(let _0x2b6016=_0x96b84[_0x2a96e5(0x102)](_0x7a1c99[_0x2a96e5(0x1d4)+'h'],_0x21d300);_0x96b84['oBhql'](_0x2b6016,_0x7a1c99[_0x2a96e5(0x1d4)+'h']);_0x2b6016++){const _0x5f4b60=_0x7a1c99[_0x2b6016],_0x3003be=_0x7a1c99[_0x2b6016-0x1][_0x2a96e5(0x16d)],_0x1ee65f=Math['max'](_0x96b84[_0x2a96e5(0x102)](_0x5f4b60['high'],_0x5f4b60[_0x2a96e5(0xff)]),Math[_0x2a96e5(0x180)](_0x5f4b60[_0x2a96e5(0x1e9)]-_0x3003be),Math[_0x2a96e5(0x180)](_0x96b84[_0x2a96e5(0x12f)](_0x5f4b60[_0x2a96e5(0xff)],_0x3003be)));_0xb47899['push'](_0x1ee65f);}return _0x96b84[_0x2a96e5(0xd1)](_0xb47899[_0x2a96e5(0x11c)+'e']((_0x3f5c17,_0x4902f5)=>_0x3f5c17+_0x4902f5,0x0),_0xb47899['lengt'+'h']);}[_0x4098a4(0x129)+_0x4098a4(0x15e)+_0x4098a4(0x174)+_0x4098a4(0x1f8)+'alanc'+'e'](_0x5e3263){const _0x4ccc91=_0x4098a4,_0x28a9ef={};_0x28a9ef['bxSOV']=function(_0x3c85b0,_0x2d95e6){return _0x3c85b0-_0x2d95e6;},_0x28a9ef[_0x4ccc91(0x1e3)]=function(_0x581b04,_0x494e2e){return _0x581b04*_0x494e2e;},_0x28a9ef['LNRBu']=function(_0xe30497,_0x553f6d){return _0xe30497<_0x553f6d;},_0x28a9ef['xercl']=function(_0x175615,_0x3d086f){return _0x175615>_0x3d086f;},_0x28a9ef[_0x4ccc91(0x188)]=function(_0x2042a7,_0x4b7639){return _0x2042a7/_0x4b7639;},_0x28a9ef[_0x4ccc91(0x1c2)]=function(_0x11eb51,_0xc1a177){return _0x11eb51-_0xc1a177;},_0x28a9ef['fxdsL']=function(_0x129143,_0x57a980){return _0x129143*_0x57a980;},_0x28a9ef['peklu']=function(_0x5e1d84,_0x282c03){return _0x5e1d84/_0x282c03;};const _0x1be8a8=_0x28a9ef;if(_0x1be8a8[_0x4ccc91(0x1e6)](_0x5e3263[_0x4ccc91(0x1d4)+'h'],this[_0x4ccc91(0x10d)+'okbac'+'k']))return 0x0;const _0x34a636=_0x5e3263[_0x4ccc91(0x12d)](-this[_0x4ccc91(0x10d)+_0x4ccc91(0x151)+'k']);let _0x2ad389=0x0,_0x3846fa=0x0;for(const _0x3d32b1 of _0x34a636){if(_0x4ccc91(0x1c3)===_0x4ccc91(0xee))_0x36dff8=_0x1be8a8[_0x4ccc91(0xd9)](_0x493521,_0x1be8a8[_0x4ccc91(0x1e3)](_0x103ad1,this[_0x4ccc91(0x1d3)+_0x4ccc91(0x1f7)])),_0x40b001=_0x59db5e+_0x8f24ec*this[_0x4ccc91(0x1d3)+_0x4ccc91(0x1f7)],_0x389ae7=_0x2593b9+this[_0x4ccc91(0x1fb)+_0x4ccc91(0x1ee)+_0x4ccc91(0x11a)]*this['tickS'+_0x4ccc91(0x1f7)],_0x481ba6=_0x40fd6f+_0x1be8a8[_0x4ccc91(0x1e3)](_0x34fc23*this['profi'+_0x4ccc91(0x11b)+'Pct'],this['tickS'+_0x4ccc91(0x1f7)]);else{const _0x378b4e=_0x1be8a8['bxSOV'](_0x3d32b1[_0x4ccc91(0x1e9)],_0x3d32b1[_0x4ccc91(0xff)]);if(_0x1be8a8[_0x4ccc91(0x1b5)](_0x378b4e,0x0)){const _0xd43772=_0x1be8a8['sXPnC'](_0x1be8a8[_0x4ccc91(0x1c2)](_0x3d32b1[_0x4ccc91(0x16d)],_0x3d32b1[_0x4ccc91(0xff)]),_0x378b4e);_0x2ad389+=_0x1be8a8[_0x4ccc91(0x1e3)](_0xd43772,_0x3d32b1[_0x4ccc91(0xf4)+'e']),_0x3846fa+=_0x1be8a8['fxdsL'](_0x1be8a8[_0x4ccc91(0xd9)](0x1,_0xd43772),_0x3d32b1['volum'+'e']);}}}const _0x47d235=_0x2ad389+_0x3846fa;if(_0x47d235<0x1)return 0x0;return _0x1be8a8[_0x4ccc91(0x17a)](_0x1be8a8['AqIgR'](_0x2ad389,_0x3846fa),_0x47d235);}[_0x4098a4(0x184)+_0x4098a4(0xde)+_0x4098a4(0x141)](_0x6b69f4,_0x20c40b,_0x27480b,_0x4da9ba,_0x3f7d61,_0x58a72f,_0xe18e41,_0x510aaa,_0x54f643,_0x2f9e68){const _0x4c4a20=_0x4098a4,_0x13e466={'PhDbz':function(_0x46d133,_0x5b413c){return _0x46d133>_0x5b413c;},'bwqbQ':_0x4c4a20(0x1e8),'UYJdy':function(_0x233c49,_0x1eab8c){return _0x233c49>_0x1eab8c;},'eMcIr':_0x4c4a20(0x142),'GrZya':function(_0x2c8153,_0x18a753){return _0x2c8153===_0x18a753;},'eJjrA':function(_0x563c79,_0x3fddcf){return _0x563c79===_0x3fddcf;},'jhovx':function(_0x84c5ad,_0x151cdc){return _0x84c5ad<_0x151cdc;},'xTqpH':function(_0x214811,_0xf9868f){return _0x214811>_0xf9868f;},'KdseJ':function(_0x1f4609,_0x5d148f){return _0x1f4609/_0x5d148f;},'UhicH':function(_0x21f5cf,_0x20596d){return _0x21f5cf>_0x20596d;},'hktRx':function(_0x1950b5,_0x3a11bf){return _0x1950b5===_0x3a11bf;},'upaEF':_0x4c4a20(0x1e2)+'l','AiDdv':function(_0x56e4c4,_0x30d404){return _0x56e4c4+_0x30d404;},'IDrMK':function(_0x1a251e,_0x134806){return _0x1a251e+_0x134806;},'NFeyl':function(_0x4523b1,_0x421442){return _0x4523b1*_0x421442;},'nKMry':function(_0x42aaab,_0x23bab6){return _0x42aaab*_0x23bab6;},'PaKWT':function(_0x2ca757,_0x15bc15){return _0x2ca757*_0x15bc15;},'vyAOT':function(_0x494c89,_0x2aa83b){return _0x494c89*_0x2aa83b;},'KKceo':function(_0x465cbe,_0x1bcb2d){return _0x465cbe*_0x1bcb2d;},'GkBhU':function(_0x3f4060,_0x387dd5){return _0x3f4060+_0x387dd5;},'BgJXl':function(_0x214757,_0x345d21){return _0x214757*_0x345d21;},'RgwOr':function(_0x2d5ac4,_0x1dc62a){return _0x2d5ac4*_0x1dc62a;},'dzgcV':function(_0x2ccc32,_0x3149bf){return _0x2ccc32*_0x3149bf;},'PyJzZ':function(_0x3cb1a7,_0x1f14f4){return _0x3cb1a7-_0x1f14f4;},'CtCNz':function(_0x1408dd,_0x2a376d){return _0x1408dd*_0x2a376d;},'gzGJh':function(_0x46f205,_0xb42e64){return _0x46f205+_0xb42e64;},'IUZas':function(_0x5a4572,_0xe8e398){return _0x5a4572+_0xe8e398;},'UkdzO':function(_0x1f5cdf,_0x52932e){return _0x1f5cdf*_0x52932e;},'HOCOx':function(_0x55832d,_0x5ba9e0){return _0x55832d*_0x5ba9e0;},'iATBq':function(_0xb5de5b,_0x5b3f61){return _0xb5de5b-_0x5b3f61;},'aQPGB':function(_0x560033,_0x74d3be){return _0x560033-_0x74d3be;},'bbdYU':function(_0x10fc97,_0xf30ab2){return _0x10fc97*_0xf30ab2;},'BkTDw':function(_0x21804d,_0xeb7ca9){return _0x21804d/_0xeb7ca9;},'MqOgG':function(_0x3a73fb,_0x2dfc49){return _0x3a73fb*_0x2dfc49;},'EUYBt':function(_0x5a3940,_0x5c5474){return _0x5a3940*_0x5c5474;},'FwKYP':function(_0x1ed6b7,_0x10150e){return _0x1ed6b7>=_0x10150e;},'YPndm':function(_0x3a410c,_0x21a352){return _0x3a410c*_0x21a352;},'XwRnq':function(_0x169f20,_0x4bfccd){return _0x169f20-_0x4bfccd;},'HyoTS':function(_0x47f649){return _0x47f649();},'vwjSh':function(_0x107559,_0x16e15d){return _0x107559(_0x16e15d);}},_0x1a5264=Math[_0x4c4a20(0x180)](_0x27480b);if(_0x1a5264<_0x510aaa[_0x4c4a20(0x17b)+_0x4c4a20(0x124)+_0x4c4a20(0x152)])return null;if(_0x13e466['PhDbz'](_0x4da9ba,this[_0x4c4a20(0x13b)+_0x4c4a20(0x10b)+_0x4c4a20(0x1cc)+_0x4c4a20(0xfa)]))return null;let _0x5f4447;if(_0x27480b<-_0x510aaa[_0x4c4a20(0x17b)+_0x4c4a20(0x124)+_0x4c4a20(0x152)])_0x5f4447=_0x13e466[_0x4c4a20(0x104)];else{if(_0x13e466['UYJdy'](_0x27480b,_0x510aaa[_0x4c4a20(0x17b)+_0x4c4a20(0x124)+_0x4c4a20(0x152)]))_0x5f4447=_0x13e466['eMcIr'];else return null;}const _0x184b92=_0x13e466[_0x4c4a20(0x1ff)](_0x5f4447,_0x13e466[_0x4c4a20(0x104)])&&_0x13e466[_0x4c4a20(0x11d)](_0x54f643,0.1)||_0x13e466[_0x4c4a20(0xd3)](_0x5f4447,_0x13e466[_0x4c4a20(0x19a)])&&_0x13e466[_0x4c4a20(0x175)](_0x54f643,-0.1),_0x19328f=_0x20c40b-_0x58a72f,_0x2786a6=_0x13e466[_0x4c4a20(0xd3)](_0x5f4447,_0x13e466[_0x4c4a20(0x104)])&&_0x13e466[_0x4c4a20(0x175)](_0x19328f,0x0)||_0x5f4447===_0x13e466[_0x4c4a20(0x19a)]&&_0x13e466[_0x4c4a20(0xcd)](_0x19328f,0x0),_0x104f8f={'zscore':Math['min'](0x1,_0x13e466['KdseJ'](_0x1a5264,0x4)),'vpin':0x1-_0x4da9ba,'kyleLambda':_0x13e466[_0x4c4a20(0x18d)](_0x3f7d61,0.001)?0.5:0.8,'kalman':_0x2786a6?0.8:0.4,'volatility':_0x13e466[_0x4c4a20(0x1d9)](_0xe18e41,_0x13e466['upaEF'])?0.8:_0x13e466['hktRx'](_0xe18e41,_0x4c4a20(0xff))?0.7:0.6,'ofi':_0x184b92?0.9:0.5,'composite':0x0};_0x104f8f[_0x4c4a20(0x157)+'site']=_0x13e466[_0x4c4a20(0x1f0)](_0x13e466['AiDdv'](_0x13e466['AiDdv'](_0x13e466['IDrMK'](_0x13e466[_0x4c4a20(0x1a5)](_0x104f8f[_0x4c4a20(0x17b)+'e'],0.3),_0x13e466[_0x4c4a20(0x12b)](_0x104f8f[_0x4c4a20(0x16f)],0.15)),_0x104f8f[_0x4c4a20(0xe5)+_0x4c4a20(0xcf)]*0.1),_0x13e466[_0x4c4a20(0x1ad)](_0x104f8f[_0x4c4a20(0x101)+'n'],0.15))+_0x13e466['vyAOT'](_0x104f8f[_0x4c4a20(0x1f5)+_0x4c4a20(0x1bd)],0.1),_0x13e466[_0x4c4a20(0x18e)](_0x104f8f[_0x4c4a20(0x14b)],0.2));const _0x4dfcf2=Math[_0x4c4a20(0xf5)](0x1,_0x13e466[_0x4c4a20(0xe0)](_0x104f8f[_0x4c4a20(0x157)+_0x4c4a20(0x15d)],_0x510aaa[_0x4c4a20(0x196)+_0x4c4a20(0x205)+'Bonus']));if(_0x13e466[_0x4c4a20(0x175)](_0x4dfcf2,0.55))return null;const _0x12fc48=Math[_0x4c4a20(0x117)](_0x13e466[_0x4c4a20(0x168)](this[_0x4c4a20(0x17c)+_0x4c4a20(0xe7)+_0x4c4a20(0x1b3)],_0x510aaa[_0x4c4a20(0x1e7)+_0x4c4a20(0x128)+_0x4c4a20(0x121)])),_0x4a46d4=Math['round'](_0x13e466[_0x4c4a20(0x1de)](this['baseT'+_0x4c4a20(0x113)+_0x4c4a20(0x1b4)],_0x510aaa[_0x4c4a20(0x11f)+'tMult'+_0x4c4a20(0xfc)+'r'])),_0x56f291=Math['max'](0x6,Math[_0x4c4a20(0xf5)](0xc,_0x12fc48)),_0x5d5437=Math[_0x4c4a20(0xe4)](_0x13e466['dzgcV'](_0x56f291,1.5),Math['min'](0x18,_0x4a46d4));let _0x360554,_0x522b8e,_0x5419c7,_0x9d3569;_0x13e466[_0x4c4a20(0x1ff)](_0x5f4447,_0x13e466[_0x4c4a20(0x104)])?(_0x360554=_0x13e466[_0x4c4a20(0x164)](_0x20c40b,_0x13e466[_0x4c4a20(0x135)](_0x56f291,this[_0x4c4a20(0x1d3)+_0x4c4a20(0x1f7)])),_0x522b8e=_0x13e466[_0x4c4a20(0x15b)](_0x20c40b,_0x13e466[_0x4c4a20(0x1ad)](_0x5d5437,this[_0x4c4a20(0x1d3)+_0x4c4a20(0x1f7)])),_0x5419c7=_0x13e466[_0x4c4a20(0x13c)](_0x20c40b,_0x13e466[_0x4c4a20(0x136)](this['break'+_0x4c4a20(0x1ee)+'icks'],this['tickS'+_0x4c4a20(0x1f7)])),_0x9d3569=_0x20c40b+_0x13e466[_0x4c4a20(0x1fe)](_0x13e466[_0x4c4a20(0x18e)](_0x5d5437,this[_0x4c4a20(0x123)+_0x4c4a20(0x11b)+_0x4c4a20(0x18f)]),this[_0x4c4a20(0x1d3)+_0x4c4a20(0x1f7)])):(_0x360554=_0x13e466[_0x4c4a20(0x15b)](_0x20c40b,_0x13e466[_0x4c4a20(0x12b)](_0x56f291,this['tickS'+_0x4c4a20(0x1f7)])),_0x522b8e=_0x13e466[_0x4c4a20(0xed)](_0x20c40b,_0x5d5437*this[_0x4c4a20(0x1d3)+_0x4c4a20(0x1f7)]),_0x5419c7=_0x13e466['aQPGB'](_0x20c40b,_0x13e466[_0x4c4a20(0x1de)](this[_0x4c4a20(0x1fb)+'evenT'+_0x4c4a20(0x11a)],this[_0x4c4a20(0x1d3)+'ize'])),_0x9d3569=_0x13e466[_0x4c4a20(0x186)](_0x20c40b,_0x13e466['bbdYU'](_0x13e466[_0x4c4a20(0x12c)](_0x5d5437,this[_0x4c4a20(0x123)+_0x4c4a20(0x11b)+_0x4c4a20(0x18f)]),this['tickS'+_0x4c4a20(0x1f7)])));const _0x17c1f4=_0x13e466['BkTDw'](_0x5d5437,_0x56f291),_0x4c4a14=Math['round'](_0x13e466[_0x4c4a20(0x1f1)](_0x5d5437,0.5)),_0x59194f=Math[_0x4c4a20(0x117)](_0x13e466[_0x4c4a20(0x167)](_0x56f291,0.4));let _0x1ef5d9=SignalStrength[_0x4c4a20(0x16b)+'ATE'];if(_0x4dfcf2>=0.85)_0x1ef5d9=SignalStrength['VERY_'+_0x4c4a20(0x1ef)+'G'];else{if(_0x13e466[_0x4c4a20(0x103)](_0x4dfcf2,0.75))_0x1ef5d9=SignalStrength[_0x4c4a20(0x1ef)+'G'];else{if(_0x4dfcf2<0.6)_0x1ef5d9=SignalStrength[_0x4c4a20(0x1b7)];}}const _0x2b655e=_0x13e466[_0x4c4a20(0x1f0)](0.5,_0x13e466[_0x4c4a20(0x1fe)](_0x4dfcf2-0.5,0.4)),_0x27e4ab=_0x13e466['YPndm'](_0x2b655e,Math[_0x4c4a20(0x180)](_0x13e466[_0x4c4a20(0x186)](_0x522b8e,_0x20c40b)))-_0x13e466[_0x4c4a20(0x171)](0x1,_0x2b655e)*Math[_0x4c4a20(0x180)](_0x20c40b-_0x360554);return{'id':_0x13e466[_0x4c4a20(0x15f)](uuidv4),'timestamp':Date[_0x4c4a20(0x134)](),'symbol':_0x13e466[_0x4c4a20(0x203)](extractBaseSymbol,_0x6b69f4),'contractId':_0x6b69f4,'side':_0x13e466['eJjrA'](_0x5f4447,_0x13e466['bwqbQ'])?OrderSide[_0x4c4a20(0xe3)]:OrderSide[_0x4c4a20(0x159)],'direction':_0x5f4447,'strategy':_0x4c4a20(0x195)+_0x4c4a20(0x112)+_0x4c4a20(0xec)+_0x4c4a20(0x1a4),'strength':_0x1ef5d9,'edge':_0x27e4ab,'confidence':_0x4dfcf2,'entry':_0x20c40b,'entryPrice':_0x20c40b,'stopLoss':_0x360554,'takeProfit':_0x522b8e,'riskReward':_0x17c1f4,'stopTicks':_0x56f291,'targetTicks':_0x5d5437,'trailTriggerTicks':_0x4c4a14,'trailDistanceTicks':_0x59194f,'beBreakeven':_0x5419c7,'profitLockLevel':_0x9d3569,'zScore':_0x27480b,'zScoreExit':this[_0x4c4a20(0x17b)+'eExit'+_0x4c4a20(0x1c7)+_0x4c4a20(0x1e0)],'vpinValue':_0x4da9ba,'kyleLambda':_0x3f7d61,'kalmanEstimate':_0x58a72f,'volatilityRegime':_0xe18e41,'ofiValue':_0x54f643,'models':_0x104f8f};}[_0x4098a4(0x14f)+_0x4098a4(0x193)+'ByZSc'+_0x4098a4(0x10f)](_0x2fd9b0){const _0xb339a1=_0x4098a4,_0x4a1b07={};_0x4a1b07[_0xb339a1(0x143)]=function(_0x5bdcdf,_0x54405c){return _0x5bdcdf<_0x54405c;},_0x4a1b07[_0xb339a1(0x12a)]=function(_0x2afd70,_0x16f09b){return _0x2afd70<_0x16f09b;};const _0x1008cd=_0x4a1b07,_0x567b12=this[_0xb339a1(0x160)+_0xb339a1(0x1e5)+'r'][_0xb339a1(0x1ca)](_0x2fd9b0);if(!_0x567b12||_0x1008cd['uQAea'](_0x567b12['lengt'+'h'],0x32))return![];const _0x44461c=this[_0xb339a1(0x129)+_0xb339a1(0x183)+_0xb339a1(0x111)](_0x567b12);return _0x1008cd['VSxDh'](Math[_0xb339a1(0x180)](_0x44461c),this[_0xb339a1(0x17b)+'eExit'+_0xb339a1(0x1c7)+'hold']);}[_0x4098a4(0x153)+_0x4098a4(0xef)+_0x4098a4(0x148)](_0x81b21d){const _0x1c15c9=_0x4098a4,_0x2c7582={};_0x2c7582[_0x1c15c9(0x1d6)]=function(_0x445f8b,_0x1c1629){return _0x445f8b||_0x1c1629;},_0x2c7582[_0x1c15c9(0x1f3)]=function(_0xfbac31,_0x35e4a9){return _0xfbac31<_0x35e4a9;},_0x2c7582['txryE']=function(_0x5afff0,_0x1f71ff){return _0x5afff0*_0x1f71ff;},_0x2c7582[_0x1c15c9(0x1fa)]=function(_0x4fddd1,_0x5cdcc3){return _0x4fddd1+_0x5cdcc3;},_0x2c7582[_0x1c15c9(0xd2)]=function(_0x2114cf,_0x50f5a3){return _0x2114cf*_0x50f5a3;};const _0x136ee5=_0x2c7582,_0x253611=this[_0x1c15c9(0x160)+_0x1c15c9(0x1e5)+'r'][_0x1c15c9(0x1ca)](_0x81b21d),_0x567ba4=this['volum'+_0x1c15c9(0x10a)+'er']['get'](_0x81b21d),_0x20c113=this[_0x1c15c9(0x1db)+'story'][_0x1c15c9(0x1ca)](_0x81b21d);if(_0x136ee5[_0x1c15c9(0x1d6)](!_0x253611,!_0x567ba4)||!_0x20c113||_0x136ee5[_0x1c15c9(0x1f3)](_0x20c113[_0x1c15c9(0x1d4)+'h'],0x32))return null;return{'zscore':this[_0x1c15c9(0x129)+_0x1c15c9(0x183)+_0x1c15c9(0x111)](_0x253611)[_0x1c15c9(0x132)+'ed'](0x2),'vpin':_0x136ee5['txryE'](this[_0x1c15c9(0x129)+_0x1c15c9(0xda)+'IN'](_0x567ba4),0x64)[_0x1c15c9(0x132)+'ed'](0x1)+'%','ofi':_0x136ee5['fFPNR'](_0x136ee5[_0x1c15c9(0xd2)](this[_0x1c15c9(0x129)+'uteOr'+'derFl'+_0x1c15c9(0x1f8)+_0x1c15c9(0x14a)+'e'](_0x20c113),0x64)[_0x1c15c9(0x132)+'ed'](0x1),'%'),'bars':_0x20c113[_0x1c15c9(0x1d4)+'h']};}[_0x4098a4(0x1af)+'dTrad'+'eResu'+'lt'](_0x340c8d){const _0x484498=_0x4098a4,_0x144474={};_0x144474['wroMx']=function(_0x2e22cb,_0xe9bdaf){return _0x2e22cb>_0xe9bdaf;};const _0x486d14=_0x144474;this[_0x484498(0xf3)+_0x484498(0x169)+'es'][_0x484498(0x173)]({'pnl':_0x340c8d,'timestamp':Date[_0x484498(0x134)]()});if(this['recen'+_0x484498(0x169)+'es'][_0x484498(0x1d4)+'h']>0x64)this['recen'+'tTrad'+'es'][_0x484498(0xf7)]();_0x486d14[_0x484498(0x120)](_0x340c8d,0x0)?(this[_0x484498(0x198)+_0x484498(0x147)]++,this['lossS'+_0x484498(0x1ac)]=0x0):(this[_0x484498(0x1b0)+_0x484498(0x1ac)]++,this[_0x484498(0x198)+_0x484498(0x147)]=0x0);}[_0x4098a4(0xf8)+_0x4098a4(0x1bb)+_0x4098a4(0x1be)](_0x3f3836){const _0x5cc4f4=_0x4098a4;return this['barHi'+_0x5cc4f4(0x138)][_0x5cc4f4(0x1ca)](_0x3f3836)||[];}[_0x4098a4(0x10c)](_0x5848ea){const _0x2acb6f=_0x4098a4,_0x178d1d={};_0x178d1d['gVehL']='1|2|4'+_0x2acb6f(0x192)+_0x2acb6f(0x127);const _0x2c5060=_0x178d1d,_0x47dfa8=_0x2c5060[_0x2acb6f(0x126)][_0x2acb6f(0x145)]('|');let _0x8c1afa=0x0;while(!![]){switch(_0x47dfa8[_0x8c1afa++]){case'0':this[_0x2acb6f(0x1dd)+_0x2acb6f(0x1a2)+'er'][_0x2acb6f(0x1a1)](_0x5848ea,[]);continue;case'1':this[_0x2acb6f(0x1db)+_0x2acb6f(0x138)]['set'](_0x5848ea,[]);continue;case'2':this[_0x2acb6f(0x160)+'Buffe'+'r']['set'](_0x5848ea,[]);continue;case'3':this[_0x2acb6f(0x20a)+_0x2acb6f(0x137)+'e'][_0x2acb6f(0x1a1)](_0x5848ea,0x0);continue;case'4':this[_0x2acb6f(0xf4)+'eBuff'+'er'][_0x2acb6f(0x1a1)](_0x5848ea,[]);continue;case'5':this[_0x2acb6f(0x1dc)+'uffer'][_0x2acb6f(0x1a1)](_0x5848ea,[]);continue;case'6':const _0x425e5a={};_0x425e5a[_0x2acb6f(0x115)+_0x2acb6f(0x200)]=0x0,_0x425e5a['error'+_0x2acb6f(0x1d1)+_0x2acb6f(0x20b)]=0x1,this[_0x2acb6f(0x101)+'nStat'+'es'][_0x2acb6f(0x1a1)](_0x5848ea,_0x425e5a);continue;case'7':this[_0x2acb6f(0x116)+_0x2acb6f(0x138)][_0x2acb6f(0x1a1)](_0x5848ea,[]);continue;}break;}}}const M1=new HQXUltraScalpingStrategy(),_0x5d3be7={};_0x5d3be7['M1']=M1,_0x5d3be7[_0x4098a4(0xe1)+_0x4098a4(0x16e)+_0x4098a4(0xdf)+_0x4098a4(0x1c9)+_0x4098a4(0x1df)]=HQXUltraScalpingStrategy,_0x5d3be7[_0x4098a4(0x1f4)+_0x4098a4(0x1ed)]=OrderSide,_0x5d3be7['Signa'+_0x4098a4(0x14d)+_0x4098a4(0x144)]=SignalStrength,module[_0x4098a4(0x100)+'ts']=_0x5d3be7;
|
package/package.json
CHANGED
|
@@ -173,6 +173,7 @@ const launchAlgo = async (service, account, contract, config) => {
|
|
|
173
173
|
const contractId = contract.id;
|
|
174
174
|
const connectionType = account.platform || 'ProjectX';
|
|
175
175
|
const tickSize = contract.tickSize || 0.25;
|
|
176
|
+
const tickValue = contract.tickValue || 5.0;
|
|
176
177
|
|
|
177
178
|
const ui = new AlgoUI({ subtitle: 'HQX Ultra Scalping', mode: 'one-account' });
|
|
178
179
|
|
|
@@ -200,9 +201,9 @@ const launchAlgo = async (service, account, contract, config) => {
|
|
|
200
201
|
let pendingOrder = false; // Prevent duplicate orders
|
|
201
202
|
let tickCount = 0;
|
|
202
203
|
|
|
203
|
-
// Initialize Strategy
|
|
204
|
-
const strategy =
|
|
205
|
-
strategy.initialize(contractId, tickSize);
|
|
204
|
+
// Initialize Strategy (M1 is singleton instance)
|
|
205
|
+
const strategy = M1;
|
|
206
|
+
strategy.initialize(contractId, tickSize, tickValue);
|
|
206
207
|
|
|
207
208
|
// Initialize Market Data Feed
|
|
208
209
|
const marketFeed = new MarketDataFeed({ propfirm: account.propfirm });
|