home *** CD-ROM | disk | FTP | other *** search
/ Boldly Go Collection / version40.iso / TS / 05B / PPSTOCK4.ZIP / READ.ME < prev    next >
Encoding:
Text File  |  1992-02-24  |  7.2 KB  |  183 lines

  1. PPSTOCK4.ZIP  ==>  "Procomm Plus downloads STOCKs from compuserve"
  2.                    version 0.4
  3.                    by Jim Robeson
  4.                    2-24-92
  5. ------------------------------------------------------------------------
  6.  
  7. Attached is a simple little ProComm Plus 2.x ASP file that can
  8. be used to "download" current stock data for selected issues
  9. from the COMPUSERVE system.  Data is written using ProComm's
  10. log file functions.
  11.  
  12. The CIS BASICQUOTES system is used to keep costs to a minimum.
  13.  
  14. CIS is dialed, quotes are retrieved, CIS is closed, ProComm is
  15. shut down and control is returned to the calling batch file.
  16. Certain error conditions are detected and the controlling BATch
  17. program can adjust the operations accordingly.
  18.  
  19. A program is included that can create a comma-delimited version
  20. of the stock data file.
  21.  
  22. A really "raw" Quattro Pro spreadsheet is included that can load
  23. the comma-delimited file, retaining the previous data. Fer sure,
  24. this ain't very fancy.  Included here for demonstration purposes.
  25.  
  26.  
  27. === FILE DESCRIPTIONS ====
  28.  
  29. DOSTOCK.BAT    This activates ProComm and makes CIS6.ASX operate,
  30.                then it calls up the comma-delimiter convertor,
  31.                and starts my spreadsheet.
  32.  
  33. CIS6.ASP       This .ASP READS a file called STOCKS.CFG that
  34.                contains the stock names you are interested in.
  35.                You shouldn't have to modify it again to add/delete
  36.                stock selections. Just change STOCKS.CFG.
  37.  
  38.                Data lines are written WITHOUT headings and other
  39.                extraneous text.
  40.  
  41.                Modifications are required by potetntial users for:
  42.                 - Dialing Directory line number for CIS
  43.                 - CIS User ID & Password
  44.                 - the file name & directory of the output log file
  45.                 - Compile using ASPCOMP
  46.  
  47. STOCKS.CFG     A sample stock file for use with CIS6.ASP.
  48.                (It contains sample stock names for testing
  49.                purposes).  You must put one and only one
  50.                stock per line, and there must be no exteraneous
  51.                text anywhere in the file.  Absolutly no comments,
  52.                periods, nothing.  Whatever is read in will be
  53.                treated as a stock name and sent to CIS.
  54.  
  55.                This file must be placed in the ProComm Plus directory,
  56.                unless you modify CIS6.ASP.
  57.  
  58. PPSTOCK.C      This program inserts COMMA-DELIMITING characters into
  59. PPSTOCK.EXE    a copy of the downloaded stock file.  It is really
  60.                a simple program, table driven, that just inserts
  61.                quotes and commas where needed.  If you can find other
  62.                uses for it, just change the table called VARTAB.
  63.                If you change VARTAB, don't forget the "number
  64.                of fields" definition FLDCNT. (Labeled v1.1)
  65.  
  66.                USAGE:  PPSTOCK file-in file-out
  67.  
  68.                PLEASE REMEMBER, IF THE OUTPUT FILE ALREADY EXISTS,
  69.                IT IS IMMEDIATLY ERASED (OVERWRITTEN) WITH NO WARNING.
  70.                Don't put an un-intended file name in the call.
  71.  
  72. STOC0221.LOG   This shows what you would get if the "LOG SUSPEND"
  73.                and "LOG RESUME" blocks were removed; that is, this
  74.                junk
  75.                      WAITFOR "------^M"
  76.                      LOG RESUME
  77.                      WAITFOR "^M"
  78.                      LOG SUSPEND
  79.                This file contains the column headings for the data.
  80.  
  81. STOCKS.DLY     An example of the data as it comes out of the ASP/CIS
  82.                process.  That is, this is the raw data straight from
  83.                Compuserve.
  84.  
  85. STOCKS.PRN     This is a comma-delimited version of the above file
  86.                as produced by PPSTOCK.EXE.
  87.  
  88.  
  89. === YOUR JOB =============
  90.  
  91. You will need to modify the DOSTOCK.BAT to suit your needs and
  92. setup.  You will have to plug in CIS stock symbols into the
  93. STOCKS.CFG, you need to modify and compile the CIS6.ASP file.
  94. And you get to handle the importing of the output file into
  95. your own spreadsheet or database program.
  96.  
  97. And yes, you get to do your own analysis of the data!
  98.  
  99.  
  100. === NEXT VERSION PLANS ===
  101.  
  102. 1.  PPSTOCK.EXE is NOT ProComm Plus dependant.  So you could copy
  103.     or convert the ASP script to your own communications program
  104.     if you don't use ProComm Plus and still use the second half of
  105.     this package.  If you do write something similar for other
  106.     comm programs, I would love to be able to include it in
  107.     this package for other folks to use.  Send it to me....
  108.  
  109. 2.  I want to load the data into Paradox. Need a "macro".
  110.  
  111. 3.  It is time to convert my 'on-balance-volume' trend analyzer
  112.     from Apple BASIC to Turbo C.
  113.  
  114.  
  115. === DISCLAIMER ===========
  116.  
  117. These programs are contributed to the Public Domain.  They can
  118. be freely used, modified and/or distributed by anyone. The
  119. only thing I ask is that you remember that I am not responsible
  120. for anything that might go wrong through the use of these files.
  121. I have tested the programs enough for my own use.  But I also
  122. realize that bugs can appear in most every program.
  123. YOU USE THESE PROGRAMS AT YOUR OWN RISK.
  124.  
  125.  
  126. === HISTORY ==============
  127.  
  128. 2-21-92  PPSTOCK1.ZIP   first cut to see if the idea was feasible.
  129.                         - discarded
  130.  
  131. 2-22-92  PPSTOCK2.ZIP   First public version 0.2,
  132.                         - stock selection inside of .ASP.
  133.                         Useful for training, still on Cricket BBS.
  134.  
  135. 2-23-92  PPSTOCK3.ZIP   Public version 0.3,
  136.                         - stock selection read from a file external
  137.                           to the .ASP.
  138.                         Useful for training, still on Cricket BBS.
  139.  
  140. 2-24-92  PPSTOCK4.ZIP   Public version 0.4:
  141.                         - renamed stock.cfg to stocks.cfg
  142.                         - added an error condition notification control
  143.                           file (stocks.err) in place of the idea of
  144.                           an environmental variable.
  145.                         - improved GOSTOCK.BAT:
  146.                             - added a history file save line
  147.                             - handle error conditions
  148.                             - comments
  149.                         - added a really basic Quattro Pro sheet
  150.                           that just loads/saves the data. (This is
  151.                           being included more for my own documentation
  152.                           needs than anything else.
  153.                         - cosmetic changes to PPSTOCK.C/EXE
  154.                         still on Cricket BBS.
  155.  
  156.  
  157. === FINIS ================
  158.  
  159. BTW, the file names used in this "system" are not required
  160. to remain as-is.  They just suited me when I was putting this
  161. together.  You can rename any or all of them to suit your own
  162. needs.  YOU HAVE TO MODIFY the drive/directories to found
  163. in the GOSTOCK.BAT to fit your setup.
  164.  
  165.  
  166. ------------------------------------------------------------------------
  167.  
  168. Send all stock hints and other good ideas to:
  169.  
  170. Jim Robeson
  171.   The Cricket BBS
  172.   408-373-3773 (modem)
  173.   Pacific Grove, CA
  174.  
  175. Send all complaints to:
  176.  
  177. George Bush
  178.   The White House
  179.   202-456-7639 (voice)
  180.   Washington DC
  181.  
  182. Remember, greed and ignorance are the investor's worst enemy.
  183.