home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / Chip_1999-09_cd.bin / sharewar / markanal / _SETUP.1 / SwissShares.QCF < prev    next >
Text File  |  1999-02-12  |  12KB  |  252 lines

  1. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  2. // The Market Analyzer for Windows
  3. // (C) Copyright 1994, 1995, 1996, 1997, 1998, 1999
  4. //     by Jim Dowdle
  5. // Methods shown herein may be used for no other purpose than
  6. // creating and modifying configuration files for use with this product.
  7.  
  8. // note:  characters following // will be interpreted as comments.
  9.  
  10. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  11.  
  12. // QuoteList Configuration File
  13.  
  14. // for Swiss Shares Site
  15.  
  16. // Located at: http://www.swx.ch/quote/e31.html
  17.  
  18. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  19.  
  20. // this file contains your Internet Site Path (URL) for the root .qtl file;
  21. // defines the download method;
  22. // and contains parsing instructions to be used by the MAWIN generic
  23. // parsing routines
  24.  
  25. // You may edit it as needed if you choose to change the Site used,
  26. // or if the Site format changes
  27.  
  28. // This method of specifying and decoding Web Pages has been chosen to make it
  29. // "easy" to adapt to new pages or changes in pre-defined pages.
  30. // Some users may not wish to get into this level of detail, and others may find
  31. // it easy to use this specifying/formatting scheme to add new pages to your
  32. // daily downloads, or just to keep up with changes.
  33.  
  34. // If you do not wish modify these files, pre-defined files and updates may become 
  35. // available in the near future.
  36.  
  37. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  38.  
  39. // The timezone indicator sets the timezone for the source of quotes for this page
  40.  
  41. // MAWIN will compare your timezone (see Global Setup button) with the page timezone
  42. // and adjust the default date and timestamps to the date and time at the page location
  43.  
  44. Timezone=A
  45. // see: http://aa.usno.navy.mil/AA/faq/docs/world_tzones.html
  46.  
  47. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  48.  
  49. // This optional entry allows quote companies to be added to the quotelist which are found
  50. // in the page.  It would normally be applicable to a download by_page.
  51. // The default is Off.
  52.  
  53. Add_Quote_Requests_to_QuoteList_from_Page=On
  54.  
  55. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  56. // This is the I/O formatting section
  57.  
  58. // The keywords which may be used are:
  59.  
  60. // Numeric Keyword Identifiers:
  61. // future: Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date, PE_Ratio, Dividend, and Earnings.
  62. // now: Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date.
  63.  
  64. // Textual Keyword Identifiers:
  65. // Symbol, Co_name, Time
  66.  
  67. // Note that just specifying output will not obtain it....it must be available from the chosen page, and must be
  68. // specified further below.
  69.  
  70. // Output format:
  71.  
  72. // If none is specified, the format will be:
  73.  
  74. // Date   Hi   Low   Close   Volume   Time
  75.  
  76. //OutputFormat=Date   Open   Hi   Low   Close   Volume   Time
  77. OutputFormat=Date   Hi   Low   Close   Volume   Time
  78.  
  79. // fields will be delimeted by fill spaces to the following positions by default:
  80. // field positions by field number: 0, 15, 29, 41, 54, 66, 78, 90, 102, 114, 126
  81.  
  82. OutputFieldPositions= 0, 15, 29, 41, 54, 66, 78, 90, 102, 114, 126
  83.  
  84. // the default output delimeter will be spaces
  85. OutputDelimeter=spaces
  86. // alternatively, comma delimeted output may be used, with no spaces
  87. //OutputDelimeter=comma
  88.  
  89. // A header section normally preceeds the data in a historical quote file,
  90. // and the header may now be customized or eliminated.
  91.  
  92. // If no header specifier statement is provided, the default header will be 
  93. // obtained from file Header.day
  94.  
  95. Header=Header.day
  96. // Header=none
  97.  
  98.  
  99. // Input format: (for imports)
  100.  
  101. // future InputFormat=Date   Open   Hi   Low   Close   Volume   Time  
  102.  
  103. // there is no need for an input delimeter specification
  104. // mawin will use either >1 space, or comma delimeted.
  105.  
  106. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  107. // This is the Site URL (for the quote page) including any prefix characters up to the qutoes to be added,
  108. // which will come from the .qtl file automatically as it executes
  109.  
  110. Page=http://www.swx.ch/quote/e31.html
  111.  
  112. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  113. // This is the Site URL for the Browser Direct Link.
  114. // Note:  http:// is included
  115. // To distinguish this optional input, it must be preceeded by BrowserLink=
  116.  
  117. BrowserLink=http://www.swx.ch/quote/e31.html
  118.  
  119. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  120. // This is the Site URL for the Symbol Search page.
  121. // You will need this to use the automatic Symbol Search option
  122. // which will come from the .qtl file automatically as it executes
  123. // Note:  http:// is included
  124. // To distinguish this optional input, it must be preceeded by SymSearch=
  125.  
  126. SymSearch=http://www.swx.ch/quote/e31.html
  127.  
  128. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  129. // the next entry must define the download method.
  130. // the entry will be either "by_page" or "by_quote"
  131. // "by_page" means the page inherently defines the quote information which will be received.
  132. // these are usually index pages which are predefined.
  133.  
  134. // "by_quote" means the quote requests will be appended from the .qtl file automatically
  135.  
  136. by_page
  137.  
  138. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  139. // Optionally, enter the number of quotes per page this URL supports
  140. // the default will be 10, which for now, will be the maximum allowable
  141.  
  142. //NumQuotesPerPage=10
  143.  
  144. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  145. // the next entry tells MAWIN what delimeter character to add between appended quote symbols
  146.  
  147. // for example:
  148. // www2.merrill-lynch.ml.com/htbin/indlink?tick=dis,hd,xrx,spq
  149. // could be a valid request for this page, and the delimeter ',' is used
  150. // other sites may use '+' or other characters as a delimeter
  151.  
  152. //+
  153.  
  154. // (to determine what delimeter is used, bring up the page using your Web Browser,
  155. // request your stock quotes, and observe the delimeter used...usually shown in the
  156. // top text field of your Browser, as a part of the URL.)
  157.  
  158. // if the method is "by_page", enter nothing here; MAWIN will skip this field
  159. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  160. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  161. // next, tell MAWIN what character string to look for as a trigger to begin looking for quotes.
  162. // if you decide to customize your own download site, you can pick this string by first bringing
  163. // up the site using a Web Browser, and use "file save" to save the .htm image of the page.
  164. // then, examine the .htm file using any good text editor, such as WordPad, or Notepad.
  165. // first look for a string which will be used as a trigger to begin looking for quotes.
  166. // for this page, there are two types of quotes.  The first trigger phrase is:
  167.  
  168. //StartTrigger=None
  169. GroupTrigger=------
  170. CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  171. //CorrelateBy=Order        // specify how to correlate quote to quotefile
  172. //CorrelateBy=Co_Name        // specify how to correlate quote to quotefile
  173.  
  174. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  175. // next, enter the trigger string which indicates the start of a quote
  176. // for this type, it is:
  177.  
  178. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  179. // next, enter the trigger string which indicates the start of a quote
  180. // unless otherwise indicated, this will be required to start the line
  181. // for this type, it is:
  182.  
  183. //TriggerStringStart=Anywhere
  184. TriggerStringStart=Beginning        // default
  185. TriggerString=None
  186. //<TR><TD>
  187.  
  188. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  189. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  190. // MAWIN will automatically find quote data fields as specified by format keywords herein:
  191. // The keywords which may be used are:
  192.  
  193. // Numeric Keyword Identifiers:
  194. // Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date, PE_Ratio, Dividend, Earnings, and Temp
  195. // "Temp" will be available to be used to store/handle throwaway numerics between quote data
  196. // "Temp" may be used multiple times
  197.  
  198. // Textual Keyword Identifiers:
  199. // Symbol, Co_name, Time
  200.  
  201. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  202. // for this file/site, the parsing commands are:
  203.  
  204. 1                        // lines per quote
  205.  
  206. // reduce # of resulting spaces in line to keep line reasonably short
  207. // (keep minumum of 3 spaces between fields....no more are needed)
  208. ReplaceAll="     " with "   "
  209. ReplaceAll="'" with ""
  210.  
  211. //AutoDate          // will search for date field and remove before processing quote
  212. NoDate            // Do Not look for Date field (none or manual specify)
  213.  
  214. Symbol       2     Co_name        Close        Hi        Low        Volume
  215. //*C  Temp    Temp    Temp   Temp    Temp    Temp     Temp      Temp     Temp      Temp     Temp
  216.  
  217. // up to 20 identifier types per quote may be specified
  218. // modifiers may be needed, to make adjustments of scale, such as this case where volume is
  219. // quoted in 1000's of shares, and must be adjusted to shares.
  220. // supported modifiers are '*' and '/'
  221.  
  222. //Volume * 1000
  223.  
  224. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  225. // for this page, there are several types of quotes.
  226. // The next trigger phrase and associated commands are:
  227. // (currently, a maximum of 30 are allowed)
  228.  
  229. //GroupTrigger=Full name
  230. //CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  231. //TriggerStringStart=Beginning        // default
  232. //<TR><TD>
  233. //Pass=2            // run thru HTML 2nd time using this format to get some different formats
  234. //1                        // lines per quote
  235.  
  236. // take out -- chars, leaving (2) unique NC fields
  237. //ReplaceAll="--" with ""
  238. //ReplaceAll="0.0 NC" with "0.0"
  239.  
  240. //NoDate            // Do Not look for Date field (none or manual specify)
  241. //Co_name        Symbol    Close        Temp        Temp
  242.  
  243. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  244. // If you have pulled up this file by external brousing, note that it is also accessable
  245. // under the options menu from the MAWIN market analysis environment.
  246.  
  247. // lines which begin with // are ignored, and may be eliminated or reordered as you wish.
  248.  
  249. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  250.  
  251.  
  252.