Document

Document is the object that represents the current document loaded in Personal Stock Streamer.  A document contains one or more portfolios, each of which can contain folders and tickers.

Properties:

Name (read-only)

Type: String

 

Description: The file name of this document.

 

CurrentPortfolio

Type: Folder object

 

Description: The currently selected portfolio in this document (as indicated in the user interface by the tabs at the bottom of the application window)

 

Portfolios (read-only)

Type: Collection of Folder objects.

 

Description: Collection of all portfolios in this document.

 

Selection (read-only)

Type: Selection object

 

Description: Returns a reference to a selection object representing the tickers and folders in the current selection.

Methods:

CreateTicker()

Returns: Ticker object

 

Description: Create a blank Ticker object

 

CreateFolder()

Returns: Folder object

 

Description: Create a blank folder object

 

CreateTransaction()

Returns: Transaction object

 

Description: Create a blank transaction object