home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / Chip_1999-09_cd.bin / sharewar / markanal / _SETUP.1 / TextParse.QCF < prev    next >
Text File  |  1998-06-04  |  12KB  |  249 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. // Customized for Text Quote File Parsing (not downloading, parsing of externally downloaded file
  12.  
  13. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  14.  
  15. // this file contains your Internet Site Path (URL) for the root .qtl file;
  16. // defines the download method;
  17. // and contains parsing instructions to be used by the MAWIN generic
  18. // parsing routines
  19.  
  20. // You may edit it as needed if you choose to change the Site used,
  21. // or if the Site format changes
  22.  
  23. // This method of specifying and decoding Web Pages has been chosen to make it
  24. // "easy" to adapt to new pages or changes in pre-defined pages.
  25. // Some users may not wish to get into this level of detail, and others may find
  26. // it easy to use this specifying/formatting scheme to add new pages to your
  27. // daily downloads, or just to keep up with changes.
  28.  
  29. // If you do not wish modify these files, pre-defined files and updates may become 
  30. // available in the near future.
  31.  
  32. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  33.  
  34. // The optional timezone indicator sets the timezone for the source of quotes for this page
  35.  
  36. // MAWIN will compare your timezone (see Global Setup button) with the page timezone
  37. // and adjust the default date and timestamps to the date and time at the page location
  38.  
  39. //Timezone=A
  40.  
  41. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  42.  
  43. // This optional entry allows quote companies to be added to the quotelist which are found
  44. // in the page.  It would normally be applicable to a download by_page.
  45. // The default is Off.
  46.  
  47. Add_Quote_Requests_to_QuoteList_from_Page=On
  48.  
  49. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  50.  
  51. // This optional entry activates a mode useful for options pages at CBOE to get the symbol
  52. // from the 1st entry in the Quotelist
  53. // This will get the underlying security from the Quotelist 1st entry, and append it to the URL
  54. // below to form the path to the Options page for the indicated underlying security
  55.  
  56. // GetOptionSymbolFromQuoteList=On
  57.  
  58. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  59. // This is the I/O formatting section
  60.  
  61. // The keywords which may be used are:
  62.  
  63. // Numeric Keyword Identifiers:
  64. // future: Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date, PE_Ratio, Dividend, and Earnings.
  65. // now: Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, Date.
  66.  
  67. // Textual Keyword Identifiers:
  68. // Symbol, Co_name, Time
  69.  
  70. // Note that just specifying output will not obtain it....it must be available from the chosen page, and must be
  71. // specified further below.
  72.  
  73. // Output format:
  74.  
  75. // If none is specified, the format will be:
  76.  
  77. // Date   Hi   Low   Close   Volume   Time
  78.  
  79. //OutputFormat=Date   Open   Hi   Low   Close   Volume   Time
  80. OutputFormat=Date   Hi   Low   Close   Volume   Time
  81.  
  82. // fields will be delimeted by fill spaces to the following positions by default:
  83. // field positions by field number: 0, 11, 24, 37, 50, 62, 74, 86, 98, 110, 122
  84.  
  85. OutputFieldPositions= 0, 11, 24, 37, 50, 62, 74, 86, 98, 110, 122
  86.  
  87. // the default output delimeter will be spaces
  88. OutputDelimeter=spaces
  89. // alternatively, comma delimeted output may be used, with no spaces
  90. //OutputDelimeter=comma
  91.  
  92. // A header section normally preceeds the data in a historical quote file,
  93. // and the header may now be customized or eliminated.
  94.  
  95. // If no header specifier statement is provided, the default header will be 
  96. // obtained from file Header.day
  97.  
  98. Header=Header.day
  99. // Header=none
  100.  
  101.  
  102. // Input format: (for imports)
  103.  
  104. // future InputFormat=Date   Open   Hi   Low   Close   Volume   Time  
  105.  
  106. // there is no need for an input delimeter specification
  107. // mawin will use either >1 space, or comma delimeted.
  108.  
  109. //ExportFormat=Date   Hi   Low   Close   Volume   Time
  110.  
  111. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  112. // This is the Site URL including any prefix characters up to the qutoes to be added,
  113. // which will come from the .qtl file automatically as it executes
  114.  
  115. // enter text file for parsing here instead of URL
  116. // can be full path name or relative
  117.  
  118. File=Imports\980507.stk
  119. //File=Imports\
  120.  
  121. // for this page, the date must be appended, in the following format 
  122. // (this will be done automatically by MAWIN, due to the following instruction
  123.  
  124. // comment out this line if a fixed date above is used
  125. //AppendDate=yymmdd
  126.  
  127. // now, after the variable date, the following fixed string must be added:
  128.  
  129. // comment out this line if a fixed date above is used
  130. //Append=.stk
  131.  
  132. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  133. // This is the Site URL for the Browser Direct Link.
  134. // Note:  http:// is included
  135. // To distinguish this optional input, it must be preceeded by BrowserLink=
  136.  
  137. //BrowserLink=http://www.afv.se/eng/aktie/alfalista.stm
  138.  
  139. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  140. // This is the Site URL for the Symbol Search page.
  141. // You will need this to use the automatic Symbol Search option
  142. // which will come from the .qtl file automatically as it executes
  143. // Note:  http:// is included
  144. // To distinguish this optional input, it must be preceeded by SymSearch=
  145.  
  146. //SymSearch=http://www.afv.se/eng/aktie/
  147.  
  148. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  149. // the next entry must define the download method.
  150. // the entry will be either "by_page" or "by_quote"
  151. // "by_page" means the page inherently defines the quote information which will be received.
  152. // these are usually index pages which are predefined.
  153.  
  154. // "by_quote" means the quote requests will be appended from the .qtl file automatically
  155.  
  156. //by_quote
  157. by_page
  158.  
  159. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  160. // Optionally, enter the number of quotes per page this URL supports
  161. // the default will be 10, which for now, will be the maximum allowable
  162. // (this only applies to by_quote, not by_page mode
  163.  
  164. //NumQuotesPerPage=1
  165.  
  166. // the next entry tells MAWIN what delimeter character to add between appended quote symbols
  167.  
  168. // for example:
  169. // www2.merrill-lynch.ml.com/htbin/indlink?tick=dis,hd,xrx,spq
  170. // could be a valid request for this page, and the delimeter ',' is used
  171. // other sites may use '+' or other characters as a delimeter
  172. // for pages only accepting 1 quote per page, a delimeter will not be needed or expected
  173.  
  174. //,
  175.  
  176. // (to determine what delimeter is used, bring up the page using your Web Browser,
  177. // request your stock quotes, and observe the delimeter used...usually shown in the
  178. // top text field of your Browser, as a part of the URL.)
  179.  
  180. // if the method is "by_page", enter nothing here; MAWIN will skip this field
  181. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  182. // next, tell MAWIN what character string to look for as a trigger to begin looking for quotes.
  183. // if you decide to customize your own download site, you can pick this string by first bringing
  184. // up the site using a Web Browser, and use "file save" to save the .htm image of the page.
  185. // then, examine the .htm file using any good text editor, such as WordPad, or Notepad.
  186. // first look for a string which will be used as a trigger to begin looking for quotes.
  187. // for this page, there are two types of quotes.  The first trigger phrase is:
  188.  
  189. //Ticker
  190. StartTrigger=None
  191.  
  192. CorrelateBy=Order        // specify how to correlate quote to quotefile
  193.  
  194. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  195. // next, enter the trigger string which indicates the start of a quote
  196. // for this type, it is:
  197.  
  198. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  199. // next, enter the trigger string which indicates the start of a quote
  200. // unless otherwise indicated, this will be required to start the line
  201. // for this type, it is:
  202.  
  203. //TriggerStringStart=Anywhere
  204. TriggerStringStart=Beginning        // default
  205. TriggerString=None
  206.  
  207. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  208. // MAWIN will automatically find quote data fields as specified by format keywords herein:
  209. // The keywords which may be used are:
  210.  
  211. // Numeric Keyword Identifiers:  (case-sensitive)
  212. // Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, openinterest, Date, PE_Ratio, Dividend, and Temp
  213. // "Temp" will be available to be used to store/handle throwaway numerics between quote data
  214. // "Temp" may be used multiple times
  215.  
  216. // Textual Keyword Identifiers:
  217. // Symbol, Co_name, Time, ExpChar, ExpYr
  218.  
  219. // for this file/site, the parsing commands are:
  220. // *C starting in column 1 will allow extra long lines to be entered as a continuation without exceeding 180 max character line length
  221.  
  222.  
  223. 1        // lines per quote
  224.  
  225. ReplaceAll="," with "     "
  226.  
  227. //AutoDate              // will search for date field and remove before processing quote
  228. //SetDateFormat=mm/dd
  229. //    Valid formats are:
  230. //        mm/dd/yy    where / is a delimeter / or -    (default)
  231. //    or    mm/dd        current year will be attached
  232. //    or    mmddyy
  233. //    or    mmddyyyy    any order with or without delimeter
  234. //    use / only to indicate delimeter presence
  235. NoDate            // Do Not look for Date field (none or manual specify)
  236.  
  237. Symbol     Hi    Low   Close    Open    Volume
  238.  
  239. // Custom Delim Stings are shown/required here
  240. // number of spaces for delim can also be used, like: Close   3    Bid     (default = 3) 
  241.  
  242. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  243. // If you have pulled up this file by external brousing, note that it is also accessable
  244. // under the options menu from the MAWIN market analysis environment.
  245.  
  246. // lines which begin with // are ignored, and may be eliminated or reordered as you wish.
  247.  
  248. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  249.