home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / Chip_1999-09_cd.bin / sharewar / markanal / _SETUP.1 / CBS.QCF < prev    next >
Text File  |  1998-11-13  |  15KB  |  282 lines

  1. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  2. // The Market Analyzer for Windows
  3. // (C) Copyright 1994, 1995, 1996, 1997, 1998
  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.  
  9. // QuoteList Configuration File
  10.  
  11. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  12.  
  13. // The optional timezone indicator sets the timezone for the source of quotes for this page
  14.  
  15. // MAWIN will compare your timezone (see Global Setup button) with the page timezone
  16. // and adjust the default date and timestamps to the date and time at the page location
  17.  
  18. Timezone=R
  19.  
  20. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  21.  
  22. // This optional entry allows quote companies to be added to the quotelist which are found
  23. // in the page.  It would normally be applicable to a download by_page.
  24. // The default is Off.
  25.  
  26. //Add_Quote_Requests_to_QuoteList_from_Page=On
  27.  
  28. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  29.  
  30. // This optional entry activates a mode useful for options pages at CBOE to get the symbol
  31. // from the 1st entry in the Quotelist
  32. // This will get the underlying security from the Quotelist 1st entry, and append it to the URL
  33. // below to form the path to the Options page for the indicated underlying security
  34.  
  35. // GetOptionSymbolFromQuoteList=On
  36.  
  37. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  38. // this file contains your Internet Site Path (URL) for the root .qtl file;
  39. // defines the download method;
  40. // and contains parsing instructions to be used by the MAWIN generic
  41. // parsing routines
  42.  
  43. // You may edit it as needed if you choose to change the Site used,
  44. // or if the Site format changes
  45.  
  46. // This method of specifying and decoding Web Pages has been chosen to make it
  47. // "easy" to adapt to new pages or changes in pre-defined pages.
  48. // Some users may not wish to get into this level of detail, and others may find
  49. // it easy to use this specifying/formatting scheme to add new pages to your
  50. // daily downloads, or just to keep up with changes.
  51.  
  52. // If you do not wish modify these files, pre-defined files and updates may become 
  53. // available in the near future.
  54.  
  55. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  56. // This is the Site URL including any prefix characters up to the qutoes to be added,
  57. // which will come from the .qtl file automatically as it executes
  58.  
  59. Page=http://cbs.marketwatch.com/http2_data/squote.htx?source=htx%2Fhttp2_mw&ticker=
  60. //Append-&tables=TABLE
  61.  
  62. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  63. // This is the Site URL for the Browser Direct Link.
  64. // Note:  http:// is included
  65. // To distinguish this optional input, it must be preceeded by BrowserLink=
  66.  
  67. BrowserLink=http://cbs.marketwatch.com/http2_data/squote.htx?source=htx%2Fhttp2_mw&ticker=
  68.  
  69. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  70. // This is the Site URL for the Symbol Search page.
  71. // You will need this to use the automatic Symbol Search option
  72. // which will come from the .qtl file automatically as it executes
  73. // Note:  http:// is included
  74. // To distinguish this optional input, it must be preceeded by SymSearch=
  75.  
  76. SymSearch=http://cbs.marketwatch.com/http2_data/lookup.htx?source=htx/http2_mw
  77.  
  78. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  79. // the next entry must define the download method.
  80. // the entry will be either "by_page" or "by_quote"
  81. // "by_page" means the page inherently defines the quote information which will be received.
  82. // these are usually index pages which are predefined.
  83.  
  84. // "by_quote" means the quote requests will be appended from the .qtl file automatically
  85.  
  86. by_quote
  87. //by_page
  88.  
  89. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  90. // Optionally, enter the number of quotes per page this URL supports
  91. // the default will be 10, which for now, will be the maximum allowable
  92. // (this only applies to by_quote, not by_page mode
  93.  
  94. NumQuotesPerPage=10
  95.  
  96. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  97. // the next entry tells MAWIN what delimeter character to add between appended quote symbols
  98.  
  99. // for example:
  100. // www2.merrill-lynch.ml.com/htbin/indlink?tick=dis,hd,xrx,spq
  101. // could be a valid request for this page, and the delimeter ',' is used
  102. // other sites may use '+' or other characters as a delimeter
  103. // for pages only accepting 1 quote per page, a delimeter will not be needed or expected
  104.  
  105. +
  106.  
  107. // (to determine what delimeter is used, bring up the page using your Web Browser,
  108. // request your stock quotes, and observe the delimeter used...usually shown in the
  109. // top text field of your Browser, as a part of the URL.)
  110.  
  111. // if the method is "by_page", enter nothing here; MAWIN will skip this field
  112. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  113. // next, tell MAWIN what character string to look for as a trigger to begin looking for quotes.
  114. // if you decide to customize your own download site, you can pick this string by first bringing
  115. // up the site using a Web Browser, and use "file save" to save the .htm image of the page.
  116. // then, examine the .htm file using any good text editor, such as WordPad, or Notepad.
  117. // first look for a string which will be used as a trigger to begin looking for quotes.
  118. // The trigger phrase is:
  119.  
  120. <table valign=
  121.  
  122. CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  123. //CorrelateBy=Order        // specify how to correlate quote to quotefile
  124.  
  125. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  126. // next, enter the trigger string which indicates the start of a quote
  127. // for this type, it is:
  128.  
  129. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  130. // next, enter the trigger string which indicates the start of a quote
  131. // unless otherwise indicated, this will be required to start the line
  132. // for this type, it is:
  133.  
  134. //TriggerStringStart=Anywhere
  135. TriggerStringStart=Beginning        // default
  136.  
  137. <TD align=
  138.  
  139. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  140. // MAWIN will automatically find quote data fields as specified by format keywords herein:
  141. // The keywords which may be used are:
  142.  
  143. // Numeric Keyword Identifiers:  (case-sensitive)
  144. // Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, openinterest, Date, PE_Ratio, Dividend, and Temp
  145. // "Temp" will be available to be used to store/handle throwaway numerics between quote data
  146. // "Temp" may be used multiple times
  147.  
  148. // Textual Keyword Identifiers:
  149. // Symbol, Co_name, Time, ExpChar, ExpYr
  150.  
  151. // for this file/site, the parsing commands are:
  152. // *C starting in column 1 will allow extra long lines to be entered as a continuation without exceeding 180 max character line length
  153.  
  154. 1        // lines per quote
  155.  
  156. // get rid of some annoying scripts in preprocessing
  157. ReplaceAll=" " with " "
  158. ReplaceAll=" F" with "  "
  159. ReplaceAll=" M" with "  "
  160. ReplaceAll="N/A" with "n/a"
  161. ReplaceAll=" N" with "  "
  162. ReplaceAll=" C" with "  "
  163. // for easy viewing of parsed data, gets rid of a bunch of spaces
  164. ReplaceAll="     " with "  "
  165.  
  166. AutoDate " "              // will search for date field and remove before processing quote
  167. //SetDateFormat=mm/dd
  168. //    Valid formats are:
  169. //        mm/dd/yy    where / is a delimeter / or -    (default)
  170. //    or    mm/dd        current year will be attached
  171. //    or    mmddyy
  172. //    or    mmddyyyy    any order with or without delimeter
  173. //    use / only to indicate delimeter presence
  174. //NoDate            // Do Not look for Date field (none or manual specify)
  175.  
  176. // some quotes have less than 3 spaces between numerics
  177.  
  178. Symbol   2    Close   2    Change   2    Prev    2    Low    2    Hi     2    Volume
  179.  
  180. // Custom Delim Stings may be shown/required here
  181. // number of spaces for delim can also be used, like: Close   3    Bid     (default = 3) 
  182.  
  183. // up to 100 identifier types per quote may be specified
  184. // modifiers may be needed, to make adjustments of scale, such as this case where volume is
  185. // quoted in 1000's of shares, and must be adjusted to shares.
  186. // supported modifiers are '*' and '/'
  187.  
  188. //Volume * 1000
  189.  
  190. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  191. // for this page, there are several types of quotes.
  192. // The next trigger phrase and associated commands are:
  193. // (currently, a maximum of 30 are allowed)
  194.  
  195. <table valign=
  196. CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  197. TriggerStringStart=Beginning        // default
  198. <TD align=left>        // begin looking for new quote pattern
  199. Pass=2            // run thru HTML 2nd time using this format to get some different formats
  200. 1            // lines per quote
  201. AutoDate " "                 // will search for date field and remove before processing quote
  202. Symbol    2    Close    2    Change   2    Prev    2    Low    2    Hi     2    Volume    2    Time
  203.  
  204. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  205. // for this page, there are several types of quotes.
  206. // The next trigger phrase and associated commands are:
  207. // (currently, a maximum of 30 are allowed)
  208.  
  209. <table valign=
  210. CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  211. TriggerStringStart=Beginning        // default
  212. <TD align=left>        // begin looking for new quote pattern
  213. Pass=3            // run thru HTML 2nd time using this format to get some different formats
  214. 1            // lines per quote
  215. AutoDate " "                  // will search for date field and remove before processing quote
  216. Symbol    2    Close      2     Change
  217.  
  218. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  219. // for this page, there are several types of quotes.
  220. // The next trigger phrase and associated commands are:
  221. // (currently, a maximum of 30 are allowed)
  222.  
  223. <table valign=
  224. CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  225. TriggerStringStart=Beginning        // default
  226. <TD align=left>        // begin looking for new quote pattern
  227. Pass=4            // run thru HTML 2nd time using this format to get some different formats
  228. 1            // lines per quote
  229. AutoDate " "                 // will search for date field and remove before processing quote
  230. Symbol    2    Close    2    Change    2    Prev     2     Low     2     Hi    2     Bid    2    Ask     2     Volume     2     Time
  231.  
  232. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  233. // for this page, there are several types of quotes.
  234. // The next trigger phrase and associated commands are:
  235. // (currently, a maximum of 30 are allowed)
  236.  
  237. <table valign=
  238. CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  239. TriggerStringStart=Beginning        // default
  240. <TD align=left>        // begin looking for new quote pattern
  241. Pass=5            // run thru HTML 2nd time using this format to get some different formats
  242. 1            // lines per quote
  243. AutoDate " "                 // will search for date field and remove before processing quote
  244. Symbol    2    Close    2    Change    2    Prev     2     Low     2     Hi    2     Bid    2    Ask    2    Volume
  245.  
  246. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  247. // for this page, there are several types of quotes.
  248. // The next trigger phrase and associated commands are:
  249. // (currently, a maximum of 30 are allowed)
  250.  
  251. <table valign=
  252. CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  253. TriggerStringStart=Beginning        // default
  254. <TD align=left>        // begin looking for new quote pattern
  255. Pass=6            // run thru HTML 2nd time using this format to get some different formats
  256. 1            // lines per quote
  257. AutoDate " "                 // will search for date field and remove before processing quote
  258. Symbol    2    Close    2    Change    2    Prev     2     Low     2     Hi    2     Bid    2    Volume     2     Time
  259.  
  260. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  261. // for this page, there are several types of quotes.
  262. // The next trigger phrase and associated commands are:
  263. // (currently, a maximum of 30 are allowed)
  264.  
  265. <table valign=
  266. CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  267. TriggerStringStart=Beginning        // default
  268. <TD align=left>        // begin looking for new quote pattern
  269. Pass=7            // run thru HTML 2nd time using this format to get some different formats
  270. 1            // lines per quote
  271. AutoDate " "                 // will search for date field and remove before processing quote
  272. Symbol    2    Close    2    Change    2    Prev     2     Low     2     Hi
  273.  
  274. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  275.  
  276. // If you have pulled up this file by external brousing, note that it is also accessable
  277. // under the options menu from the MAWIN market analysis environment.
  278.  
  279. // lines which begin with // are ignored, and may be eliminated or reordered as you wish.
  280.  
  281. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  282.