1views = { 2 events: { 3 "algo-trading-cpp-20-ranges": { 4 "tag": "webinar-04-signup", 5 "time": "26 Apr 2022 17:00:00 UTC", 6 }, 7 "cpp-concepts-low-latency-algo-trading": { 8 "tag": "webinar-05-signup", 9 "time": "04 Oct 2022 17:00:00 UTC", 10 }, 11 "machine-learning-ai-algo-trading": { 12 "tag": "webinar-06-signup", 13 "time": "25 Oct 2022 11:00:00 UTC", 14 }, 15 "cpp-python-algo-trading": { 16 "tag": "webinar-07-signup", 17 "time": "20 Dec 2022 18:00:00 UTC", 18 }, 19 "getting-job-offer-high-frequency-trading-firm": { 20 "tag": "webinar-08-signup", 21 "time": "28 Feb 2023 18:00:00 UTC", 22 }, 23 "algorithmic-trading-with-python": { 24 "tag": "webinar-09-signup", 25 "time": "21 Mar 2023 18:00:00 UTC", 26 }, 27 "algorithmic-trading-with-python-part-2": { 28 "tag": "webinar-10-signup", 29 "time": "12 Apr 2023 11:00:00 UTC", 30 }, 31 "algorithmic-trading-with-python-part-3": { 32 "tag": "webinar-11-signup", 33 "time": "10 May 2023 11:00:00 UTC", 34 }, 35 "create-your-first-trading-bot": { 36 "tag": "webinar-12-signup", 37 "time": "13 Nov 2023 13:00:00 UTC", 38 }, 39 "algorithmic-trading-with-external-signals": { 40 "tag": "webinar-13-signup", 41 "time": "4 Apr 2023 06:00:00 UTC", 42 }, 43 "algorithmic-trading-with-calculated-signals": { 44 "tag": "webinar-14-signup", 45 "time": "18 May 2023 06:00:00 UTC", 46 }, 47 "backtesting-for-algorithmic-trading": { 48 "tag": "webinar-15-signup", 49 "time": "30 Jun 2023 06:00:00 UTC", 50 }, 51 "efinancialcareers-one-to-one-interview": { 52 "tag": "webinar-16-signup", 53 "time": "2 Feb 2023 15:00:00 UTC", 54 }, 55 "algorithmic-trading-rsi-strategy": { 56 "tag": "webinar-17-signup", 57 "time": "11 Nov 2020 19:30:00 UTC", 58 }, 59 "algorithmic-trading-with-kotlin": { 60 "tag": "webinar-18-signup", 61 "time": "16 Dec 2020 11:30:00 UTC", 62 }, 63 "algorithmic-bitmex-trading-with-cpp": { 64 "tag": "webinar-19-signup", 65 "time": "28 Jan 2021 12:00:00 UTC", 66 }, 67 "getting-started-with-trading-bots": { 68 "tag": "webinar-20-signup", 69 "time": "8 Dec 2023 10:00:00 UTC", 70 }, 71 "how-to-start-a-systematic-trading-fund": { 72 "tag": "webinar-21-signup", 73 "time": "27 Jun 2024 16:00:00 UTC", 74 } 75 }, 76 77 get event () { 78 return this.events[utils.page.slice(-1)[0]] 79 }, 80 81 get details () { 82 return document.getElementById("event-details") 83 }, 84} 85 86const { pathname } = new URL(window.location.href); 87const page = pathname.replace(".html", "").split("/"); 88const event = views.events[page[page.length-1]]; 89 90if (views.event != null) { 91 utils.makeGetRequest( 92 "event-signup-form", 93 { 94 event_time: views.event.time, 95 event_tag: views.event.tag, 96 time_zone: utils.timezone 97 }, 98 content => { 99 views.details.innerHTML = content; 100 const countdown = document.getElementById("countdown"); 101 if (countdown !== null) { 102 const second = 1000; 103 const minute = second * 60; 104 const hour = minute * 60; 105 const day = hour * 24; 106 107 const eventTime = new Date(countdown.getAttribute("data-event-time")).getTime(); 108 109 let timer = setInterval(function() { 110 const now = new Date().getTime(); 111 const distance = eventTime - now; 112 113 document.getElementById("days").innerText = Math.max(0, Math.floor(distance / day)) 114 document.getElementById("hours").innerText = Math.max(0, Math.floor((distance % day) / hour)) 115 document.getElementById("minutes").innerText = Math.max(0, Math.floor((distance % hour) / minute)) 116 document.getElementById("seconds").innerText = Math.max(0, Math.floor((distance % minute) / second)) 117 118 if (distance < 0) { 119 document.getElementById("cta-text").innerText = "Watch Replay" 120 document.getElementById("cta-form").innerText = "Fill the form below to get a link to the replay." 121 clearInterval(timer); 122 } 123 }, 0) 124 } 125 } 126 ) 127} 128 129 130function submitEventRegistration() { 131 $("#submit-button").html(`<i class="fa fa-cog fa-spin fa-fw mr-1"></i> Submitting`) 132 utils.makePostRequest( 133 "event-signup", 134 { 135 email: $("#participant-email").val(), 136 first_name: $("#participant-name").val(), 137 event_tag: $("#event-id").val(), 138 }, 139 x => { 140 $("#signup-form").css("display", "none") 141 $("#signup-form-failed").css("display", "none") 142 $("#signup-form-success").css("display", "block") 143 $("#submit-button").html(`Register`) 144 }, 145 x => { 146 $("#signup-form-failed").css("display", "block") 147 $("#submit-button").html(`Register`) 148 } 149 ) 150 return false 151}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.