net.sourceforge.eclipsetrader.core.db.trading
Class TradingSystem
java.lang.Object
java.util.Observable
net.sourceforge.eclipsetrader.core.db.PersistentObject
net.sourceforge.eclipsetrader.core.db.trading.TradingSystem
- public class TradingSystem
- extends PersistentObject
Methods inherited from class java.util.Observable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIGNAL_NONE
public static final int SIGNAL_NONE
- See Also:
- Constant Field Values
SIGNAL_BUY
public static final int SIGNAL_BUY
- See Also:
- Constant Field Values
SIGNAL_SELL
public static final int SIGNAL_SELL
- See Also:
- Constant Field Values
SIGNAL_HOLD
public static final int SIGNAL_HOLD
- See Also:
- Constant Field Values
SIGNAL_NEUTRAL
public static final int SIGNAL_NEUTRAL
- See Also:
- Constant Field Values
TradingSystem
public TradingSystem()
TradingSystem
public TradingSystem(java.lang.Integer id)
getGroup
public TradingSystemGroup getGroup()
setGroup
public void setGroup(TradingSystemGroup group)
getPluginId
public java.lang.String getPluginId()
setPluginId
public void setPluginId(java.lang.String pluginId)
getAccount
public Account getAccount()
setAccount
public void setAccount(Account account)
getSecurity
public Security getSecurity()
setSecurity
public void setSecurity(Security security)
getDate
public java.util.Date getDate()
setDate
public void setDate(java.util.Date date)
getSignal
public int getSignal()
setSignal
public void setSignal(int signal)
getParameters
public java.util.Map getParameters()
setParameters
public void setParameters(java.util.Map parameters)
getMaxAmount
public double getMaxAmount()
setMaxAmount
public void setMaxAmount(double maxAmountPerTransaction)
getMaxExposure
public double getMaxExposure()
setMaxExposure
public void setMaxExposure(double maxExposure)
getMinAmount
public double getMinAmount()
setMinAmount
public void setMinAmount(double minAmountPerTransaction)