Telegram Group & Telegram Channel
ХОЛОДНЫЙ РАСЧЕТ ∅
🦅 Обязательная продажа валюты не впечатлила денежный рынок Ожидания по траектории ключевой ключевой ставке до мая 2024 снизились на в пределах 0.1-0.2пп: пик все еще ~15.5% в апреле, снижение с 2кв24 🧙 Оценка ожидания по ставки из ROISfix @c0ldness
🐍 Вермишельный график ожиданий из свопов ROISfix: Рецепт приготовления

from nelson_siegel_svensson import NelsonSiegelCurve
from nelson_siegel_svensson.calibrate import calibrate_ns_ols
import numpy as np
from datetime import datetime as dt
from datetime import timedelta

df_roisfix = # IMPORT ROISFIX DATA

# FIXED EXCESS RETURN FOR FIXED LEG (ANNUALIZED)
term_prem = 0.028*12

maturities = [1/52,2/52,1/12,2/12,3/12,6/12,1,2]
li_term_prem = [x*term_prem for x in maturities]

df_roisfix_ex_exret = df_roisfix.sub(li_term_prem,axis=1).copy(deep=True)

col_mat = np.linspace(1,180,30)
col_date = df_roisfix_ex_exret_resample.index.to_list()

ix_date = pd.date_range(start=dt(2011,1,1), end=dt(2023,9,13) + timedelta(days=300),freq='D')
df_rates = pd.DataFrame(columns=col_date,index=ix_date)

for ix, row in df_roisfix_ex_exret_resample.iterrows():
try:
vals = row.dropna().values
curve_fit, status = calibrate_ns_ols(np.array( maturities[:len(vals)]),vals)
NSS_Fwd = NelsonSiegelCurve.forward(curve_fit,np.array([x/360 for x in col_mat]))
df_rates.loc[pd.date_range(start=ix+ timedelta(days=6), end=ix + timedelta(days=180),freq='6D'),ix] = NSS_Fwd
# print(ix)
except:
pass

df_rates.tail()
🫡 Спасибо за посещение нашего научного макротелеграм-семинара

@c0ldness



group-telegram.com/c0ldness/2107
Create:
Last Update:

🐍 Вермишельный график ожиданий из свопов ROISfix: Рецепт приготовления

from nelson_siegel_svensson import NelsonSiegelCurve
from nelson_siegel_svensson.calibrate import calibrate_ns_ols
import numpy as np
from datetime import datetime as dt
from datetime import timedelta

df_roisfix = # IMPORT ROISFIX DATA

# FIXED EXCESS RETURN FOR FIXED LEG (ANNUALIZED)
term_prem = 0.028*12

maturities = [1/52,2/52,1/12,2/12,3/12,6/12,1,2]
li_term_prem = [x*term_prem for x in maturities]

df_roisfix_ex_exret = df_roisfix.sub(li_term_prem,axis=1).copy(deep=True)

col_mat = np.linspace(1,180,30)
col_date = df_roisfix_ex_exret_resample.index.to_list()

ix_date = pd.date_range(start=dt(2011,1,1), end=dt(2023,9,13) + timedelta(days=300),freq='D')
df_rates = pd.DataFrame(columns=col_date,index=ix_date)

for ix, row in df_roisfix_ex_exret_resample.iterrows():
try:
vals = row.dropna().values
curve_fit, status = calibrate_ns_ols(np.array( maturities[:len(vals)]),vals)
NSS_Fwd = NelsonSiegelCurve.forward(curve_fit,np.array([x/360 for x in col_mat]))
df_rates.loc[pd.date_range(start=ix+ timedelta(days=6), end=ix + timedelta(days=180),freq='6D'),ix] = NSS_Fwd
# print(ix)
except:
pass

df_rates.tail()
🫡 Спасибо за посещение нашего научного макротелеграм-семинара

@c0ldness

BY ХОЛОДНЫЙ РАСЧЕТ ∅




Share with your friend now:
group-telegram.com/c0ldness/2107

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

"Russians are really disconnected from the reality of what happening to their country," Andrey said. "So Telegram has become essential for understanding what's going on to the Russian-speaking world." Official government accounts have also spread fake fact checks. An official Twitter account for the Russia diplomatic mission in Geneva shared a fake debunking video claiming without evidence that "Western and Ukrainian media are creating thousands of fake news on Russia every day." The video, which has amassed almost 30,000 views, offered a "how-to" spot misinformation. Groups are also not fully encrypted, end-to-end. This includes private groups. Private groups cannot be seen by other Telegram users, but Telegram itself can see the groups and all of the communications that you have in them. All of the same risks and warnings about channels can be applied to groups. "The result is on this photo: fiery 'greetings' to the invaders," the Security Service of Ukraine wrote alongside a photo showing several military vehicles among plumes of black smoke. False news often spreads via public groups, or chats, with potentially fatal effects.
from us


Telegram ХОЛОДНЫЙ РАСЧЕТ ∅
FROM American