Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Stock Indexes - How to Query
Last Post 04-26-2013 09:21 AM by Chad Nash. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Jeremy FarranceUser is Offline
going with the flow
going with the flow
Posts:31
Avatar

--
04-25-2013 03:47 PM
    How would I get the indexes to display, for example: 

    Dow Jones 
    14,724.26 
    Up 125.06 

    NASDAQ 
    3,254,77 
    Up 38.28 

    S&P 500 
    1,569.15 
    Up 16.79 

    Also, is there an easy way to get the footer to output a time-stamp, something simple like, "As of 04/25/13 at 12:35 PM ET"
    Jeremy FarranceUser is Offline
    going with the flow
    going with the flow
    Posts:31
    Avatar

    --
    04-25-2013 04:11 PM
    I stumbled on to part of the answer. It looks like you are using Yahoo's service. So I figured out how to display NASDAQ and S&P 500 using "^IXIC" and "^GSPC" respectively. However, when I follow the same logic for the Dow Jones Index and Dow Jones Composite ("^DJI" and "^DJA") I get an error for the former and no data for the latter:

    
    Apple Inc.
    408.38
    +2.918
    
    Exception occurred - Please check web service URL within settings.
    
    ^DJA
    0.00
    N/A
    
    NASDAQ Composite
    3289.99
    +20.34
    
    S&P 500
    1585.16
    +6.37
     
    Jeremy FarranceUser is Offline
    going with the flow
    going with the flow
    Posts:31
    Avatar

    --
    04-25-2013 04:14 PM
    Okay, then I also just noticed in the page source, inserted just above the DOCTYPE at the very start of the HTML output:

       at DataSprings.DNN.Modules.StockTicker.StockTicker.rptSymbols_ItemDataBound(Object sender, RepeaterItemEventArgs e)Index was outside the bounds of the array.<!DOCTYPE html>
    <html  lang="en-US">
    <head id="Head"><title>
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-26-2013 09:21 AM
    Hi Jeremy,

    This error just basically means that it is not able to find that specific stock symbol and so it will throw that error out on the top of the page. From our research Yahoo has changed this a few times where you cannot access that stock symbol (I have no idea why but if you Google Yahoo and Dow Jones stock symbol you will find many threads related to it.)


    Thanks,

    Chad
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
     
     
       
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi