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