org.mov.analyser
Class PaperTrade.Environment
java.lang.Object
org.mov.analyser.PaperTrade.Environment
- Enclosing class:
- PaperTrade
protected class PaperTrade.Environment
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
quoteCache
public EODQuoteCache quoteCache
quoteBundle
public EODQuoteBundle quoteBundle
portfolio
public Portfolio portfolio
cashAccount
public CashAccount cashAccount
shareAccount
public ShareAccount shareAccount
startDateOffset
public int startDateOffset
endDateOffset
public int endDateOffset
tradeValueBuy
protected java.lang.String tradeValueBuy
tradeValueSell
protected java.lang.String tradeValueSell
PaperTrade.Environment
public PaperTrade.Environment(EODQuoteBundle quoteBundle,
java.lang.String portfolioName,
TradingDate startDate,
TradingDate endDate,
Money capital,
java.lang.String tradeValueBuy,
java.lang.String tradeValueSell)
- Create a new environment for paper trading.
- Parameters:
quoteBundle
- the historical quote dataportfolioName
- the name of the portfoliostartDate
- start date of tradingendDate
- last date of tradingcapital
- initial capital for trading