Click here to Login





                                                   How to import reconstructed global sovereign bonds

  0

0
Chaim6
2014-05-26 04:15:43


Hi,

I reconstructed indexes of sovereign bonds in various international countries based on historical yields. For each country, I downloaded the daily interest rates. In some cases, for older data all that I had available was monthly interest rates. So I used that too. What I was left with was daily rates for most countries going back a few decades and monthly rates for some years before that. Taking that data into Excel I simulated the total returns of $100 from inception.

I am trying to import these "indexes" into QS, but have run into a couple of issues.

The simulated "price history" of these indexes do not include interest payments obviously. How would I be able to create rules based on the "yield" of these bonds. (I assume that all else being equal the highest interest rate is the best investment). Do I need to create a separate database with interest payments of these bonds, or can this be done by importing interest payments within the price history itself as if they were dividend payments? If yes, how?

Another issue that came up is that some of the older bond data contains monthly information only; not daily. That means that sometimes the trading periods will not be comparable; for example when using monthly data, to sell if the price is below the 6 month moving average for daily data means using the rule:
sell = price < SMA(121)
but for monthly data it would be:
sell = price < SMA(6)
How would I mix and match different trading intervals?

Thanks



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Global Market Rotation Strategy V1.1
Set Global Variable
EODData Daily Import
Global Market Rotation Strategy V1.4
Global Sector Rotation Strategy V1.0

How-to Lessons
How to import trading items from other accounts
How to import trading data from CSV files
How to get stocks for a particular index using the global script
How to import trades into a portfolio
How to import your own list of stocks/symbols

Related Forum Threads
How do I Import Tick Data from a CVS file
How to import Bid, Ask and Trade ticks from CSV file?
How to import to database from a csv file?
How to import Index data ?
Global Script For How To Export In MetaStock Format In Ascii Layo...

Blog Posts
How to Automatically Import Local Data Into QuantShare
How to Import Metastock data into QuantShare
Fundamental analysis: How to track economic indicators in the For...
How to Send Commands to QuantShare from Excel or Other Applicatio...
How to Download Trading Data for Certain Securities Only









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.