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

Request:
 Gif
Sample Code:
 Coldfusion
 ASP
 JSP
 PHP
 Perl
 
Gifs
Required Parameters
URL = http://www.finwin.com/processct/processgiftag.cfm
Username = myUsername
Password = myPassword
Id = 1183
Request = Gif
Symbol = MSFT

Optional Parmeters
Border_Width - The width in pixels around the chart
Line_Width - The width of chart lines
Line_Color - The color of the line when chart_style = "line". Use RRGGBB format
Font_Name - The name of the font to use in the chart
Font_Size - The size of the font to use in the chart
Font_Weight - The weight of the font, 100=Normal, 400=Bold
BG_Color - The background color in RRGGBB format
FG_Color - The foreground color in RRGGBB format
Grid_Color - The Grid color in RRGGBB format
BG_Chart - The background color of the Chart, if unset, it uses the BG_Color. Use RRGGBB format.
BG_Study - The background color for Studies, if unset, it uses the BG_Color. Use RRGGBB format.
Grid_Type - Grid line type. Use the following values to choose the style Name Value to pass
  • SOLID = 0
  • DASH = 1
  • DOT = 2
  • DASHDOT = 3
  • DASHDOTDOT = 4
Grid_Lines - Flag to turn grid lines on and off, values should be 1 or 0
Grid_On_Top - Flags the grid to be on top of area charts. Default is 1. Values should be 1 or 0.
Study_Height - The height of the study of each study in pixels
Value_Inside - Flags the chart value to be inside the chart
Value_Precision - Sets the number of places after the decimal to
display for the value axis. Set this value to negative one (-1) to use default precision calculation.
Time_Inside - Flags the time axis to be inside the chart
Time_Axis - Flag to turn the time axis on and off, values should be 1 or 0
AM_PM - Flags the time of day to use AM/PM or 24 Hour time. A value of 1 uses AM/PM time.
Vert_Axis - Flag to turn the vertical axis on and off, values should be 1 or 0
Range_Begin - Initial date to use in the SQL format 'YYYY-MM-DD hh:mm:ss'. Used for Daily, Weekly, or Monthly charts.
Range_End - End date to use in the SQL format 'YYYY-MM-DD hh:mm:ss'. Used for Daily, Weekly, or Monthly charts.
Days - Number of days of data when drawing Intraday charts.
Interval - Interval for minute data when drawing Intraday charts.
Right_Labels - Flags the labels to be on the right-hand-side of the chart
Symbol_Labels - Flags the Symbol names to be displayed on the chart, values should be 0 for off or 1 for on.
Title - The text for a title
  • Desc = This will display the description of the symbol being requested (default)
  • Symbol = This will display the symbol as the title
Title_Font_Name - The font name for the title
Title_Font_Size - The size of the font for the title
Title_Inside - Flags the title to be inside the chart boundary
Chart_Style - Style of Chart. Use the following Values to choose the style of Chart you wish to display
  • Line - A simple line chart (default)
  • Hloc - A chart with high-low-open-close bars
  • Candlestick - A candlestick chart
  • Channel - A channel chart displaying the volitality and close price
  • Area - A "Mountain" style chart displaying the chart as an area group
Chart_Height - Height of the chart. (default="320")
Chart_Width - Width of the chart. (default="640")
Chart_Type - Type of Chart. Use the following values to choose the type of chart you wish to display.
  • Intraday = displays todays data at 5 minute intervals (default)
  • Daily = displays daily datapoints. Use Range_begin and end to determine the time frame.
  • Weekly = displays weekly datapoints. Use Range_begin and end to determine the time frame.
  • Monthly = display monthly datapoints. Use Range_begin and end to determine the time frame.
study_type - Type of study to add to the chart. Use the following values to choose the type of study you wish to display.
  • Momentum
  • RSI = Relative Strength Indicator
  • ROC = Rate of Change
  • Volume
  • Williams
  • DMI = Directional Movement Indicator
  • Stochastics
  • HV = Historical Volatility
  • Volitility
  • OpenInterest
study_location_one of the below items - 0(default) = bottom, 1 = top
  • Momentum
  • RSI = Relative Strength Indicator
  • ROC = Rate of Change
  • Volume
  • Williams
  • DMI = Directional Movement Indicator
  • Stochastics
  • HV = Historical Volatility
  • Volitility
  • OpenInterest
study_period_Momentum - (default = 12)
study_period_RSI - (default = 14)
study_period_ROC - (default = 12)
study_period_Williams - (default = 14)
study_period_HV - (default = 20)
study_period_DMI - (default = 14)
study_trading_points_HV - number of points to display (default = 250)

overlay_type - Type of overlay to add to the chart. Use the following values to choose the type of overlay you wish to display.
  • Bollinger = Bollinger Band
  • EMA = Exponential Moving Average
  • SMA = Simple Moving Average
overlay_period_Bollinger - (default = 20)
overlay_period_EMA - (default = 4)
overlay_period2_EMA - (default =9)
overlay_period3_EMA - (default = 18)
overlay_period_SMA - (default = 4)
overlay_period2_SMA - (default = 9)
overlay_period3_SMA - (default = 18)
 
Cold Fusion Example
<cfhttp url="http://www.finwin.com/processct/processgiftag.cfm" method="POST">
	<cfhttpparam name="username" value="myusername" type="formfield">
	<cfhttpparam name="password" value="mypassword" type="formfield">
	<cfhttpparam name="id" value="1183" type="formfield">
	<cfhttpparam name="symbol" value="msft" type="formfield">
	<cfhttpparam name="request" value="gif" type="formfield">
		<cfhttpparam name="font_size" type="formfield" value="12">
	<cfhttpparam name="bg_color" type="formfield" value="ffffff">
	<cfhttpparam name="line_width" type="formfield" value=3>
	<cfhttpparam name="am_pm" type="formfield" value=1>
	<cfhttpparam name="grid_on_top" type="formfield" value=1>
	<cfhttpparam name="grid_type" type="formfield" value=2>
	<cfhttpparam name="fg_color" type="formfield" value="000000">
	<cfhttpparam name="bg_chart" type="formfield" value="ffffff">
	<cfhttpparam name="bg_study" type="formfield" value="aabbcc">
	<cfhttpparam name="title_inside" type="formfield" value=1>
	<cfhttpparam name="title" type="formfield" value="symbol">
	<cfhttpparam name="Title_Font_Name" type="formfield" value="Arial">
	<cfhttpparam name="chart_style" type="formfield" value="line">
	<cfhttpparam name="line_color" type="formfield" value="000000">
	<cfhttpparam name="chart_height" type="formfield" value="480">
	<cfhttpparam name="study_height" type="formfield" value="25">
	<cfhttpparam name="symbol_labels" type="formfield" value="1">
	<cfhttpparam name="chart_width" type="formfield" value="640">
	<cfhttpparam name="Chart_Type" type="formfield" value="weekly">
	<cfhttpparam name="range_begin" type="formfield" value="2002-01-01 00:00:00">
	<cfhttpparam name="range_end" type="formfield" value="2003-01-01 00:00:00">
	
	<cfhttpparam name="study_type" type="formfield" value="volume,volitility,openinterest,
	momentum,hv,RSI,ROC,williams,dmi,stochastics">
	<cfhttpparam name="study_period_DMI" type="formfield" value="14">
	<cfhttpparam name="study_period_Momentum" type="formfield" value="12">
	<cfhttpparam name="study_period_ROC" type="formfield" value="12">
	<cfhttpparam name="study_period_Williams" type="formfield" value="14">
	<cfhttpparam name="study_period_RSI" type="formfield" value="14">
	<cfhttpparam name="study_period_HV" type="formfield" value="20">
	<cfhttpparam name="study_trading_points_HV" type="formfield" value="250">
	
	<cfhttpparam name="study_location_DMI" type="formfield" value="1">
	<cfhttpparam name="study_location_Momentum" type="formfield" value="1">
	<cfhttpparam name="study_location_ROC" type="formfield" value="1">
	<cfhttpparam name="study_location_Williams" type="formfield" value="1">
	<cfhttpparam name="study_location_RSI" type="formfield" value="1">
	<cfhttpparam name="study_location_HV" type="formfield" value="1">
	<cfhttpparam name="study_location_OpenInterest" type="formfield" value="0">
	<cfhttpparam name="study_location_Volume" type="formfield" value="0">
	<cfhttpparam name="study_location_Volitility" type="formfield" value="0">
	<cfhttpparam name="study_location_stochastics" type="formfield" value="0">
	
	<cfhttpparam name="overlay_type" type="formfield" value="Bollinger,SMA">
	<cfhttpparam name="overlay_period_Bollinger" type="formfield" value="20">
	<cfhttpparam name="overlay_period_SMA" type="formfield" value="4">
	<cfhttpparam name="overlay_period2_SMA" type="formfield" value="9">
	<cfhttpparam name="overlay_period3_SMA" type="formfield" value="18">
</cfhttp>
<cfoutput>#cfhttp.filecontent#</cfoutput>
ASP Example
Request_POST = 	1
Set HttpObj  = Server.CreateObject("SOFTWING.AspTear")
FinwinURL 	 = "http://www.finwin.com/processct/processgifTag.cfm"

PostData = "username=MyUserName&password=mypassword&id=1183&request=gif&Symbol=MSFT"

content = HttpObj.Retrieve(FinwinURL, Request_POST,PostData, "", "")
Response.write(content)

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