let [s] = (new URLSearchParams(location.search)).keys();
let urlSim = new URL('https://portal.tradeville.ro/portal/trading.htm?simbol='+s);
const CURsearchParams = new URL(location.href).searchParams;
for (const [k, v] of CURsearchParams) if(k.substring(0,4)=='utm_') {urlSim.searchParams.append(k, v)}
let url =
"https://app.tradeville.ro/simbol/?apn=ro.tradeville.pf3"
+"&afl="+encodeURIComponent(urlSim.href)
+"&amv=40703"
+"&ibi=ro.tradeville.pf3"
+"&ifl="+encodeURIComponent(urlSim.href)
+"&imv=4.7.3"
+"&link="+encodeURIComponent(urlSim.href);
location = url;