Skip to content

Commit

Permalink
BUG: CME SOFR 1m rolls
Browse files Browse the repository at this point in the history
  • Loading branch information
attack68 committed Jan 15, 2025
1 parent cf9b46d commit e22229c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/source/i_whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ email contact, see `rateslib <https://rateslib.com>`_.
:meth:`~rateslib.curves.Curve.update_node` to allow mutating *Curve* types directly
with appropriate cache and state management.
(`584 <https://github.com/attack68/rateslib/pull/584>`_)
* - Bug
- Defaults spec *"usd_stir1"* for CME 1m SOFR futures has corrected the roll to *"som"*,
instead of *"imm"*, to allow correct placement of contracts averaging all of the rates
in a specific contract month.
* - Bug
- :class:`~rateslib.instruments.STIRFuture` now correctly handles the ``fx`` and ``base``
arguments when using the :meth:`~rateslib.instruments.STIRFuture.npv` or
Expand Down
2 changes: 1 addition & 1 deletion python/rateslib/data/__instrument_spec.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ base_derivative,leg1,frequency,str,m,q,a,a,a,a,a,a,a,s,a,a,s,s,s,q,a,a,a,a,a,a,a
base_derivative,leg1,stub,str,longfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,shortfront,,,,shortfront,,,,,,,,,,,,,
base_derivative,leg1,front_stub,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
base_derivative,leg1,back_stub,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
base_derivative,leg1,roll,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,imm,imm,imm,imm,imm,imm
base_derivative,leg1,roll,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,imm,som,imm,imm,imm,imm
base_derivative,leg1,eom,bool,FALSE,FALSE,FALSE,TRUE,TRUE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,FALSE,FALSE,TRUE,TRUE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,TRUE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE
base_derivative,leg1,modifier,str,p,none,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,none,mf,mf,none,none,none,none,none,none,none,none,none,none,none,none,none,none,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf,mf
base_derivative,leg1,calendar,str,"nyc,tgt,ldn",nyc,nyc,nyc,ldn,tgt,stk,osl,zur,tro,tro,tyo,wlg,wlg,syd,syd,syd,tgt,tgt,tgt,stk,osl,osl,"tgt,nyc","ldn,nyc","tgt,ldn","tgt,ldn","nyc,tyo","nyc,syd","nyc,syd","nyc,wlg","nyc,wlg,syd",tgt,ldn,nyc,ldn,stk,tgt,osl,nyc,nyc,ldn,tgt,tgt,tgt,tgt,stk,osl,tro,nyc,stk,ldn,ldn,stk,tgt,tgt,tgt,osl,osl,nyc,nyc,nyc,tgt,tgt,tgt,ldn
Expand Down

0 comments on commit e22229c

Please sign in to comment.