= lcBodyText.lastIndexOf("";
highlightEndTag = "";
}
if (treatAsPhrase) {
promptText = "Please enter the phrase you'd like to search for:";
} else {
promptText = "Please enter the words you'd like to search for, separated by spaces:";
}
searchText = prompt(promptText, defaultText);
if (!searchText) {
alert("No search terms were entered. Exiting function.");
return false;
}
return highlightSearchTerms(searchText, treatAsPhrase, true, highlightStartTag, highlightEndTag);
}
/*
* This function takes a referer/referrer string and parses it
* to determine if it contains any search terms. If it does, the
* search terms are passed to the highlightSearchTerms function
* so they can be highlighted on the current page.
*/
function highlightGoogleSearchTerms(referrer)
{
// This function has only been very lightly tested against
// typical Google search URLs. If you wanted the Google search
// terms to be automatically highlighted on a page, you could
// call the function in the onload event of your tag,
// like this:
//
//var referrer = document.referrer;
if (!referrer) {
return false;
}
var queryPrefix = "q=";
var startPos = referrer.toLowerCase().indexOf(queryPrefix);
if ((startPos < 0) || (startPos + queryPrefix.length == referrer.length)) {
return false;
}
var endPos = referrer.indexOf("&", startPos);
if (endPos < 0) {
endPos = referrer.length;
}
var queryString = referrer.substring(startPos + queryPrefix.length, endPos);
// fix the space characters
queryString = queryString.replace(/%20/gi, " ");
queryString = queryString.replace(/\+/gi, " ");
// remove the quotes (if you're really creative, you could search for the
// terms within the quotes as phrases, and everything else as single terms)
queryString = queryString.replace(/%22/gi, "");
queryString = queryString.replace(/\"/gi, "");
return highlightSearchTerms(queryString, false);
}
/*
* This function is just an easy way to test the highlightGoogleSearchTerms
* function.
*/
function testHighlightGoogleSearchTerms()
{
var referrerString = "http://www.google.com/search?q=javascript%20highlight&start=0";
referrerString = prompt("Test the following referrer string:", referrerString);
return highlightGoogleSearchTerms(referrerString);
}
Jr. Trader/Developer, Hedge Fund |
Return to:
|
Return to:
|
Return to:
|
|
|
ADD TO JOB CART TO APPLY
|
| Job Title: |
|
JR. TRADER/DEVELOPER, HEDGE FUND
|
|
Job Description: Job ID(jeg233 ) |
Premier Hedge Fund based in Greenwich, CT is seeking a Jr. Trader/Developer for its Quantitative Trading Desk to execute trades and support the electronic trading system. The fund invests in a wide array of products and the individuals trading will include convertible bonds, options, currencies, and equities. The development aspect of the role involves implementing and enhancing the funds electronic trading system, along with general support for this system. Applicants should have a BS/MS from a top school. Ideal candidate will have 1-3 years trading experience with a leading financial institution. Strong computer skills, including with scripting (JAVA, VB, or Perl), SQL, and/or C++ are required. Recruiter: Jim Geiger
|
| Salary: |
Competitive Salary |
Location: |
Greenwich, CT |
|
|
| Job Categories: |
Derivatives/Futures/FX & Structured Transactions, Financial Industry Applications & Systems, Quantitative Finance/Financial Engineering |
***