Difference between revisions of "Dow Jones Industrial Average"

From Geohashing
imported>Tjtrumpet2323
imported>Tjtrumpet2323
Line 1: Line 1:
The Dow Jones Industrial Index is a well known indicator of the overall health of the economy calculated using the current value of a variety of stocks along with the 'Dow Divisor'. The opening Dow Jones Industrial Index is used in [[Algorithm|the Geohashing algorithm]].
+
The '''Dow Jones Industrial Average''' is a well known indicator of the overall health of the economy calculated using the current value of a variety of stocks along with the 'Dow Divisor'. The opening value of the Dow Jones Industrial Average is used as an entropy source in [[Algorithm|the Geohashing algorithm]].
  
If you're programming a geohashing calculator, mapping service or other related service, you'll need a source for the current and historic DJI value. This page lists known sources and ways to access them and access restrictions.
+
If you're programming a geohashing calculator, mapping service or other related service, you'll need a source for the current and historic DJIA value. This page lists known sources and ways to access them and access restrictions.
  
 
== Conventions ==
 
== Conventions ==
Line 16: Line 16:
 
|startDate=1970-01-02
 
|startDate=1970-01-02
 
|updateSource=finance.google.com
 
|updateSource=finance.google.com
|updateFrequency=weekdays, at 9:35 EDT
+
|updateFrequency=weekdays, at 09:35 Eastern
|serverLocation=Reston, VA
+
|serverLocation=Reston, Virginia, USA
 
|accessRestrictions=This is used by the reference implementation. There are no technical restrictions in place, but please let [[User:Zigdon]] know if you're about to use it heavily.
 
|accessRestrictions=This is used by the reference implementation. There are no technical restrictions in place, but please let [[User:Zigdon]] know if you're about to use it heavily.
 
|contactAccount=Zigdon}}
 
|contactAccount=Zigdon}}
Line 27: Line 27:
 
|startDate=1970-01-02
 
|startDate=1970-01-02
 
|updateSource=finance.google.com
 
|updateSource=finance.google.com
|updateFrequency=hourly
+
|updateFrequency=hourly* ''(see note)''
|serverLocation=Texas, United States
+
|serverLocation=Texas, USA
 
|accessRestrictions=Free for anyone to use up to a reasonable number of requests. If you plan on making upwards of 10k or 20k requests a day, please consult with me first.
 
|accessRestrictions=Free for anyone to use up to a reasonable number of requests. If you plan on making upwards of 10k or 20k requests a day, please consult with me first.
 
|contactAccount=NuclearDog}}
 
|contactAccount=NuclearDog}}
 
* '''Note:''' This source is still returning a NULL value for [[2008-05-22]], over nine hours after Dow opening.  [[User:Tjtrumpet2323|Tim P]] 22:53, 22 May 2008 (UTC)
 
* '''Note:''' This source is still returning a NULL value for [[2008-05-22]], over nine hours after Dow opening.  [[User:Tjtrumpet2323|Tim P]] 22:53, 22 May 2008 (UTC)

Revision as of 22:56, 22 May 2008

The Dow Jones Industrial Average is a well known indicator of the overall health of the economy calculated using the current value of a variety of stocks along with the 'Dow Divisor'. The opening value of the Dow Jones Industrial Average is used as an entropy source in the Geohashing algorithm.

If you're programming a geohashing calculator, mapping service or other related service, you'll need a source for the current and historic DJIA value. This page lists known sources and ways to access them and access restrictions.

Conventions

In the following descriptions, tokens will be used in URLs to represent values of the date as specified on this page on the PHP website. Specifically:

  •  %Y is the four digit year (Eg, 1990)
  •  %m is the two digit month number (Eg, 03)
  •  %d is the two digit day number (Eg, 14)


irc.peeron.com
Date Range:1970-01-02 - present
Update Source:finance.google.com
Update Frequency:weekdays, at 09:35 Eastern
Server Location:Reston, Virginia, USA
Contact:Zigdon

The source can be accessed at:

http://irc.peeron.com/xkcd/map/data/%Y/%m/%d
  • Access Restrictions: This is used by the reference implementation. There are no technical restrictions in place, but please let User:Zigdon know if you're about to use it heavily.


xkcd.nucleardog.com
Date Range:1970-01-02 - present
Update Source:finance.google.com
Update Frequency:hourly* (see note)
Server Location:Texas, USA
Contact:NuclearDog

The source can be accessed at:

http://xkcd.nucleardog.com/getdow.php?year=%Y&month=%m&day=%d
  • Leading zeros are not significant in year, month and day values. If you request a date which has no value it will return the string 'null'. If you would like to avoid it returning 'null' when requesting days such as weekends, you may pass the GET variable 'compensate' with any value, which will cause it to work backwards from any non-existent days until it finds one with a value and return that instead.
  • Access Restrictions: Free for anyone to use up to a reasonable number of requests. If you plan on making upwards of 10k or 20k requests a day, please consult with me first.
  • Note: This source is still returning a NULL value for 2008-05-22, over nine hours after Dow opening. Tim P 22:53, 22 May 2008 (UTC)