Variable

Description

Critical Questions Associated with This Variable

SimpleStringProperty rec;

Simple String rec variable that gets the buy time stamp of the stock

Q.1

SimpleStringProperty rec2;

Simple String rec2 variable that gets the sold time stamp of the stock

Q.1

SimpleStringProperty type;

Simple String type variable that is used for the type of stock

Q.1

SimpleStringProperty name;

Simple String name variable that is used for the name of stock

Q.1

SimpleStringProperty symbol;

Simple String symbol variable that is used for the symbol of the stock

Q.1

SimpleStringProperty sector;

Simple String sector variable that is used for sector of the stock

Q.1

SimpleDoubleProperty percentChange;

Simple Double percentChange variable used to find percent change for each stock

Q.1

SimpleDoubleProperty curPrice;

Simple Double curPrice variable used for the current price of each stock

Q.1

SimpleDoubleProperty prevPrice1;

Simple Double prevPrice1 variable used for getting the price of the stock each time the application refreshes

Q.1

SimpleDoubleProperty averagePrice;

Simple Double averagePrice variableused for the average price of the stock throughout the day

Q.1

SimpleIntegerProperty count;

Simple Double count variable used for counting of all the stock price updates

Q.1

SimpleDoubleProperty sumPrice;

Simple Double sumPrice used to get the average which is sumPrice/count = averagePrice

Q.1

SimpleDoubleProperty prevPrice2;

Simple Double prevPrice2 variable used for getting another price of stock after refreshing

Q.1

SimpleDoubleProperty purchasePrice;

Simple Double purchasePrice variable used for the purchase price of the stock

Q.1

SimpleDoubleProperty accVal;

Simple Double accVal variable used for the account value

Q.1

SimpleIntegerProperty quantity;

Simple Integer quantity variable used for the quantity of the stocks

Q.1

SimpleIntegerProperty quantity2;

Simple Integer quanity2 variable used for the quantity of the stocks

Q.1

SimpleBooleanProperty owned;

Simple Boolean owned variable used for the owned stocks that the application has bought

Q.1

SimpleDoubleProperty totalValue;

Simple Double totalValue variable used for total value of the stock

Q.1

SimpleDoubleProperty net, daysHigh, daysLow

Simple Double net, daysHigh, and daysLow variables used for the net of the stock, also used to get the day’s high and day’s low of the stocks

Q.1

SimpleDoubleProperty purchase Value, sellPrice, profit, total Cost

Simple Double purchaseValue, sellPrice, profit, and totalCost. Variables used for the purchased price of the stock, the sell price of the stock, the profit of the stock, and the total cost of each stock

Q.1