Click here to Login








Economic Data - Retail Trade Report

by Brian Brown, 5272 days ago
Share |


The Monthly Retail data, which is released by the U.S. Census Bureau, contains several time series on retail economic activity in the United States. The data is obtained by the Advance Monthly and Monthly Retail Trade Surveys (MARTS and MRTS).
This object downloads two time series from the MARTS, which are the Grocery Stores and Food Services and Drinking Places.
The data spans from March 1992 to present for both indicators. The ticker symbol of the Grocery Stores is ^GROCERY_STORES and the symbol of the Food Services and Drinking Places is ^FOOD_DRINKING.

The Grocery Stores and Food Services and Drinking Places time series can be used to create an economic indicator called the "Pub Power" (http://econompicdata.blogspot.com/2009/09/pub-power-signals-buy-for-equities.html).
This economic indicator consists of dividing the food services and drinking places numbers by the grocery stores numbers and expressing the result in year over year terms. The idea is that the higher the index is the more people are spending money by going to restaurants and drinking places and doing less cooking. This translates into consumer confidence, spending power and wealth and therefore should be a bullish signal for the stock market.

You can display this indicator in a monthly chart using the following formula:
f1 = GetSeries("^FOOD_DRINKING", close, LastData);
f2 = GetSeries("^GROCERY_STORES", close, LastData);
f1 = ref(f1, 2); // Data is available with 2 months lag
f2 = ref(f2, 2);
a = f1 / f2;
a = ((a / ref(a, 12)) - 1) * 100; // Year over year percentage change
Plot(a,"Economic Indicator",colorGreen,chartLine,styleOwnScale);




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




Type: Download Script

Object ID: 540


Country:
United States

Market: Economic

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

Create a stock index or a trading indicator using the composite tools

Create a trading strategy using the money management tool - Part 2

Create a trading strategy using the money management tool - Part 1

How to create a market timing system - Part 3

Correlation of market indicators

How to create a market timing system

Backtesting Process

Trading software new features

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.