Get change in Dow Jone Index

219 views
Skip to first unread message

yccheok

unread,
Sep 10, 2010, 9:09:02 AM9/10/10
to Google Finance APIs and Tools
By using the following URL

http://www.google.com/finance/info?client=ig&q=INDEXDJX:.DJI

I can get the current value of Dow Jone Index (10,415.24)

// [ { "id": "983582" ,"t" : ".DJI" ,"e" : "INDEXDJX" ,"l" :
"10,415.24" ,"l_cur" : "10,415.24" ,"ltt":"4:02PM EDT" ,"lt" : "Sep 9,
4:02PM EDT" ,"c" : "" ,"cp" : "" ,"ccol" : "" } ]

However, how I can get the change for Dow Jone Index?

Thanks

AINUL HABIB

unread,
Sep 10, 2010, 9:14:40 AM9/10/10
to google-fi...@googlegroups.com
The Change should be in the JSON Data "C" and "CP" , Do you ever get a
value in this field.
If this filed is blank, either there is no change at this moment. Run
this URL between
14:00 to 17:00 EDT , see if the current value changes, then if C or CP
has vay values.


Habib

> --
> You received this message because you are subscribed to the Google Groups "Google Finance APIs and Tools" group.
> To post to this group, send email to google-fi...@googlegroups.com.
> To unsubscribe from this group, send email to google-finance-...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-finance-apis?hl=en.
>
>

yccheok

unread,
Sep 10, 2010, 9:24:15 AM9/10/10
to Google Finance APIs and Tools
OK. I will try that when market is opened.

AINUL HABIB

unread,
Sep 10, 2010, 9:39:40 AM9/10/10
to google-fi...@googlegroups.com
Hi !
 The Market has Opened now, I was checking Bloomberg Radio.

My Website is showing Update for All Stocks,


Result of http://www.google.com/finance/info?client=ig&q=INDEXDJX:.DJI
is


// [ { "id": "983582" ,"t" : ".DJI" ,"e" : "INDEXDJX" ,"l" :

"10,417.13" ,"l_cur" : "10,417.13" ,"ltt":"9:33AM EDT" ,"lt" : "Sep
10, 9:33AM EDT" ,"c" : "+1.89" ,"cp" : "0.02" ,"ccol" : "chg" } ]

Now the Date is Sept 10 , and Dow Index Change is +1.89 and Change
percentage is 0.02 %.

The Link is still working


Check my website : http://www.systotrack.com/
All information comes from Google.

Regards
HABIB.

yccheok

unread,
Sep 13, 2010, 1:24:45 AM9/13/10
to Google Finance APIs and Tools
May I know what is the difference among "l" and "l_cur" ?

On Sep 10, 9:39 pm, AINUL HABIB <habib.j...@gmail.com> wrote:
> Hi !
>  The Market has Opened now, I was checking Bloomberg Radio.
>
> My Website is showing Update for All Stocks,
>
> Result ofhttp://www.google.com/finance/info?client=ig&q=INDEXDJX:.DJI
> is
> // [ { "id": "983582" ,"t" : ".DJI" ,"e" : "INDEXDJX" ,"l" :
> "10,417.13" ,"l_cur" : "10,417.13" ,"ltt":"9:33AM EDT" ,"lt" : "Sep
> 10, 9:33AM EDT" ,"c" : "+1.89" ,"cp" : "0.02" ,"ccol" : "chg" } ]
>
> Now the Date is Sept 10 , and Dow Index Change is +1.89 and Change
> percentage is 0.02 %.
>
> The Link is still working
>
> Check my website :http://www.systotrack.com/
> All information comes from Google.
>
> Regards
> HABIB.
>
Reply all
Reply to author
Forward
0 new messages