= 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);
}
Return to:
|
Return to:
|
Return to:
|
|
|
ADD TO JOB CART TO APPLY
|
| Job Title: |
|
Job Description: Job ID(18540) |
A broker-dealer with offices in New York, is seeking a mid-level CMO trader to trade the CMO derivatives book. An understanding of CMOs and CMO derivatives is required from a trading–desk perspective. Experience with interest-rate products such as swaps, swaptions and Eurodollar futures from a quantitative perspective is a plus. Experience with prepayment model effects, scenario analysis, hedging and risk attribution is a also a plus. Experience with Yield-Book or Polypaths is preferred. This is a high visibility opportunity to help build up a Agency CMO trading effort. An undergraduate or graduate level degree in math or science is preferred. An M.S. in Financial Engineering (MFE) is a plus. This position offers a base salary, competitive bonus and a comprehensive benefits package. Opportunity for career advancement.
If you are a suitable candidate, you can expect:
a follow-up call to further discuss the position, your interests and expertise.
Your resume will be sent to our client(s) only after we obtain your approval.
Recruiter: Steve Schallop
|
| Salary: |
Competitive Compensation |
Location: |
New York |
|
|
| Job Categories: |
Fixed Income Research, Sales & Trading, Risk Management |
***