Skip to content

LSEG-API-Samples/Example.EikonAPI.Python.PCAYC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Yield curve principal component analysis with Eikon Data API

This python model performs the PCA decomposition of a defined list of rates instruments (e.g. treasuries or IR swaps) using Eikon Data API, Additionally this model calculates the mean reversion on a curve trade as well as optimal holding period. Full article is provided here.

Pre-requisites:

Refinitiv Eikon or Refinitiv Workspace with access to Eikon Data APIs

Required Python Packages: eikon, pandas, cufflinks, sklearn, scipy, numpy, random

About

This is an example of applying PCA to curve trades and modelling the mean reversion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors