home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / Chip_1999-09_cd.bin / sharewar / markanal / _SETUP.1 / NZ_INDICES.QCF < prev    next >
Text File  |  1998-12-22  |  12KB  |  247 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. // note:  characters following // will be interpreted as comments.
  9.  
  10. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  11.  
  12. // QuoteList Configuration File
  13.  
  14. // for New Zealand Stockmarket Indices
  15.  
  16. // Located at: http://nzse.nzse.co.nz/indexes.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=K
  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. // Optional change in default header for Quotelist
  57.  
  58. //QtlHeader=SYMBOL   FILE   SECURITY NAME  ALARM   H_ALM  L_ALM  DATE  HI/ASK  LO/BID  CLOSE  CHANGE  VOLUME  TIME  COMMENTS
  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. //OutputFormat=Date   Open   Hi   Low   Close   Volume   Time
  82. OutputFormat=Date   Hi   Low   Close   Volume   Time
  83.  
  84. // fields will be delimeted by fill spaces to the following positions by default:
  85. // field positions by field number: 0, 11, 24, 37, 50, 62, 74, 86, 98, 110, 122
  86.  
  87. OutputFieldPositions= 0, 11, 24, 37, 50, 62, 74, 86, 98, 110, 122
  88.  
  89. // the default output delimeter will be spaces
  90. OutputDelimeter=spaces
  91. // alternatively, comma delimeted output may be used, with no spaces
  92. //OutputDelimeter=comma
  93.  
  94. // A header section normally preceeds the data in a historical quote file,
  95. // and the header may now be customized or eliminated.
  96.  
  97. // If no header specifier statement is provided, the default header will be 
  98. // obtained from file Header.day
  99.  
  100. Header=Header.day
  101. // Header=none
  102.  
  103. // Input format: (for imports)
  104.  
  105. // future InputFormat=Date   Open   Hi   Low   Close   Volume   Time  
  106.  
  107. // there is no need for an input delimeter specification
  108. // mawin will use either >1 space, or comma delimeted.
  109.  
  110. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  111.  
  112. // This server must be accessed before the following server/pages can be successfully accessed!
  113.  
  114. //Primer=http://www.ssmb.com.au
  115.  
  116. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  117. // This is the Site URL (for the quote page) including any prefix characters up to the qutoes to be added,
  118. // which will come from the .qtl file automatically as it executes
  119.  
  120. Page=http://nzse.nzse.co.nz/indexes.html
  121.  
  122. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  123. // This is the Site URL for the Browser Direct Link.
  124. // Note:  http:// is included
  125. // To distinguish this optional input, it must be preceeded by BrowserLink=
  126.  
  127. BrowserLink=http://nzse.nzse.co.nz
  128.  
  129. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  130. // This is the Site URL for the Symbol Search page.
  131. // You will need this to use the automatic Symbol Search option
  132. // which will come from the .qtl file automatically as it executes
  133. // Note:  http:// is included
  134. // To distinguish this optional input, it must be preceeded by SymSearch=
  135.  
  136. SymSearch=http://nzse.nzse.co.nz
  137.  
  138. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  139. // the next entry must define the download method.
  140. // the entry will be either "by_page" or "by_quote"
  141. // "by_page" means the page inherently defines the quote information which will be received.
  142. // these are usually index pages which are predefined.
  143.  
  144. // "by_quote" means the quote requests will be appended from the .qtl file automatically
  145.  
  146. by_page
  147.  
  148. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  149. // Optionally, enter the number of quotes per page this URL supports
  150. // the default will be 10, which for now, will be the maximum allowable
  151.  
  152. //NumQuotesPerPage=1
  153.  
  154. //
  155.  
  156. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  157. // Guess What.....breaks down those long lines! (with no CRLF)
  158.  
  159. EndOfLineString=</td></tr>
  160.  
  161. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  162. // the next entry tells MAWIN what delimeter character to add between appended quote symbols
  163.  
  164. // for example:
  165. // www2.merrill-lynch.ml.com/htbin/indlink?tick=dis,hd,xrx,spq
  166. // could be a valid request for this page, and the delimeter ',' is used
  167. // other sites may use '+' or other characters as a delimeter
  168.  
  169. //+
  170.  
  171. // (to determine what delimeter is used, bring up the page using your Web Browser,
  172. // request your stock quotes, and observe the delimeter used...usually shown in the
  173. // top text field of your Browser, as a part of the URL.)
  174.  
  175. // if the method is "by_page", enter nothing here; MAWIN will skip this field
  176. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  177. // next, tell MAWIN what character string to look for as a trigger to begin looking for quotes.
  178. // if you decide to customize your own download site, you can pick this string by first bringing
  179. // up the site using a Web Browser, and use "file save" to save the .htm image of the page.
  180. // then, examine the .htm file using any good text editor, such as WordPad, or Notepad.
  181. // first look for a string which will be used as a trigger to begin looking for quotes.
  182. // for this page, there are two types of quotes.  The first trigger phrase is:
  183.  
  184. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  185. StartTrigger=None
  186. //GroupTrigger=Capital Index
  187. //CorrelateBy=Symbol        // specify how to correlate quote to quotefile
  188. CorrelateBy=Order        // specify how to correlate quote to quotefile
  189. //CorrelateBy=Co_Name        // specify how to correlate quote to quotefile
  190. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  191. // next, enter the trigger string which indicates the start of a quote
  192. // for this type, it is:
  193. TriggerStringStart=Anywhere
  194. //TriggerStringStart=Beginning        // default
  195. TriggerString=None
  196. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  197. // MAWIN will automatically find quote data fields as specified by format keywords herein:
  198. // The keywords which may be used are:
  199.  
  200. // Numeric Keyword Identifiers:  (case-sensitive)
  201. // Hi, Low, Bid, Ask, Open, Close, Prev, Change, Volume, openinterest, Date, PE_Ratio, Dividend, Num, and Temp
  202. // "Num"  will be available to be used to store/handle throwaway numerics between quote data
  203. // "Temp" will be available to be used to store/handle throwaway text     between quote data
  204. // "Temp" and "Num" may be used multiple times
  205.  
  206. // Textual Keyword Identifiers:
  207. // Symbol, Co_name, Time, ExpChar, ExpYr
  208.  
  209. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  210. // for this file/site, the parsing commands are:
  211.  
  212. 1                        // lines per quote
  213.  
  214. //ReplaceAll="/" with "-"
  215. //AutoDate              // will search for date field and remove before processing quote
  216. NoDate                // Do Not look for Date field (none or manual specify)
  217. ScreenForNumerics        // option throws out non-numerics in numeric positions, simplifying parse setup
  218. Close    Change    Temp        Num        Num        Temp        
  219.  
  220. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  221. // for this page, there are several types of quotes.
  222. // The next trigger phrase and associated commands are:
  223. // (currently, a maximum of 30 are allowed)
  224.  
  225. // for funds...
  226.  
  227. // needs GroupTrigger= to specify, cause Date is a Keyword!  .... put no comments in string line
  228. StartTrigger=None
  229. CorrelateBy=Order        // specify how to correlate quote to quotefile
  230. TriggerStringStart=Anywhere
  231. //TriggerStringStart=Beginning        // default
  232. TriggerString=None
  233.  
  234. Pass=2            // run thru HTML 2nd time using this format to get some different formats
  235. 1            // lines per quote
  236. NoDate                // Do Not look for Date field (none or manual specify)
  237. Num        Num        Temp        Close    Change    Temp
  238.  
  239. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  240. // If you have pulled up this file by external brousing, note that it is also accessable
  241. // under the options menu from the MAWIN market analysis environment.
  242.  
  243. // lines which begin with // are ignored, and may be eliminated or reordered as you wish.
  244.  
  245. //---------------------------------------------------------------------------------------------------------------------------------------------------------
  246.  
  247.