home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Shareware 1998 March
/
PCShareware-3-98.iso
/
programy
/
mawin
/
_SETUP.1
/
CBS.QCF
< prev
next >
Wrap
Text File
|
1998-01-11
|
12KB
|
238 lines
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// The Market Analyzer for Windows
// (C) Copyright 1994, 1995, 1996, 1997, 1998
// by Jim Dowdle
// Methods shown herein may be used for no other purpose than
// creating and modifying configuration files for use with this product.
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// QuoteList Configuration File
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// The optional timezone indicator sets the timezone for the source of quotes for this page
// MAWIN will compare your timezone (see Global Setup button) with the page timezone
// and adjust the default date and timestamps to the date and time at the page location
Timezone=R
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This optional entry allows quote companies to be added to the quotelist which are found
// in the page. It would normally be applicable to a download by_page.
// The default is Off.
//Add_Quote_Requests_to_QuoteList_from_Page=On
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This optional entry activates a mode useful for options pages at CBOE to get the symbol
// from the 1st entry in the Quotelist
// This will get the underlying security from the Quotelist 1st entry, and append it to the URL
// below to form the path to the Options page for the indicated underlying security
// GetOptionSymbolFromQuoteList=On
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// this file contains your Internet Site Path (URL) for the root .qtl file;
// defines the download method;
// and contains parsing instructions to be used by the MAWIN generic
// parsing routines
// You may edit it as needed if you choose to change the Site used,
// or if the Site format changes
// This method of specifying and decoding Web Pages has been chosen to make it
// "easy" to adapt to new pages or changes in pre-defined pages.
// Some users may not wish to get into this level of detail, and others may find
// it easy to use this specifying/formatting scheme to add new pages to your
// daily downloads, or just to keep up with changes.
// If you do not wish modify these files, pre-defined files and updates may become
// available in the near future.
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This is the Site URL including any prefix characters up to the qutoes to be added,
// which will come from the .qtl file automatically as it executes
Page=http://cbs.marketwatch.com/http2_data/squote.htx?source=htx%2Fhttp2_mw&ticker=
//Append-&tables=TABLE
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This is the Site URL for the Browser Direct Link.
// Note: http:// is included
// To distinguish this optional input, it must be preceeded by BrowserLink=
BrowserLink=http://cbs.marketwatch.com/http2_data/squote.htx?source=htx%2Fhttp2_mw&ticker=
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This is the Site URL for the Symbol Search page.
// You will need this to use the automatic Symbol Search option
// which will come from the .qtl file automatically as it executes
// Note: http:// is included
// To distinguish this optional input, it must be preceeded by SymSearch=
SymSearch=http://cbs.marketwatch.com/http2_data/squote.htx?source=htx%2Fhttp2_mw&ticker=
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// the next entry must define the download method.
// the entry will be either "by_page" or "by_quote"
// "by_page" means the page inherently defines the quote information which will be received.
// these are usually index pages which are predefined.
// "by_quote" means the quote requests will be appended from the .qtl file automatically
by_quote
//by_page
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// Optionally, enter the number of quotes per page this URL supports
// the default will be 10, which for now, will be the maximum allowable
// (this only applies to by_quote, not by_page mode
//NumQuotesPerPage=1
// the next entry tells MAWIN what delimeter character to add between appended quote symbols
// for example:
// www2.merrill-lynch.ml.com/htbin/indlink?tick=dis,hd,xrx,spq
// could be a valid request for this page, and the delimeter ',' is used
// other sites may use '+' or other characters as a delimeter
// for pages only accepting 1 quote per page, a delimeter will not be needed or expected
+
// (to determine what delimeter is used, bring up the page using your Web Browser,
// request your stock quotes, and observe the delimeter used...usually shown in the
// top text field of your Browser, as a part of the URL.)
// if the method is "by_page", enter nothing here; MAWIN will skip this field
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// next, tell MAWIN what character string to look for as a trigger to begin looking for quotes.
// if you decide to customize your own download site, you can pick this string by first bringing
// up the site using a Web Browser, and use "file save" to save the .htm image of the page.
// then, examine the .htm file using any good text editor, such as WordPad, or Notepad.
// first look for a string which will be used as a trigger to begin looking for quotes.
// The trigger phrase is:
<table valign=
CorrelateBy=Symbol // specify how to correlate quote to quotefile
//CorrelateBy=Order // specify how to correlate quote to quotefile
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// next, enter the trigger string which indicates the start of a quote
// for this type, it is:
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// next, enter the trigger string which indicates the start of a quote
// unless otherwise indicated, this will be required to start the line
// for this type, it is:
//TriggerStringStart=Anywhere
TriggerStringStart=Beginning // default
<TD align=left>
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// MAWIN will automatically find quote data fields as specified by format keywords herein:
// The keywords which may be used are:
// Numeric Keyword Identifiers: (case-sensitive)
// Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, openinterest, Date, PE_Ratio, Dividend, and Temp
// "Temp" will be available to be used to store/handle throwaway numerics between quote data
// "Temp" may be used multiple times
// Textual Keyword Identifiers:
// Symbol, Co_name, Time, ExpChar, ExpYr
// for this file/site, the parsing commands are:
// *C starting in column 1 will allow extra long lines to be entered as a continuation without exceeding 180 max character line length
1 // lines per quote
// get rid of some annoying scripts in preprocessing
ReplaceAll=" " with " "
ReplaceAll=" F" with " "
ReplaceAll=" M" with " "
ReplaceAll=" N" with " "
ReplaceAll=" C" with " "
// for easy viewing of parsed data, gets rid of a bunch of spaces
ReplaceAll=" " with " "
AutoDate " " // will search for date field and remove before processing quote
//SetDateFormat=mm/dd
// Valid formats are:
// mm/dd/yy where / is a delimeter / or - (default)
// or mm/dd current year will be attached
// or mmddyy
// or mmddyyyy any order with or without delimeter
// use / only to indicate delimeter presence
//NoDate // Do Not look for Date field (none or manual specify)
// some quotes have less than 3 spaces between numerics
Symbol 2 Close 2 Change 2 Prev 2 Low 2 Hi 2 Volume
// Custom Delim Stings may be shown/required here
// number of spaces for delim can also be used, like: Close 3 Bid (default = 3)
// up to 100 identifier types per quote may be specified
// modifiers may be needed, to make adjustments of scale, such as this case where volume is
// quoted in 1000's of shares, and must be adjusted to shares.
// supported modifiers are '*' and '/'
//Volume * 1000
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// for this page, there are several types of quotes.
// The next trigger phrase and associated commands are:
// (currently, a maximum of 4 are allowed)
<table valign=
CorrelateBy=Symbol // specify how to correlate quote to quotefile
TriggerStringStart=Beginning // default
<TD align=left> // begin looking for new quote pattern
Pass=2 // run thru HTML 2nd time using this format to get some different formats
1 // lines per quote
AutoDate " " // will search for date field and remove before processing quote
Symbol 2 Close 2 Change 2 Prev 2 Low 2 Hi 2 Volume 2 Time
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// for this page, there are several types of quotes.
// The next trigger phrase and associated commands are:
// (currently, a maximum of 4 are allowed)
<table valign=
CorrelateBy=Symbol // specify how to correlate quote to quotefile
TriggerStringStart=Beginning // default
<TD align=left> // begin looking for new quote pattern
Pass=3 // run thru HTML 2nd time using this format to get some different formats
1 // lines per quote
AutoDate " " // will search for date field and remove before processing quote
Symbol 2 Close 2 Change
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// for this page, there are several types of quotes.
// The next trigger phrase and associated commands are:
// (currently, a maximum of 4 are allowed)
<table valign=
CorrelateBy=Symbol // specify how to correlate quote to quotefile
TriggerStringStart=Beginning // default
<TD align=left> // begin looking for new quote pattern
Pass=4 // run thru HTML 2nd time using this format to get some different formats
1 // lines per quote
AutoDate " " // will search for date field and remove before processing quote
Symbol 2 Close 2 Change 2 Prev 2 Low 2 Hi 2 Bid 2 Ask 2 Volume 2 Time
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// If you have pulled up this file by external brousing, note that it is also accessable
// under the options menu from the MAWIN market analysis environment.
// lines which begin with // are ignored, and may be eliminated or reordered as you wish.
//---------------------------------------------------------------------------------------------------------------------------------------------------------