net.sourceforge.eclipsetrader.core.db
Class PortfolioPosition
java.lang.Object
net.sourceforge.eclipsetrader.core.db.PortfolioPosition
- public class PortfolioPosition
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortfolioPosition
public PortfolioPosition(Account account,
Security security,
int quantity,
double amount)
add
public void add(int quantity,
double amount)
getPrice
public double getPrice()
setPrice
public void setPrice(double price)
getQuantity
public int getQuantity()
setQuantity
public void setQuantity(int quantity)
getSecurity
public Security getSecurity()
setSecurity
public void setSecurity(Security security)
getValue
public double getValue()
getMarketValue
public double getMarketValue()