Click here to Login








Historical Index Composition

by QuantShare, 3416 days ago
Share |






This downloader is based on the QuantShare blog post: Getting Accurate Backtesting Results: Survivorship bias-free S&P 500

It allows you to create a survivorship bias-free database of several indices. It downloads historical composition of an ETF that tracks an index then creates a custom database by assigning the value "1" to each stock that was part of that index at a specific date.

Backtesting using a survivorship bias-free database is extremely important if you want to get simulation results that are as accurate as possible. You may also want to get historical data for delisted stocks. You can obtain a list of delisted stocks here: US delisted symbols, and download data for those stocks using: Historical Quotes for Delisted US Stocks

Here is how to create a survivorship bias-free database of S&P 500 Index:

- Download and install this item
- Open the download manager by selecting "Download -> Download Manager"
- Select it then click on "Open Selected Downloader"
- In "productID" tab, type "239726" to create the historical composition of the S&P 500 Index
- In "Dates" tab, select a start and end dates then click on "Save"
- Click on "Start downloading" to begin the downloading process

You can check the product ID for different ETFs in the ishares.com website. The product ID can be seen in the URL after you select an ETF.

After the data is downloaded, a new field whose name is "iShares Core S&P 500 ETF" is created. You can access the data using the following function:
inIndex = GetData('index', 'iShares Core S&P 500 ETF');

For more information, please click on the above blog post link.


Share This ->
Share |


You have to log in to bookmark this object
What is this?




Type: Download Script

Object ID: 1143


Country:
United States

Market: Stock Market

Style:
Fundamental Analysis

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects

Empty

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

Getting Accurate Backtesting Results: Survivorship bias-free S&P 500

10 masks to create thousands of rules to use into your trading system

Trading System Analysis: Backtesting report and custom measures

How to predict and trade the stock market using pivot points

9 mistakes you should avoid when backtesting an end-of-day stock trading system

6 ways to download free intraday and tick data for the U.S. stock market

Reducing risk and increasing return by combining several trading systems

6 places to download historical intraday Forex quotes data for free

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






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.