| gif | history | intraday | java | news | objects | options | quote | soap | spots | tickers | weather | end of day | wddx |

Requests:
 Quote
 Chart
 Lookup
Sample Code:
 Coldfusion
 ASP
 JSP
 PHP
 Perl
 
Coldfusion
Using FinWin with Cold Fusion is as easy as cut and paste. First, gather the security parameters you need - Username and password from the dev site and site ID from the registration process or the client (or use the default of 1183), then copy the code below, or out of the specific "request" section you want and change parameters to fit your authorization and needs. There is even sample CF output code to help you along.

Coldfusion Example
<cf_StockInfo
   request="quote"
   type="query"
   queryname="getQuotes"
   symbol="aol,msft,ngz3,vfinx"
   username="myUsername"
   password="myPassword"
   id="1183">
<cfif IsQuery(getQuotes)>

Total Stories = <cfoutput>#getQuotes.recordcount#</cfoutput><br>

  <cfoutput query="getQuotes">
    <cfloop list="#columnlist#" index="x">
      #x# = #evaluate(x)#<br>
    </cfloop>
    <br>
  </cfoutput>

<cfelseif IsStruct(getQuotes)>

  <Cfloop list="#structkeylist(getQuotes)#" index="x">
    <cfoutput>#x# 	=	#evaluate('getQuotes.' & x)#</cfoutput>
  </CFLOOP>

</cfif>

DTN Market Access
9110 West Dodge Road, Suite 200   Omaha, Nebraska 68114
Copyright 2010, All rights reserved