home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / Chip_1999-09_cd.bin / sharewar / markanal / _SETUP.1 / indices.qcf < prev    next >
Text File  |  1999-03-19  |  13KB  |  281 lines

  1. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  2. // The Market Analyzer for Windows (MAWIN)
  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.  
  9. // QuoteList Configuration File
  10.  
  11. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  12.  
  13. // The 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 file contains your Internet Site Path (URL) for the root .qtl file;
  23. // defines the download method;
  24. // and contains parsing instructions to be used by the MAWIN generic
  25. // parsing routines
  26.  
  27. // You may edit it as needed if you choose to change the Site used,
  28. // or if the Site format changes
  29.  
  30. // This method of specifying and decoding Web Pages has been chosen to make it
  31. // "easy" to adapt to new pages or changes in pre-defined pages.
  32. // Some users may not wish to get into this level of detail, and others may find
  33. // it easy to use this specifying/formatting scheme to add new pages to your
  34. // daily downloads, or just to keep up with changes.
  35.  
  36. // If you do not wish modify these files, pre-defined files and updates may become 
  37. // available in the near future.
  38.  
  39. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  40. // This is the Site URL including any prefix characters up to the qutoes to be added,
  41. // which will come from the .qtl file automatically as it executes
  42.  
  43. http://quote301.fidelity.com:80/fq/quotes/quote.asp?symbols=
  44.  
  45. //Suffix="e_type=basic
  46.  
  47. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  48. // This is the Site URL for the Browser Direct Link.
  49. // Note:  http:// is included
  50. // To distinguish this optional input, it must be preceeded by BrowserLink=
  51.  
  52. BrowserLink=http://personal461.fidelity.com:80/news/quotes/
  53.  
  54. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  55. // This is the Site URL for the Symbol Search page.
  56. // You will need this to use the automatic Symbol Search option
  57. // which will come from the .qtl file automatically as it executes
  58. // Note:  http:// is included
  59. // To distinguish this optional input, it must be preceeded by SymSearch=
  60.  
  61. SymSearch=http://quote301.fidelity.com:80/fq/quotes/symblookup.asp?refer=quote
  62.  
  63. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  64. // the next entry must define the download method.
  65. // the entry will be either "by_page" or "by_quote"
  66. // "by_page" means the page inherently defines the quote information which will be received.
  67. // these are usually index pages which are predefined.
  68.  
  69. // "by_quote" means the quote requests will be appended from the .qtl file automatically
  70.  
  71. by_quote
  72.  
  73. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  74. // the next entry tells MAWIN what delimeter character to add between appended quote symbols
  75.  
  76. // for example:
  77. // www2.merrill-lynch.ml.com/htbin/indlink?tick=dis,hd,xrx,spq
  78. // could be a valid request for this page, and the delimeter ',' is used
  79. // other sites may use '+' or other characters as a delimeter
  80.  
  81. +
  82.  
  83. // (to determine what delimeter is used, bring up the page using your Web Browser,
  84. // request your stock quotes, and observe the delimeter used...usually shown in the
  85. // top text field of your Browser, as a part of the URL.)
  86.  
  87. // if the method is "by_page", enter nothing here; MAWIN will skip this field
  88. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  89. // 1st Quote Type...funds
  90. // for funds...do these 1st....some will pass as stock quotes
  91. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  92. // next, tell MAWIN what character string to look for as a trigger to begin looking for quotes.
  93. // if you decide to customize your own download site, you can pick this string by first bringing
  94. // up the site using a Web Browser, and use "file save" to save the .htm image of the page.
  95. // then, examine the .htm file using any good text editor, such as WordPad, or Notepad.
  96. // first look for a string which will be used as a trigger to begin looking for quotes.
  97. // for this page, there are two types of quotes.  The first trigger phrase is:
  98.  
  99. GroupTrigger=display the detailed quote data
  100.  
  101. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  102. // next, enter the trigger string which indicates the start of a quote
  103. // for this type, it is:
  104.  
  105. //TriggerStringStart=Anywhere
  106. TriggerStringStart=Beginning        // default
  107. <TABLE BORDER=
  108. ExitCriteria=Fund Number
  109.  
  110. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  111. // MAWIN will automatically find quote data fields as specified by format keywords herein:
  112. // The keywords which may be used are:
  113.  
  114. // Numeric Keyword Identifiers:
  115. // Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date, PE_Ratio, Dividend, and Temp
  116. // "Temp" will be available to be used to store/handle throwaway numerics between quote data
  117. // "Temp" may be used multiple times
  118.  
  119. // Textual Keyword Identifiers:
  120. // Symbol, Co_name, Time
  121.  
  122. // for this file/site, the parsing commands are:
  123.  
  124. 18                        // lines per quote
  125.  
  126. // so it will be found in the middle of a quote read
  127. //ReplaceAll="<TABLE BORDER=" with "TABLE BORDER=<"
  128. //
  129. ReplaceAll="N/A" with "0"
  130.  
  131. //ReplaceAll=", " with " "
  132.  
  133. ReplaceAll=", 1999, " with "/1999     "
  134. ReplaceAll=", 2000, " with "/2000     "
  135. ReplaceAll=", 2001, " with "/2001     "
  136. ReplaceAll=", 2002, " with "/2002     "
  137.  
  138. ReplaceAll=", 1999" with "/1999     "
  139. ReplaceAll=", 2000" with "/2000     "
  140. ReplaceAll=", 2001" with "/2001     "
  141. ReplaceAll=", 2002" with "/2002     "
  142.  
  143. ReplaceAll=" " with "     "
  144.  
  145. ReplaceAll="(PRE" with ""
  146.  
  147. ReplaceAll=")" with ""
  148.  
  149. ReplaceAll="Jan " with "01/"
  150. ReplaceAll="Feb " with "02/"
  151. ReplaceAll="Mar " with "03/"
  152. ReplaceAll="Apr " with "04/"
  153. ReplaceAll="May " with "05/"
  154. ReplaceAll="Jun " with "06/"
  155. ReplaceAll="Jul " with "07/"
  156. ReplaceAll="Aug " with "08/"
  157. ReplaceAll="Sep " with "09/"
  158. ReplaceAll="Oct " with "10/"
  159. ReplaceAll="Nov " with "11/"
  160. ReplaceAll="Dec " with "12/"
  161.  
  162. //AutoDate             // will search for date field and remove before processing quote
  163. NoDate            // Do Not look for Date field (none or manual specify)
  164. //SetDateFormat=mondd/yyyy
  165. //    Valid formats are:
  166. //        mm/dd/yy    where / is a delimeter / or -    (default)
  167. //    or    mm/dd        current year will be attached
  168. //    or    mmddyy
  169. //    or    mmddyyyy    any order with or without delimeter
  170. //    or    day-mon-year
  171. //    use / only to indicate delimeter presence
  172.  
  173. ScreenForNumerics        // option throws out non-numerics in numeric positions, simplifying parse setup
  174.  
  175.  
  176.     Co_name(    Symbol    Date    Close        Change    
  177. *C    Dividend    
  178.  
  179. // up to 20 identifier types per quote may be specified
  180. // modifiers may be needed, to make adjustments of scale, such as this case where volume is
  181. // quoted in 1000's of shares, and must be adjusted to shares.
  182. // supported modifiers are '*' and '/'
  183.  
  184. // Volume * 1000
  185.  
  186. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  187. // 2nd Quote Type....Stocks
  188. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  189.  
  190. GroupTrigger=display the detailed quote data
  191.  
  192. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  193. // next, enter the trigger string which indicates the start of a quote
  194. // for this type, it is:
  195.  
  196. //TriggerStringStart=Anywhere
  197. TriggerStringStart=Beginning        // default
  198. //<TD HEIGHT=
  199. <TABLE BORDER=
  200. ExitCriteria=Fund Number
  201.  
  202. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  203. // MAWIN will automatically find quote data fields as specified by format keywords herein:
  204. // The keywords which may be used are:
  205.  
  206. // Numeric Keyword Identifiers:
  207. // Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date, PE_Ratio, Dividend, and Temp
  208. // "Temp" will be available to be used to store/handle throwaway numerics between quote data
  209. // "Temp" may be used multiple times
  210.  
  211. // Textual Keyword Identifiers:
  212. // Symbol, Co_name, Time
  213.  
  214. // for this file/site, the parsing commands are:
  215.  
  216. Pass=2            // run thru HTML 2nd time using this format to get some different formats
  217. 62                        // lines per quote
  218.  
  219. //AutoDate             // will search for date field and remove before processing quote
  220. NoDate            // Do Not look for Date field (none or manual specify)
  221. //SetDateFormat=mondd/yyyy
  222. //    Valid formats are:
  223. //        mm/dd/yy    where / is a delimeter / or -    (default)
  224. //    or    mm/dd        current year will be attached
  225. //    or    mmddyy
  226. //    or    mmddyyyy    any order with or without delimeter
  227. //    or    day-mon-year
  228. //    use / only to indicate delimeter presence
  229.  
  230.     Co_name(    Symbol    Date    Time    Close        Volume    Change    Num    Num    Num
  231. *C    Bid    Num    Dividend    Ask    PE_Ratio
  232. *C    Temp    Temp    Temp    Temp    Temp    Temp    Temp    Temp    Temp    Temp    Temp    Temp    Temp    Temp    Temp
  233. *C    Open    Hi    Low
  234.  
  235. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  236. // 3rd Quote Type....Indices
  237. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  238.  
  239. GroupTrigger=display the detailed quote data
  240.  
  241. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  242. // next, enter the trigger string which indicates the start of a quote
  243. // for this type, it is:
  244.  
  245. //TriggerStringStart=Anywhere
  246. TriggerStringStart=Beginning        // default
  247. <table BORDER=
  248. ExitCriteria=Fund Number
  249.  
  250. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  251. // MAWIN will automatically find quote data fields as specified by format keywords herein:
  252. // The keywords which may be used are:
  253.  
  254. // Numeric Keyword Identifiers:
  255. // Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date, PE_Ratio, Dividend, and Temp
  256. // "Temp" will be available to be used to store/handle throwaway numerics between quote data
  257. // "Temp" may be used multiple times
  258.  
  259. // Textual Keyword Identifiers:
  260. // Symbol, Co_name, Time
  261.  
  262. // for this file/site, the parsing commands are:
  263.  
  264. Pass=3            // run thru HTML 2nd time using this format to get some different formats
  265. 20                        // lines per quote
  266.  
  267. //AutoDate             // will search for date field and remove before processing quote
  268. NoDate            // Do Not look for Date field (none or manual specify)
  269. //SetDateFormat=mondd/yyyy
  270. //    Valid formats are:
  271. //        mm/dd/yy    where / is a delimeter / or -    (default)
  272. //    or    mm/dd        current year will be attached
  273. //    or    mmddyy
  274. //    or    mmddyyyy    any order with or without delimeter
  275. //    or    day-mon-year
  276. //    use / only to indicate delimeter presence
  277.  
  278.     Co_name(    Symbol    Date    Time    Close        Prev        Change    Open       Hi        Low
  279.  
  280. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  281.