Effacer les filtres
Effacer les filtres

how to get bloomberg option and zero coupon rate data?

13 vues (au cours des 30 derniers jours)
Xiang
Xiang le 12 Juin 2014
Commenté : Shahram le 20 Fév 2023
I tried chain = getdata(c,'SPX Index','OPT_CHAIN') but there is no price for the option. And I wanna konw how toget zero coupon rate data. thanks!
  3 commentaires
Xiang
Xiang le 12 Juin 2014
sorry about this. I have access to Bloomberg and the connection is good.I can get other data. I can get data like this: SPY US 06/18/11 C20 Equity ... from the function : getdata(c,'SPX Index','OPT_CHAIN') but there is no price for the option. I just need the price. And I need other data from Bloom like zero rate coupon, but I dont know the formula.
Shahram
Shahram le 20 Fév 2023
I am also interessted in getting SPX option chain into ,atlab for futher processing. Can you please tell me where I can find the documentation? I am unbale to find the complete info on Matlab help. Pleasd help!

Connectez-vous pour commenter.

Réponses (2)

Roger Wohlwend
Roger Wohlwend le 12 Juin 2014
Of course you don't get a price for an option. The field OPT_CHAIN does not request a price. It gives you a list with tickers of options (as you can easily verify in your Bloomberg terminal). So, this is not a Matlab problem. How to get zero coupon rates, isn't a Matlab problem either. Type IYC GO in the Bloomberg terminal an search for an appropriate curve. Then yoou can download the data with Matlab.
  3 commentaires
Roger Wohlwend
Roger Wohlwend le 13 Juin 2014
getdata(c, OPTION_TICKER, 'PX_LAST')
Instead of PX_LAST you can also choose a differnt field: PX_BID, PX_ASK, ...
Shahram
Shahram le 20 Fév 2023
I am also interessted in getting SPX option chain into ,atlab for futher processing. Can you please tell me where I can find the documentation? I am unbale to find the complete info on Matlab help. Pleasd help!

Connectez-vous pour commenter.


the cyclist
the cyclist le 12 Juin 2014
This thread from the older MATLAB newsgroup looks like it might have some helpful info that is related.
  1 commentaire
Shahram
Shahram le 20 Fév 2023
I am also interessted in getting SPX option chain into ,atlab for futher processing. Can you please tell me where I can find the documentation? I am unbale to find the complete info on Matlab help. Pleasd help!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Bloomberg Desktop dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by