Click here to Login








IMF Commodity Prices

by QuantShare, 5431 days ago
Share |






This item downloads historical data for the IMF (International Monetary Fund) commodity prices. The IMF commodity prices are prepared by the Energy and Commodities surveillance unit of the research department. The data is available on the IMF website (www.imf.org) and it is updated once a month.

The commodity prices are constructed using weights based on 2002-2004 world trade data and they use 2005 as a base year.

This downloader gets all the historical data with one click, the symbols are automatically added and the data (spans from 1980 to present) is stored in the close field of your quotes database.

The IMF commodity time-series dates saved in your database are different from those reported in the IMF website. In fact, in the Pre-Script I have created a code that adds one month and seven days to the original date. This is because, if you want to use these series in backtesting or simulations, the new date reflects the date when the IMF commodity prices are actually released.
As an example, for the symbol POILAPSP, which corresponds to the Oil (Average of U.K. Brent, Dubai and West Texas Intermediate):
The last date in the time-series is December 2009. However, this number was actually released only on 7 January 2010. The '7 January 2010' date will be associated with this number. Using the original date in simulations and backtesting could lead to misleading results.

If you want to get the original date instead of the modified one, you can do this by updating the Pre-Script (Select the Download Item, click on Update, click on Parser, click on Next and finally click on Pre-Script). You just need to remove the lines between the "//////////////// Remove these lines if you want to set the date as it is reported" and "////////////////".

You can download a list of symbols for these IMF commodity series at the following location: IMF Commodity Symbols
The advantage of using this list of symbols is that it contains the description of each series.


Share This ->
Share |


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




Type: Download Script

Object ID: 328


Country:
All

Market: Futures Market

Style:
All

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

Stock split & dividend

Survivorship bias

Transaction Costs

How scripts communicate with each other

How to simulate options strategies

Organizing Trading Objects

Creating a download item: Initial Jobless Claims

How to search for a download item

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.