home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 September
/
Chip_1999-09_cd.bin
/
sharewar
/
markanal
/
_SETUP.1
/
ForeignShares.QCF
< prev
next >
Wrap
Text File
|
1999-02-12
|
12KB
|
252 lines
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// The Market Analyzer for Windows
// (C) Copyright 1994, 1995, 1996, 1997, 1998, 1999
// by Jim Dowdle
// Methods shown herein may be used for no other purpose than
// creating and modifying configuration files for use with this product.
// note: characters following // will be interpreted as comments.
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// QuoteList Configuration File
// for SWX Market Information / Foreigh Shares
// Located at: http://www.swx.ch/quote/e32.html
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// 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.
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// The 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=A
// see: http://aa.usno.navy.mil/AA/faq/docs/world_tzones.html
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// 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 is the I/O formatting section
// The keywords which may be used are:
// Numeric Keyword Identifiers:
// future: Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date, PE_Ratio, Dividend, and Earnings.
// now: Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date.
// Textual Keyword Identifiers:
// Symbol, Co_name, Time
// Note that just specifying output will not obtain it....it must be available from the chosen page, and must be
// specified further below.
// Output format:
// If none is specified, the format will be:
// Date Hi Low Close Volume Time
//OutputFormat=Date Open Hi Low Close Volume Time
OutputFormat=Date Hi Low Close Volume Time
// fields will be delimeted by fill spaces to the following positions by default:
// field positions by field number: 0, 15, 29, 41, 54, 66, 78, 90, 102, 114, 126
OutputFieldPositions= 0, 15, 29, 41, 54, 66, 78, 90, 102, 114, 126
// the default output delimeter will be spaces
OutputDelimeter=spaces
// alternatively, comma delimeted output may be used, with no spaces
//OutputDelimeter=comma
// A header section normally preceeds the data in a historical quote file,
// and the header may now be customized or eliminated.
// If no header specifier statement is provided, the default header will be
// obtained from file Header.day
Header=Header.day
// Header=none
// Input format: (for imports)
// future InputFormat=Date Open Hi Low Close Volume Time
// there is no need for an input delimeter specification
// mawin will use either >1 space, or comma delimeted.
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// This is the Site URL (for the quote page) including any prefix characters up to the qutoes to be added,
// which will come from the .qtl file automatically as it executes
Page=http://www.swx.ch/quote/e32.html
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// 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://www.swx.ch/quote/e32.html
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// 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://www.swx.ch/quote/e32.html
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// 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_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
//NumQuotesPerPage=10
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// 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
//+
// (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.
// for this page, there are two types of quotes. The first trigger phrase is:
//StartTrigger=None
GroupTrigger=------
CorrelateBy=Symbol // specify how to correlate quote to quotefile
//CorrelateBy=Order // specify how to correlate quote to quotefile
//CorrelateBy=Co_Name // 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
TriggerString=None
//<TR><TD>
//---------------------------------------------------------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// MAWIN will automatically find quote data fields as specified by format keywords herein:
// The keywords which may be used are:
// Numeric Keyword Identifiers:
// Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date, PE_Ratio, Dividend, Earnings, 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
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// for this file/site, the parsing commands are:
1 // lines per quote
// reduce # of resulting spaces in line to keep line reasonably short
// (keep minumum of 3 spaces between fields....no more are needed)
ReplaceAll=" " with " "
ReplaceAll="'" with ""
//AutoDate // will search for date field and remove before processing quote
NoDate // Do Not look for Date field (none or manual specify)
Symbol 2 Co_name Close Hi Low Volume
//*C Temp Temp Temp Temp Temp Temp Temp Temp Temp Temp Temp
// up to 20 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 30 are allowed)
//GroupTrigger=Full name
//CorrelateBy=Symbol // specify how to correlate quote to quotefile
//TriggerStringStart=Beginning // default
//<TR><TD>
//Pass=2 // run thru HTML 2nd time using this format to get some different formats
//1 // lines per quote
// take out -- chars, leaving (2) unique NC fields
//ReplaceAll="--" with ""
//ReplaceAll="0.0 NC" with "0.0"
//NoDate // Do Not look for Date field (none or manual specify)
//Co_name Symbol Close Temp Temp
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// 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.
//---------------------------------------------------------------------------------------------------------------------------------------------------------