Code Monkey home page Code Monkey logo

melihkazan / article.rdp.python.kungfubonds Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lseg-api-samples/article.rdp.python.kungfubonds

0.0 0.0 0.0 5.66 MB

We’re focusing on Kung Fu Bonds (The bond issued by a Chinese entity in USD currency) as we notice that their market has been growing (there’re about 6,000 Active Kung Fu bonds). Hence, Refinitiv Data Platform (RDP) libraries are being used to create the solution to identify, aggregate and visualize KungFu bonds.

Jupyter Notebook 100.00%

article.rdp.python.kungfubonds's Introduction

To see Jupyter Notebook file with plot and graph output, Click here to view the notebook via Jupyter Notebook viewer

Searching for KungFu Bonds (Chinese-issued U.S. dollars bonds) with RDP Libraries - Search function

Due to Greater Bay Area (GBA) has a lot of population (86M) and huge number of GDP ($1.6T), there’s a huge potential of this market with investment opportunities across multiple asset classes and propositions. However, the ability to identify the exact investment opportunities and the consolidated source of GBA data isn’t directly accessed in Eikon Application/Refinitiv workspace yet

In this article, we’re focusing on Kung Fu Bonds (The bond issued by a Chinese entity in USD currency) as we notice that their market has been growing (there’re about 6,000 Active Kung Fu bonds). Hence, Refinitiv Data Platform (RDP) libraries are being used to create the solution to identify, aggregate and visualize KungFu bonds.

Pre-requisites:

The code can be run on Refinitiv Codebook or Jupyter Notebook that has Refinitiv Data Platform (RDP) library installed and ready to be used. To run examples in this article, I'll be using the Codebook.

  • In case you’re running the Jupyter Notebook in your own environment (not using Codebook),
    • The Access Credential is required to use RDP libraries. For more detail, please check this page RDP libraries - Access Credentials.
    • Required python libraries:
  • Using Codebook, the key ‘DEFAULT_CODE_BOOK_APP_KEY’ can be used You may contact your Refinitiv's representative to help you to access Refinitiv workspace/Eikon.

Required python libraries and their version:

you may download requirements.txt from this repo then use the command pip install -r requirements.txt to install required libraries

  • refinitiv.dataplatform==1.0.0a10
  • pandas==1.3.5
  • plotly==5.3.1
  • datetime==4.3
  • dateutil==2.8.2

Example output

  1. TRBC Pie

kungfu-bond-vis-1-trbc-pie

  1. Bond Grade Pie

kungfu-bond-vis-2-bond-grade-pie

  1. Issued amount last 12 months

kungfu-bond-vis-3-bond-issued-amt-12-m

  1. Redem amount in 10 years

kungfu-bond-vis-4-bond-redem-amt-10-y

  1. Newly issued bonds last 3 months

kungfu-bond-vis-5-bond-newly-issued-3m

  1. Price top 10

kungfu-bond-vis-6-bond-price-top-10

  1. Yield top 10

kungfu-bond-vis-7-bond-yield-top-10

  1. Yield last 10

kungfu-bond-vis-8-bond-yield-last-10

article.rdp.python.kungfubonds's People

Contributors

rsamasiri avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.