Barchart.com Inc. Main Page
 Symbol Lookup
 
Quote Chart
Opinion Profile
Markets
Futures
Forex
Funds
Signals
Sectors
My Quotes
Education
Member Sign-In:
Subscriber Login
Member Benefits


  Barchart Sponsors
Webmaster's Tools
- Linking to Barchart.com

Linking to barchart.com is very easy.
The following code will add forms to your page for a quote, chart, opinion or profile.

To add a quote

<FORM ACTION="http://www2.barchart.com/quote.asp" METHOD="GET">
<INPUT TYPE="TEXT" NAME="sym" SIZE="7" MAXLENGTH="5" VALUE="">
<INPUT TYPE="SUBMIT" VALUE="Get Quote">
</FORM>

To add a chart

<FORM ACTION="http://www2.barchart.com/chart.asp" METHOD="GET">
<INPUT TYPE="TEXT" NAME="sym" SIZE="7" MAXLENGTH="5" VALUE="">
<INPUT TYPE="SUBMIT" VALUE="Get Chart">
</FORM>

To add a opinion

<FORM ACTION="http://www2.barchart.com/texpert.asp" METHOD="GET">
<INPUT TYPE="TEXT" NAME="sym" SIZE="7" MAXLENGTH="5" VALUE="">
<INPUT TYPE="SUBMIT" VALUE="Get Opinion">
</FORM>

To add a profile

<FORM ACTION="http://www2.barchart.com/profile.asp" METHOD="GET">
<INPUT TYPE="TEXT" NAME="sym" SIZE="7" MAXLENGTH="5" VALUE="">
<INPUT TYPE="SUBMIT" VALUE="Get Profile">
</FORM>

To add a radio button

<FORM ACTION="http://www2.barchart.com/quick.asp" METHOD="POST">
<INPUT TYPE="TEXT" NAME="sym" SIZE="7" MAXLENGTH="5" VALUE="">
<INPUT TYPE="RADIO" NAME="qs" CHECKED VALUE="quote">Quote
<INPUT TYPE="RADIO" NAME="qs" VALUE="chart">Chart
<INPUT TYPE="RADIO" NAME="qs" VALUE="opinion">Opinion
<INPUT TYPE="RADIO" NAME="qs" VALUE="profile">Profile
<INPUT TYPE="SUBMIT" VALUE="Get Barchart">
</FORM>

Enter a symbol into the box and submit to retrieve the information.
This will work for both stocks and commodities. For example:

  • MSFT - MICROSOFT CORP
  • SPZ4 - DEC 2004 S&P 500 FUTURES CONTRACT

The above information can also be co-branded to fit the design of your website.

For more information please visit the co-brands section of webmasters tools.


You can also link to Barchart.com for commodities contracts with the following code.

To add a commodity contract

<FORM ACTION="http://www2.barchart.com/dfutpage.asp" METHOD="GET">
<INPUT TYPE="TEXT" NAME="sym" SIZE="4" MAXLENGTH="2" VALUE="">
<INPUT TYPE="SUBMIT" VALUE="Enter Commodity Symbol">
</FORM>

This commodities contract is different from the quote, chart and opinion in that it needs a commodities symbol to work not the full contract. For example:

  • C - CORN
  • SP - S&P 500 FUTURES CONTRACT
A list of all Futures and Commodities contracts is available on the Futures Lookup Page

Back to Top 
  Barchart Marketplace
 »» Barchart.com© Copyright 2009, Barchart.com User agreement applies. Data provided by ddfplus and subject to terms of use and privacy policy.
Webmaster Tools  |  Advertising  |  Suggestions Box  |  About Barchart.com  |  Support  | Press Ctrl+P to print this page  
Data and information is provided for informational purposes only, and is not intended for trading purposes. Neither Barchart.com Inc. nor its data provider (ddfplus) shall be liable for any errors or delays in the content, or for any actions taken in reliance thereon. By accessing the Barchart.com Inc. web site, a user agrees not to redistribute the information found therein.
Press Ctrl+D to bookmark this page - Set www2.barchart.com as your Home Page
All Equities and Futures data is delayed according to exchange rules.
NYSE, AMEX and Nasdaq 15 minutes. Futures exchanges 10 minutes.