Data Imports from PRODIGY, QUICKEN, SCHWAB and Others

PFROI can import data from "quote/comma" delimited files into 
transaction and price history records.  The required data format is 
covered in the user manual under the "Import" command (Alt+I) for each 
record type. 

PFROI also can directly import price record text files from PRODIGY's 
"Quote Track" and can furthermore import portfolio data from text files 
generated by QUICKEN and other portfolio management programs.  This 
latter ability enables users to transfer their investment records from 
these less comprehensive programs to PFROI and CAPTOOL. These imports 
are accomplished by using a "translate" file (file extension ".XLT") 
which tells PFROI where to find each data element in the source text 
file. Following import you may need to edit the data to delete 
extraneous records or fill in empty data fields.  


PRODIGY Price Imports
---------------------
These instructions reflect PRODIGY changes made Sept. 1992, superceding 
prior instructions for Prodigy price imports. To import prices from 
PRODIGY perform the following steps: 

1) Run Prodigy. From main Prodigy Menu "JUMP" to "QUOTE TRACK".  (During 
the change-over select "Quote Track" option on the resulting entry banner 
screen). 

2) Select the "FILE" option on the Quote Track screen. 
   
   a) If this is your first use of Quote Track you will need to create
   a Quote Track ticker symbol file.  Select "New" on the "FILE" sub-menu
   and enter up to 15 ticker symbols into QUOTE TRACK 1.  If you have
   more symbols, repeat this process for QUOTE TRACK 2.  Subsequently
   you may revise these files using the "Edit" option.

   b) Select the "Open" option on the FILES sub-menu, and specify QUOTE 
   TRACK 1 (or QUOTE TRACK 2).  This will initiate the Prodigy quote 
   retrieval process. 

   c) Once quotes appear on the screen, select the "FILES" option again 
   and then select "Report Settings" on the FILES sub-menu. Configure 
   output formats as follows: 

     1) RANGE  :  "Entire List"
     2) REPORT TYPE :  "Current Prices" 
     3) DESTINATION :  "File"

        "File Settings" should be:

          File Type:        Delimited    (IMPT!)
          Column Headings:    Yes       
          Filename:        QTRACK01.CSV 

   d) Upon specifying the destination filename, select the "Save & Print" 
   option.  If you've previously used the file you may "overwrite" it.  Wait 
   while the quotes are output to the file you've specified.  These files are 
   saved in the PRODIGY subdirectory. 

Upon completion of quote file output EXIT Prodigy. 

3) After you've exited Prodigy, run PFROI or CAPTOOL.  Enter the "Price
History" records (on the PFROI "Auxiliary Records" sub-menu) and move the
cursor to the last record.  Execute the "Import" command (Alt+I).  
Respond to the "Import File: " prompt as follows:

   Import File : C:\PRODIGY\QTRACK01.CSV/PRODIGY2.XLT<Enter>

where "PRODIGY2.XLT" is a "translate" file containing:

**PRICES**
"SYMBOL",1
2,1,0,8/100,5,6,7,3
COMMADELIM


and where QTRACK01.CSV contains the quotes saved by Prodigy in a 
quote-comma delimited format appearing as follows:

"SYMBOL","DATE","LAST","CHANGE","OPEN","HIGH","LOW","VOLUME","NOTE"
"ASTA","09/12/92",15.25,1,14.5,15.5,14,2179500,"   "
"BORL","09/12/92",46.375,-1.125,47.75,47.75,45.5,1462100,"   "
"FMAGX","09/12/92",65.26,,,,,,"   "
"&SPX","09/12/92",419.58,-0.37,419.93,420.58,419.13,,"   "
"&DJIA","09/12/92",3305.7,0.54,3303,3327.32,3285.44,,"   "

IMPORTANT!: If the quotes do not appear on screen or appear to be in error 
this may be due to Prodigy having changed the format of their QTRACK output
files.  You may have to modify the "translate" file (using your word 
processing software) to accomodate the new format. 

Translate File Operations - PRODIGY2.XLT
-------------------------               
The "**PRICES**" in the FIRST line identifies this as a translate file for 
price data.  The "SYMBOL" in the SECOND line is a "Key Word" for which 
PFROI/CAPTOOL searches as it reads "QTRACK01.CSV". The "1" specifies that 
PFROI/CAPTOOL start importing prices beginning with the 1st line following 
the "Key Word".  The "COMMADELIM" on the FOURTH line indicates that the 
import file will be comma-delimited.  (If the "COMMADELIM" is omitted, then 
character columns are counted rather than delimited data elements). 

The THIRD line provides the information used to do the actual data 
translation.  PFROI/CAPTOOL price records have 8 data elements as follows: 

 1 :  Date.  The date is the second element on each line of QTRACK01.CSV
      so PRODIGY2.XLT has a "2" entry for this field.
     
 2 :  Symbol.  The QTRACK01.CSV symbol entry is the first element, so the 
      PRODIGY2.XLT file has a "1". 

 3 :  Type field.  Prodigy doesnt specify a type, so the PRODIGY2.XLT 
      entry is "0".

 4 :  Volume. The QTRACK01.CSV entry for volume is the 8th element, so the 
      PRODIGY2.XLT entry is "8".  Furthermore because PFROI/CAPTOOL report 
      volume in hundreds the "8" is followed by "/100" to indicate the volume 
      is to be divided by 100. 

 5,6,7,3 : Open, High, Low, Last.  The QTRACK01.CSV element positions for 
      these item are 5,6,7, & 3 hence these are the corresponding entries 
      in the PRODIGY2.XLT file. 

Text File in Lieu of "Delimited" File Type
------------------------------------------
To import from Prodigy Quote Track files saved in "Text" file type (for PFROI 
V4.5/earlier) use the old translate file (PRODIGY.XLT) containing: 

**PRICES**
"PRODIGY",8
0,1,0,64/100,32,42,52,9

HINT: If you obtain Prodigy quotes over a weekend, Prodigy uses the current 
day's date, even though the quotes were Friday's quotes.  Some users may wish 
to edit the date in the QUOTES.TXT file before importing to reflect the 
correct quote date. 


QUICKEN Portfolio Imports
-------------------------
To transfer your portfolio data from Quicken to PFROI or CAPTOOL perform 
the following steps: 

1) Run Quicken.  Select Quicken's "Reports" option. Select "Investment 
   Reports" from the resulting sub-menu.  Select "Investment Transactions" 
   from the resulting sub-sub-menu. Edit the Quicken report start date to 
   correspond to the date of the very first transaction in your Quicken 
   portfolio. Select the "Don't Subtotal" option and hit the "Enter" key 
   until the transaction report appears on the screen.  Hit the "F8" key 
   to execute the "Print" command.  At the "Print" menu select option #4 
   to print to "Disk (ASCII)".  Specify 80 column wide output, and 
   (IMPORTANT!) make sure that the date range for the report spans more 
   than one calendar year (e.g. 12/01/91 to 06/01/92) so as to force Quicken 
   to include the year portion on the transaction dates.  Select "Current" 
   for "Accounts" selection (Quicken changes report output format if you 
   select "All" or "Selected"). For the filename, type in "QKNTRANS.TXT" to 
   create a disk file of the same name which appears similar as follows when 
   viewed with a text editor: 

                                   INVESTMENT TRANSACTIONS REPORT
                                       1/22/89 Through 9/22/91
portfolio                                                                
9/22/91
                                                                                
  Date    Action   Secur    Categ    Price     Shares     Commssn     Cash
-------- ------- --------- ------ ---------- ---------- ---------- ---------- 

         BALANCE  1/21/89                                                0.00 

 1/22/89 XIn        -Cash- [portfo                                   5,000.00 
 1/28/89 Buy     xxx corp             20.375   196.319              -4,000.00 
 2/ 3/89 IntInc     -Cash- Investment Interest Inc                     140.00
 2/ 8/89 MiscExp    -Cash-                                             -15.35 
 3/ 8/89 RtrnCap xxx corp                                              100.25
 7/ 8/89 Div     xxx corp  Dividend                                    135.75
 7/10/89 Buy     yyy                      10       100              -1,000.00 
 7/12/89 XIn        -Cash- [portfo                                   4,500.00 
 7/14/89 CGLong  xxx corp  Long Term Cap Gain Dist                     230.00
 7/26/89 CGShort xxx corp  Short Term Cap Gain Dist                     35.50
 8/20/89 StkSpli xxx corp                    2:1
 8/22/89 BuyX    zzz                      11       200              -2,200.00
10/ 5/89 ReinvDi yyy                      15     2.456                 -36.84
 9/19/90 ShrsIn  Xyz corp                 10       100              -1,000.00
 9/21/90 ShrsIn  abc corp                 25       100              -2,500.00
 9/22/90 Buy     Xyz corp                 11       150              -1,650.00
 9/22/90 XIn        -Cash- [portfo                                   2,000.00
                                                                   ----------
         TOTAL  1/22/89 -  9/22/91                                   6,476.15


   (Note: The two right-most fields in this example have been deleted to
   avoid "wrap-around" on 80 column wide printers.)


2) Escape back to the Quicken Investment Report menu. Now select
   "Portfolio Values" from the menu.  Select a valuation date and
   generate a valuation report. (Suggested dates: Year-end for every
   year since portfolio started).  Once the valuation report is on
   screen, execute the "F8" to print to a text file as was done for the
   transactions.  Repeat the process for each valuation date you wish to
   transfer. Since Quicken overwrites rather than append to print files
   you must specify a new filename for each valuation. Use filenames
   such as "QKNVAL1.TXT", "QKNVAL2.TXT", etc.  The Quicken Valuation
   output should appear as follows:

                                PORTFOLIO VALUE REPORT
                                   As of 9/24/91



     Security         Shares   Curr Price   Cost Basis  Gain/Loss   Balance
-------------------- ---------- ----------   ---------- ---------- -----------
abc corp                 100.00         33     2,500.00     800.00    3,300.00
Xyz corp                 200.00     12 1/2     2,150.00     350.00    2,500.00
-Cash-                 1,675.00          1     1,675.00       0.00    1,675.00
                                             ---------- ---------- -----------
Total Investments                              6,325.00   1,150.00    7,475.00
                                             ========== ========== ===========

3) Exit Quicken to DOS and start PFROI or CAPTOOL.  Go to the PFROI main
   menu and execute the "Load" command.  Specify an unused filename so
   as to create new portfolio file.

4) Enter the "Transactions" records screen.  It should be empty of data
   since this is a new portfolio.  Execute the "Alt+I" Import command.
   Respond to the file prompt as follows: 
    
     File: C:\QKN\QKNTRANS.TXT/QUICKEN.XLT<Enter>

   This tells PFROI to import data from the QKNTRANS.TXT file that you 
   just generated with Quicken.  The "/QUICKEN" specifies that the file 
   "QUICKEN.XLT" should be used to translate the data from QKNTRANS.TXT
   to the internal data format used for PFROI transactions.  Upon 
   hitting the "Enter" key you should see your quotes appear.  
   
   Carefully review the transactions for accuracy.  You should note that 
   the ticker symbols were taken from the first seven characters of the 
   Quicken description field. This is necessary because Quicken does not 
   display ticker symbols on their transaction reports.  You can easily 
   change these symbols to their correct value later using the PFROI 
   "Change Symbol" utility (See #7 below).  Make note of the current
   symbols that will need changing before proceeding. 
   
   Look for for "split" type transactions. You must edit these to enter 
   the correct values in the "Quantity" field because Quicken uses a 
   different notation for splits.  Note also that tax lot fields are 
   also blank because Quicken does not specify tax lot methodology in 
   their transaction report.  You will need to assign tax lot numbers if 
   you are using other than average cost bases. 


5) Escape PFROI transactions and go to the PFROI valuation records.  
   Execute the Alt+I (Import) command. Respond to the file prompt as 
   follows: 
    
     File: QKNVAL1.TXT/QUICKEN.XLT<Enter>

   Repeat the process until all the Quicken valuation files you created 
   have been imported. 

   Execute the "Alt+M" Multi-Create command and specify the first 
   valuation date as the start date.  This causes PFROI to re-compute 
   the cost bases and positions for each one of the valuations.  Lookout
   for any valuation marked with an asterisk.  This indicates a price is 
   missing.  In this case, execute "Alt+R" and key in the missing 
   prices. 

6) Execute Alt+F, and select the "saVe" option to save your new 
   portfolio file. 

7) Escape PFROI valuations and select the Utilities option on the main
   PFROI menu.  Select the "Change Security Symbol" option. Specify the 
   portfolio file just created as the target portfolio file.  Change the 
   symbols for all the securities that did not have the correct ticker 
   symbols upon conversion. 

IMPORTANT!: If the transactions or valuations do not appear on screen or 
appear to be in error this may be due to a change in the Quicken report-
ing format. You may have to modify the "translate" file "QUICKEN.XLT" 
(using your word processing software) to accomodate the new format.  
"QUICKEN.XLT" is a text file containing the following information: 

**TRANSACTIONS**
"Date",3
1,10,18,0,18,47,68,59,0,0,37
{TAC translations}
SHRSIN=RCV
SHRSOUT=DLV
BUY=BUY
BUYX=BYD
CGLONG=CGD
CGLONGX=CGW
CGSHORT=SGD
CGSHORTX=SGW
DIV=DV+
DIVX=DVW
INTINC=IN+
MARGINT=IN-
MISCEXP=EXP
RTRNCAP=ROC
STKSPLIT=SP+
REINVDIV=DRI
REINVLG=CGR
REINVSH=SGR
SELL=SLL
SELLX=SLW
XIN=DPF
XOUT=WDF
-Cash-=**CASH***
*******
**VALUATIONS**
"VALUE",7
0,1,1,22,32,0,67,43
-Cash-=**CASH***


There are two parts to the QUICKEN.XLT file.  The first pertains to 
transactions and is identified by the "**TRANSACTIONS**" notation.  The 
second part pertains to valuations and is identified by the 
"**VALUATIONS**" notation.  The second line of each section contains a 
"Key Word" followed by a comma and a number. PFROI searches for the key 
word as it reads the import file and commences importing the specified 
number of lines following the occurence of the key word. 

The third line, e.g.: "1,10,18,0,18,47,68,59,0,0,37", provides the 
information used to do the actual data translation.  

The transaction import specifications have 11 fields as follows:

  1: Date.  The Quicken date starts in column #1, so there is a
     "1" here.

  2: TAC.  The Quicken transaction code begins in the 10th screen
     column so there is a "10" here.

  3: Symbol.  Quicken does not report a symbol, so the first word  
     of the "Security" field is used instead.  This field starts 
     at the 18th column so an "18" is used.

  4: Lot Number.  Quicken doesnt report tax lot numbers so this 
     field is specified with a zero.

  5: Description.  This is column #18 in the Quicken report.

  6: Quantity.  Quicken col 47.

  7: Amount. Quicken col 68.

  8: Com/Fee. Quicken col 59.

  9: Est. Tax.  Not avail. in Quicken.

 10: X-Rate. Not avail. in Quicken.

 11: Price. Quicken col 37.

The field translation specifications are followed by "Equates" which are 
used to translate Quicken transaction codes to PFROI TAC codes.  Symbol 
equates may also be included here as is done here for "-CASH-" to 
translate symbols. 

Quicken/Windows
---------------
The Windows version of Quicken outputs transactions in a slightly 
different format.  If you have this version of Quicken, specify 
120 column output and modify the third line of the XLT file to 
appear as follows (or use QKNWIN.XLT) :

**TRANSACTIONS**
"Date",3
4,13,22,0,22,52,77,65,0,0,40          <-----
{TAC translations}



IMPORTING FROM CYBER-SCAN CREATED DTN FILES
-------------------------------------------
For those who wish to obtain near real-time quotes via a satellite feed
DTN provides a cost-effective alternative.  CYBER-SCAN, Inc. (Rt. 4, Box
247, Buffalo, MN 55313,  Tele: 612-682-4150) provides software which can
dump DTN quote data onto ASCII disk files which can be imported into 
CAPTOOL as follows:

1)  Run Cyber-Scan QUOTE COMMANDER program.

2)  Select "Automatic Dump" option:
    a) Set Time, or hit <Enter> key twice for immediate dump of data.
    b) Select "ASCII dump type.  Data will be placed in an ASCII file 
       named mo-dy-yr.ASC where "mo-dy-yr" is the current day's date.

3)  Exit QUOTE COMMANDER when dump is finished.

4)  Run CAPTOOL, enter CAPTOOL "Price History" Records:
    a) Select "Portfolio Management" on main CAPTOOL menu.
    b) Select "Auxiliary Records" on PFROI menu.
    c) Select "Price History" on Auxiliary menu.

5)  On CAPTOOL "Price History" screen:
    a) Execute "Alt+I" (import) command.
    b) At prompt for filename type in:

        File: C:\DTN\mo-dy-yr.ASC/CYBERSTK.XLT

    where "mo-dy-yr" is the current day's date and CYBERSTK.XLT
    is the "translate" file for stocks.  Use CYBERFND.XLT for 
    funds and CYBERBND.XLT for bonds.

CYBERSTK.XLT, CYBERFND.XLT & CYBERBND.XLT contents:

**PRICES**  {stocks}
"",0
0,1,0,49,0,11,20,29

**PRICES**  {funds}
"",0
0,1,0,0,0,11,11,11

**PRICES**  {bonds}
"",0
0,1,0,0,0,29,29,29


IMPORTING FROM RJT SYSTEMS "QUOTE EXPRESS" FILES
------------------------------------------------
If you have DTN daily quote files captured using "Quote Express"
from RJT Systems, Inc. (1049 SW Baseline #200, Hillsboro, OR 
97123, Ph:1-800-729-5037) you may import them by creating an 
"XLT" file (see QEXPRESS.XLT) with contents as follows: 

**PRICES**
"",0
2,1,0,7,3,4,5,6
COMMADELIM
YYMMDD=MM/DD/YY

You may dump Quote Express data to an importable text file and
import that file into CAPTOOL as follows:

1) From the main Quote Express screen, select the "Download" 
   option, using the "Current List", "Defaults Only" sub-options.
   The price data will be sent to a comma delimited ASCII text
   file named "OUTPUT".

2) Exit Quote Express and start CAPTOOL. Enter the CAPTOOL "Price 
   History" records (from Time Trends menu or PFROI "Auxiliary"
   sub-menu).  Execute the "Import" command (Alt+I), responding
   to the file prompt as follows:

     Import File : C:\QE\OUTPUT/QEXPRESS.XLT<Enter>



IMPORTING FROM WORDEN ASCII PRICE FILES
---------------------------------------
Worden (Telechart 2000) Ascii price files appear as follows, with one
stock per file:

MRK,880609,56.8750,55.7500,56.1250,16808
880610,56.6250,55.5000,55.7500,8391
880613,55.5000,54.6250,55.0000,5595

Note that the file does not include the symbol on each line
of data and thus requires conversion to add this item so the
file appears as follows:

MRK,880609,56.8750,55.7500,56.1250,16808
MRK,880610,56.6250,55.5000,55.7500,8391
MRK,880613,55.5000,54.6250,55.0000,5595

The utility program WORDENX.EXE will perform this function.  Once
converted, import the resulting modified file into the CAPTOOL
Price History records using the WORDEN.XLT translate file:

 Import File:  C:\W_ASCII/WORDEN.XLT

where "W_ASCII" is the converted Worden ASCII file.

Note: For WORDENX.EXE conversion to work properly, the ticker
symbol must appear as the first symbol in the first line of the
WORDEN file.  If this ticker is missing, add it with your text
editor program before performing the conversion.


IMPORTING FROM META-STOCK ASCII FILES
-------------------------------------
META-STOCK historical price ASCII files are similar to the Worden 
file described above, except that there is no ticker symbol in 
the file.  By specifying "0" in the METASTK.XLT file for the 
symbol position, the filename prefix will be used for the symbol 
when importing into Price history: 

**PRICES**
"",0
1,0,0,6,0,3,4,5
COMMADELIM
YYMMDD=MM/DD/YY

META-STOCK single date ASCII quote files (DLDATA.TMP) appear as follows:

<PER>,<TICKER>,<YYMMDD>,<OPEN>,<HIGH>,<LOW>,<CLOSE>,<VOL>,<OPENINT>,<SPLIT>
W,ALLP,921016,,12.000,9.250,12.000,9356,,0
W,ATK,921016,,26.875,26.000,26.125,860,,0

and may be imported by using an XLT file containing the following:

**PRICES**
"<PER>",1
3,2,0,8,4,5,6,7
COMMADELIM
YYMMDD=MM/DD/YY


Free Financial Network
----------------------
The Free Financial Network (212-838-6324 voice, 212-752-8660 bbs) 
provides a downloadable daily file of quotes on about 5000 issues.   
This may be imported into PFROI price history records using the 
translate file FFN.XLT.  Before importing, enter the import date in the 
final price history record, then execute the Alt+I command. Only those 
issues for which there exists ticker symbols in the currently loaded 
Master Security List will be imported.  FFN.XLT appears as follows:

**PRICES**
"",0
,1,,5,,2,3,4
COMMADELIM
SYMBS=MSTRLIST   <-- tells to only import items in Master List

Fast Track
----------
Depending on data format of source file use FT.XLT or FASTTRAK.XLT:

FT.XLT  (closing quotes only, quote comma delimited):

**PRICES**
"",0
1,0,0,4,0,3,3,3
COMMADELIM
QUOTEDELIM

FASTTRAK.XLT (vol, hi,lo,cls):

**PRICES**
"",0
8,1,0,44,0,17,26,35


Other Imports
-------------
Users who wish to import data from other price sources and/or portfolio 
managers may construct their own ".XLT" files using the prior examples 
for guidances.  

Schwab Account Access Link
--------------------------
Charles Schwab & Co. provides a service called "Schwab Link" to facilite 
computerized trading by professional money managers and financial 
advisors (contact C. Schwab Financial Advisor Service 1-800-648-6021 for 
details). 

Schwab Link enables the user to download Transaction and Position record 
files which may then be imported into CAPTOOL Global Investor during 
batch valuations, reducing data input to a minimum.  See the file 
IMPORT2.TXT (CAPTOOL Global only) for details on this procedure.

Shareholder Services Corp.
--------------------------
Shareholder Services Corp. (SSC) also permits professional money managers 
to download text files containing records of trade transactions made 
through SSC.  These may be imported into CAPTOOL Global Investor in the 
same fashion as for Schwab descibed above.  

For details on this service contact 1-800-582-8585, or write Attn: Bob 
Choi, Shareholder Services Corp., 9191 Towne Centre Dr., Ste. 222, San 
Diego, CA  92122,  Fax: 619-453-5510.

See the file IMPORT2.TXT (CAPTOOL Global only) for details on this 
procedure. 

Bear Stearns
------------
See the file IMPORT2.TXT (CAPTOOL Global only) for details on 
importing from Bear Stearns BSC293 or BCR293 files.

