© Reuters.
let atwWrapper,atwContainerWidth,atwSliderBox,atwTotalWidth;
function initATWSlider()
{
atwWrapper = $('.relatedInstruments');
atwSliderBox = atwWrapper.find('.slider');
atwContainerWidth = atwWrapper.width();
atwTotalWidth = atwSliderBox.width();
if(window.domainId === '2' || window.domainId === '3'){
atwWrapper.find('.sliderRight').addClass('js-slider-prev');
atwWrapper.find('.sliderLeft').addClass('js-slider-next');
} else {
atwWrapper.find('.sliderRight').addClass('js-slider-next');
atwWrapper.find('.sliderLeft').addClass('js-slider-prev');
}
if(atwSliderBox.find('.instrumentBox').length > 6){
atwWrapper.find('.js-slider-next').fadeIn(600);
}
}
function atwMoveRight()
{
atwWrapper.find('.js-slider-prev').fadeIn(150);
$(".slider > :visible:first").hide(150)
$(".slider > :visible:last").next().show(150);
if(!$(".slider > :visible:last").next().find('.name')()){
atwWrapper.find('.js-slider-next').fadeOut(150);
return;
}
}
function atwMoveLeft()
{
atwWrapper.find('.js-slider-next').fadeIn(150);
$(".slider > :visible:last").hide(150);
$(".slider > :visible:first").prev().show(150);
if(!$(".slider > :visible:first").prev().find('.name')()){
atwWrapper.find('.js-slider-prev').fadeOut(150);
return;
}
}
initATWSlider();
//update star icon on adding/removing instrument to/from specific watchlist
atwWrapper.on('click', 'label.addRow', function() {
let parent = $(this).parent();
let checkedPortfolio = false;
parent.find('input[type=checkbox]').each(function () {
if($(this).is(':checked')){
checkedPortfolio = true;
}
});
let closestStar = $(this).closest('.addToPortWrapper').find('.star');
if(checkedPortfolio){
closestStar.addClass('added');
}else{
closestStar.removeClass('added');
}
});
//update star icon on creating new watchlist
atwWrapper.find('.js-create-watchlist-portfolio').find('a.js-create').on('click',function () {
let parent = $(this).parent();
let watchlistName = parent.find('input[type=text]').val();
if(!watchlistName){
return;
}
let star = $(this).closest('.addToPortWrapper').find('.star');
star.addClass('added');
});
//update star icon on adding new position
atwWrapper.find('.js-create-holdings-portfolio').find('.js-submit').on('click',function () {
let addPositionForm = $(this).closest('.addToPortfolioPop').find('.holdingsContent');
let amount = addPositionForm.find('.js-amount').val();
if(amount < 1){
return;
}
let star = $(this).closest('.addToPortWrapper').find('.star');
star.addClass('added');
});
atwWrapper.find('.instrumentBox').find('.shortInfo').on('click',function () {
if(!window.ga){
return;
}
let pairId = $(this).parent().find('.js-add-to-portfolio').attr('data-pair-id');
let pairType = window.atwPairTypes[pairId];
window.ga('allSitesTracker.send', 'event', 'content', 'symbol link clicked', '', {
"dimension147":"symbol_link_clicked",
"dimension163":"click",
"dimension148":"symbol",
"dimension162":"content add to watchlist",
"dimension161":"article page",
"dimension142":"article",
"dimension75":pairType,
"dimension138":pairId,
"dimension118":"2980909"
});
window.open($(this).attr('data-href'));
});
window.atwPairTypes = {"252":"Equities","8201":"Equities","39111":"Equities","1099056":"Equities","1163895":"Equities","1164138":"Equities","1164644":"Equities","1178253":"Equities","1183229":"Equities"};
Among the 6 biggest deal dispatches this past week, Microsoft is reportedly in talks to invest billions in ChatGPT owner OpenAI. Here’s the full list, as covered in real time on AiVIFPro. Sign up to get this news first.
Microsoft in talks to take big stake in OpenAI: report
Microsoft (NASDAQ:
As part of the deal, Microsoft will reportedly take in 75% of OpenAI's profits until the initial investment is recouped. After that point, Microsoft will hold a 49% stake in OpenAI, while other investors will also hold a 49% stake, and OpenAI's nonprofit parent will hold a 2% stake.
The report comes amid speculation that Microsoft is planning to incorporate OpenAI’s technology into its Office and email software products. According to previous reports, Microsoft had invested around $1 billion in cash and cloud credits into OpenAI in 2019, and has been considering increasing its investment in the company.
Microsoft shares rose 5.5% for the week.
Heavy M&A action in health and biotech
CinCor Pharma (NASDAQ:
Amryt (NASDAQ:
Oak Street Health (NYSE:
Rounding out last week's hot deals
Also on Monday, Duck Creek Technologies (NASDAQ:
And in that same session, Paya Holdings (NASDAQ:
***
If you’re interested in upgrading your search for new investing ideas, check out AiVIFPro.