home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF017.ZIP / PFROIAUX.EXE / IMPORT.TXT < prev    next >
Text File  |  1992-03-11  |  17KB  |  389 lines

  1. Data Imports from PRODIGY, QUICKEN and Others
  2. ----------------------------------------------
  3.  
  4. PFROI can import data from "quote/comma" delimited files into 
  5. transaction and price history records.  The required data format 
  6. is covered in the user manual under the "Import" command (Alt+I) 
  7. for each of these record types. 
  8.  
  9. PFROI also can directly import price record text files from 
  10. PRODIGY's "Quote Track" and can furthermore import portfolio data 
  11. from text files generated by QUICKEN and other investment 
  12. management programs.  This latter ability enables users to 
  13. transfer their investment records from these less comprehensive 
  14. programs to PFROI and CAPTOOL. These imports are accomplished by 
  15. using an import "translate" file (has the file extension ".XLT") 
  16. which tells PFROI where to find each data element in the source 
  17. text file. Following import you may need to edit the data to 
  18. delete extraneous records or fill in empty data fields.  
  19.  
  20.  
  21. PRODIGY Price Imports
  22. ---------------------
  23. To import prices from the PRODIGY service perform the following 
  24. steps:
  25.  
  26. 1) First run PRODIGY and "jump" to the "QUOTE TRACK" service. 
  27.    There, using the Prodigy commands and following the Prodigy 
  28.    prompts you specify the ticker symbols of the securities for 
  29.    which you want quotes. Prodigy stores these selections so that in 
  30.    the future you will not have to re-specify them.  When the quotes 
  31.    appear on your screen page down to the bottom of the list and 
  32.    then execute the Prodigy "Print" command. Specify that output 
  33.    be sent to a disk text file (default name: QUOTES.TXT).  The
  34.    resulting file on your disk should have contents similar to 
  35.    the following:
  36.  
  37.    
  38. PRODIGY (R) interactive personal service   09/14/1991     12:44 PM
  39.                               QUOTE TRACKsm
  40.  
  41.  
  42. Stock         Last     Change/      Open/      High        Low     Volume/
  43.                           Bid      Asked                             Date
  44. ----------------------------------------------------------------------------
  45. ASTA        28 3/4         -2     30 1/2     30 3/4     28 1/4    1267600
  46. BHI         24 1/4         -1     25 1/4     25 1/4         24     469200
  47. BORL        49 1/4         -1     50 1/2     51 1/8         49     306500
  48. CHPS             9     +  1/8      8 7/8          9      8 5/8      53100
  49. CTUS            17     +  3/8     16 5/8         17     16 1/2     284600
  50.  
  51.    You may wish to repeat the quote retrieval process for several 
  52.    groups of ticker symbols because PRODIGY limits the number of 
  53.    ticker symbols per group.  You may append the quotes to the 
  54.    existing QUOTES.TXT file. When through retrieving quotes, exit 
  55.    PRODIGY back to DOS. 
  56.  
  57. 2) Now Start PFROI or CAPTOOL.  Enter the PFROI Auxillary menu 
  58.    and select "Price History" records. 
  59.  
  60. 3) When the Price History records appear on screen, move the 
  61.    cursor down to the last record.
  62.  
  63. 4) Execute Alt+I, the "Import" command.  You will be prompted
  64.    for the name of an "Import" file. Respond as follows:
  65.  
  66.      File : C:\PRODIGY\QUOTES.TXT/PRODIGY<Enter>
  67.  
  68.    This tells PFROI or CAPTOOL to import the file "QUOTES.TXT"
  69.    that you just generated with Prodigy.  The "/PRODIGY" 
  70.    specifies that the file "PRODIGY.XLT" should be used to 
  71.    translate the data from QUOTES.TXT to the internal data 
  72.    format used by PFROI and CAPTOOL.  
  73.    
  74.    Upon hitting the "Enter" key you should see your quotes 
  75.    appear.  Review them for accuracy.  
  76.    
  77.  
  78. IMPORTANT!: If the quotes do not appear on screen or appear to be 
  79. in error this may be due to Prodigy having changed the format of 
  80. their "QUOTES.TXT" files.  You may have to modify the "translate"
  81. file "PRODIGY.XLT" (using your word processing software) to 
  82. accomodate the new format.  "PRODIGY.XLT" is a short text file 
  83. containing the following information: 
  84.  
  85. **PRICES**
  86. "PRODIGY",7
  87. 0,1,0,64/100,32,42,52,9
  88.  
  89. The first line merely identifies this as a translate file for 
  90. price data.  The "PRODIGY" in the second line is a "Key Word" for 
  91. which PFROI/CAPTOOL searches as it reads "QUOTES.TXT". The "7" 
  92. specifies that PFROI/CAPTOOL start importing prices beginning 
  93. with the 7th line following the "Key Word".  
  94.    
  95. The third line provides the information used to do the actual 
  96. data translation.  PFROI/CAPTOOL price records have 8 data 
  97. elements as follows: 
  98.  
  99.  1 :  Date.  Prodigy has no separate date for each quote so 
  100.       the .XLT file has a "0" entry for this field.
  101.      
  102.  2 :  Symbol.  The Prodigy symbol entry starts in screen 
  103.       column number 1, so the .XLT file has a "1".
  104.  
  105.  3 :  Type field.  Prodigy doesnt specify a type, so the .XLT 
  106.       entry is "0".
  107.  
  108.  4 :  Volume. The Prodigy entry for volume begins on the 64th
  109.       screen column, so the .XLT entry is "64".  Furthermore
  110.       because PFROI/CAPTOOL report volume in hundreds the 
  111.       "64" is followed by "/100" to indicate the volume is to
  112.       be divided by 100.
  113.  
  114.  5,6,7,8 : Open, High, Low, Last.  the Prodigy screen posi-
  115.       tion for these quotes start at columns 32, 42, 52 and 
  116.       9, hence the corresponding entries in the .XLT file. 
  117.  
  118. HINT: If you obtain Prodigy quotes over a weekend, Prodigy uses
  119. the current day's date, even though the quotes were Friday's
  120. quotes.  Some users may wish to edit the date in the QUOTES.TXT 
  121. file before importing to reflect the correct quote date. 
  122.  
  123. MUTUAL FUNDS - Prodigy uses a different quote format for mutual
  124. funds requiring a different "XLT" file named "MUTFUNDS" as 
  125. follows:
  126.  
  127. **PRICES**
  128. "PRODIGY",7
  129. ,1,,,,,,15
  130.  
  131. In reponsed to the import prompt type:
  132.  
  133. C:\PRODIGY\QUOTES.TXT/MUTFUNDS.XLT<Enter>
  134.  
  135.  
  136. QUICKEN Portfolio Imports
  137. -------------------------
  138. To transfer your portfolio data from Quicken to PFROI or CAPTOOL
  139. perform the following steps:
  140.  
  141. 1) Run Quicken.  Select Quicken's "Reports" option. Select "Investment 
  142.    Reports" from the resulting sub-menu.  Select "Investment 
  143.    Transactions" from the resulting sub-sub-menu. Edit the Quicken 
  144.    report start date to correspond to the date of the very first 
  145.    transaction in your Quicken portfolio. Select the "Don't Subtotal" 
  146.    option and hit the "Enter" key until the transaction report appears 
  147.    on the screen.  Hit the "F8" key to execute the "Print" command.  At 
  148.    the "Print" menu select option #4 to print to "Disk (ASCII).  
  149.    Specify 80 column wide output and (IMPORTANT!) make sure the report 
  150.    date range extends over more than one calendar year (e.g. 12/01/91-
  151.    06/01/92) so as to force Quicken to include the year in its 
  152.    transaction dates.  For the filename, type in "QKNTRANS.TXT" to 
  153.    create a disk file of the same name which appears similar as follows 
  154.    when viewed with a text editor: 
  155.  
  156.                                    INVESTMENT TRANSACTIONS REPORT
  157.                                        1/22/89 Through 9/22/91
  158. portfolio                                                                
  159. 9/22/91
  160.                                                                                 
  161.   Date    Action   Secur    Categ    Price     Shares     Commssn     Cash    
  162. -------- ------- --------- ------ ---------- ---------- ---------- ---------- 
  163.  
  164.          BALANCE  1/21/89                                                0.00 
  165.  
  166.  1/22/89 XIn        -Cash- [portfo                                   5,000.00 
  167.  1/28/89 Buy     xxx corp             20.375   196.319              -4,000.00 
  168.  2/ 3/89 IntInc     -Cash- Investment Interest Inc                     140.00
  169.  2/ 8/89 MiscExp    -Cash-                                             -15.35 
  170.  3/ 8/89 RtrnCap xxx corp                                              100.25
  171.  7/ 8/89 Div     xxx corp  Dividend                                    135.75 
  172.  7/10/89 Buy     yyy                      10       100              -1,000.00 
  173.  7/12/89 XIn        -Cash- [portfo                                   4,500.00 
  174.  7/14/89 CGLong  xxx corp  Long Term Cap Gain Dist                     230.00 
  175.  7/26/89 CGShort xxx corp  Short Term Cap Gain Dist                     35.50 
  176.  8/20/89 StkSpli xxx corp                    2:1
  177.  8/22/89 BuyX    zzz                      11       200              -2,200.00 
  178. 10/ 5/89 ReinvDi yyy                      15     2.456                 -36.84  
  179.  9/19/90 ShrsIn  Xyz corp                 10       100              -1,000.00 
  180.  9/21/90 ShrsIn  abc corp                 25       100              -2,500.00 
  181.  9/22/90 Buy     Xyz corp                 11       150              -1,650.00 
  182.  9/22/90 XIn        -Cash- [portfo                                   2,000.00  
  183. 12/24/90 XIn        -Cash- [portfo                                   1,000.00 
  184.                                                                    ---------- 
  185.          TOTAL  1/22/89 -  9/22/91                                   6,476.15  
  186.  
  187.          BALANCE  9/22/91                                            6,476.15 
  188.  
  189.    (Note: The two right-most fields in this example have been 
  190.    deleted to avoid "wrap-around" on 80 column wide printers.)
  191.  
  192. 2) Escape back to the Quicken Investment Report menu. Now select 
  193.    "Portfolio Values" from the menu.  Select a valuation date and 
  194.    generate a valuation report. (Suggested dates: Year-end for 
  195.    every year since portfolio started).  Once the valuation 
  196.    report is on screen, execute the "F8" to print to a text file 
  197.    as was done for the transactions.  Repeat the process for 
  198.    each valuation date you wish to transfer. Since Quicken 
  199.    overwrites rather than append to print files you must specify 
  200.    a new filename for each valuation. Use filenames such as 
  201.    "QKNVAL1.TXT", "QKNVAL2.TXT", etc.  Quicken valuations should
  202.    appear as follows:
  203.                                 PORTFOLIO VALUE REPORT
  204.                                    As of 9/24/91
  205.  
  206.  
  207.  
  208.    Security         Shares   Curr Price   Cost Basis  Gain/Loss   Balance
  209. -------------------- ---------- ----------   ---------- ---------- -----------
  210. abc corp                 100.00         33     2,500.00     800.00    3,300.00
  211. Xyz corp                 200.00     12 1/2     2,150.00     350.00    2,500.00
  212. -Cash-                 1,675.00          1     1,675.00       0.00    1,675.00
  213.                                              ---------- ---------- -----------
  214. Total Investments                              6,325.00   1,150.00    7,475.00
  215.  
  216.  
  217. 3) Exit Quicken to DOS and start PFROI or CAPTOOL.  Go to the
  218.    PFROI main menu and execute the "Load" command.  Specify an
  219.    unused filename so as to create new portfolio file.
  220.  
  221. 4) Enter the "Transactions" records screen.  It should be empty
  222.    of data since this is a new portfolio.  Execute the "Alt+I"
  223.    Import command.  Respond to the file prompt as follows:
  224.     
  225.      File: C:\QKN\QKNTRANS.TXT/QUICKEN<Enter>
  226.                     
  227.    This tells PFROI to import data from the QKNTRANS.TXT file 
  228.    that you just generated with Quicken.  The "/QUICKEN" 
  229.    specifies that the file "QUICKEN.XLT" should be used to 
  230.    translate the data from QKNTRANS.TXT to the internal data 
  231.    format used for PFROI transactions.  Upon hitting the "Enter" 
  232.    key you should see your quotes appear.  
  233.    
  234.    Carefully review the transactions for accuracy.  You should
  235.    note that the ticker symbols were taken from the first seven
  236.    characters of the Quicken description field. This is necessary
  237.    because Quicken does not display ticker symbols on their 
  238.    transaction reports.  You can easily change these symbols to
  239.    their correct value later using the PFROI "Change Symbol" 
  240.    utility (See #7 below).  Make note of the current symbols
  241.    that will need changing before proceeding.
  242.    
  243.    Look for for "split" type transactions. You must edit these
  244.    to enter the correct values in the "Quantity" field because 
  245.    Quicken uses a different notation for splits.  Note also that
  246.    tax lot fields are also blank because Quicken does not specify
  247.    tax lot methodology in their transaction report.  You will
  248.    need to assign tax lot numbers if you are using other than
  249.    average cost bases.
  250.  
  251. 5) Escape PFROI transactions and go to the PFROI valuation 
  252.    records.  Execute the Alt+I (Import) command. Respond to the 
  253.    file prompt as follows: 
  254.     
  255.      File: QKNVAL1.TXT/QUICKEN<Enter>
  256.  
  257.    Repeat the process until all the Quicken valuation files you
  258.    created have been imported.
  259.  
  260.    Execute the "Alt+M" Multi-Create command and specify the first
  261.    valuation date as the start date.  This causes PFROI to re-
  262.    compute the cost bases and positions for each one of the 
  263.    valuations.  Lookout for any valuation marked with an 
  264.    asterisk.  This indicates a price is missing.  In this case, 
  265.    execute "Alt+R" and key in the missing prices.
  266.  
  267. 6) Execute Alt+F, and select the "saVe" option to save your new 
  268.    portfolio file.
  269.  
  270. 7) Escape PFROI valuations and select the Utilities option on the
  271.    main PFROI menu.  Select the "Change Security Symbol" option.
  272.    Specify the portfolio file just created as the target 
  273.    portfolio file.  Change the symbols for all the securities 
  274.    that did not have the correct ticker symbols upon conversion.
  275.  
  276.  
  277. IMPORTANT!: If the transactions or valuations do not appear on 
  278. screen or appear to be in error this may be due to a change in 
  279. the Quicken reporting format. You may have to modify the 
  280. "translate" file "QUICKEN.XLT" (using your word processing 
  281. software) to accomodate the new format.  "QUICKEN.XLT" is a text 
  282. file containing the following information: 
  283.  
  284. **TRANSACTIONS**
  285. "TRANSACTIONS",7
  286. 1,10,18,0,18,47,68,59,0,0,37
  287. {TAC translations}
  288. SHRSIN=RCV
  289. SHRSOUT=DLV
  290. BUY=BUY
  291. BUYX=BYD
  292. CGLONG=CGD
  293. CGLONGX=CGW
  294. CGSHORT=SGD
  295. CGSHORTX=SGW
  296. DIV=DV+
  297. DIVX=DVW
  298. INTINC=IN+
  299. MARGINT=IN-
  300. MISCEXP=EXP
  301. RTRNCAP=ROC
  302. STKSPLIT=SP+
  303. REINVDIV=DRI
  304. REINVLG=CGR
  305. REINVSH=SGR
  306. SELL=SLL
  307. SELLX=SLW
  308. XIN=DPF
  309. XOUT=WDF
  310. -Cash-=**CASH***
  311. *******
  312. **VALUATIONS**
  313. "VALUE",7
  314. 0,1,1,22,32,0,67,43
  315. -Cash-=**CASH***
  316.  
  317. There are two parts to the QUICKEN.XLT file.  The first pertains
  318. to transactions and is identified by the "**TRANSACTIONS**" nota-
  319. tion.  The second part pertains to valuations and is identified 
  320. by the "**VALUATIONS**" notation.  The second line of each 
  321. section contains a "Key Word" followed by a comma and a number. 
  322. PFROI searches for the key word as it reads the import file and 
  323. commences importing the specified number of lines following the 
  324. occurence of the key word. 
  325.  
  326. The third line, e.g.: "1,10,18,0,18,47,68,59,0,0,37", provides the 
  327. information used to do the actual data translation.  
  328.  
  329. The transaction import specifications have 11 fields as follows:
  330.  
  331.   1: Date.  The Quicken date starts in column #1, so there is a
  332.      "1" here.
  333.  
  334.   2: TAC.  The Quicken transaction code begins in the 10th screen
  335.      column so there is a "10" here.  
  336.  
  337.   3: Symbol.  Quicken does not report a symbol, so the first word  
  338.      of the "Security" field is used instead.  This field starts 
  339.      at the 18th column so an "18" is used.
  340.  
  341.   4: Lot Number.  Quicken doesnt report tax lot numbers so this 
  342.      field is specified with a zero.
  343.  
  344.   5: Description.  This is column #18 in the Quicken report.
  345.  
  346.   6: Quantity.  Quicken column 47.
  347.  
  348.   7: Amount. Quicken column 68.
  349.  
  350.   8: Com/Fee. Quicken column 59.
  351.  
  352.   9: Est. Tax.  Not avail. on Quicken report.
  353.  
  354.  10: X-Rate. Not avail. on Quicken report.
  355.  
  356.  11: Price. Quicken column 37.
  357.  
  358. The field translation specifications are followed by "Equates" 
  359. which are used to translate Quicken transaction codes to PFROI
  360. TAC codes.  Symbol equates may also be included here as is 
  361. done here for "-CASH-" to translate symbols.
  362.  
  363.                 
  364.  
  365. Other Portfolio Managers
  366. ------------------------
  367. Users who wish to import data from other price sources and/or
  368. portfolio managers may construct their own ".XLT" files using
  369. the prior examples for guidances.  When importing merely specify
  370. the file name following the "/":
  371.  
  372.    File:  datasrc.TXT/myxlate.XLT
  373.  
  374. where "myxlate.XLT" is the translate file and "datasrc.TXT" is 
  375. the text file containing the data to be imported. 
  376.  
  377.  
  378. Schwab Link
  379. -----------
  380. Professional portfolio managers who use Schwab Link's "Account Access
  381. Link" may import transaction and composite files downloaded from 
  382. Schwab into CAPTOOL Global Investor during batch valuations thereby 
  383. eliminating most manual data entry.  (Note: Schwab limits this service 
  384. to investment professionals, annual charges are approx. $1000/year)
  385.  
  386.  
  387.  
  388.  
  389.