- remove three obsolete calc* functions
- initial revision of PortfReturns fn, not yet exported, provides per-instrument contribution to return on equity
- move GrossTxnRealizedPL calc into addTxns, removing obsolete one-line calcRealizedPL fn
- more updates to PortfReturns, documentation, export it
- Fixed creation of xts object newrow with cbind (traderules.R, line 180)
- Added as.numeric wrapper around qty[i] (orders.R, line 262)
- update sigFormula to make it more robust (thanks to THomas Bolton)
- minor updates to roxygen docs
- make instrument meta-data available in applyRules as mktinstr; call via quote(mktinstr)
- Changed > to >= for length(price)
- fix bug in stoplimit processing on low-frequency data in ruleOrderPorc
- fix s/mkdata/mktdata/ typo in applyRules
- explicitly pass tmult as argument to ruleSignal
- change macd demo to demonstrate stoplimit order at threshold multiplier
- fixed multiple as.numeric()
- added isTRUE around is.na()
- add iceberg order type
- impute side in osMaxPos if necessary
- minor typo/bug fixes
- update docs
- add risk rules and stoptrailing support for higher frequency bars
- add timespan parameter for ISO-8601 time subset rule execution
- update docs
- minor as.numeric bug fixes
- add getPrice(Prices,...) to handle multicolumn price data
- In ruleOrderProc moved remqty above if statement
- In addPosLimit fixed colnames(newrow)
- eliminate (most?) match.fun calls in applyRules by doing match.fun in add.rule
- update docs
- update DESCRIPTION file dependency on xts to current 0.7-6.1
- converted "\t" to "    " in orders.R
- Elminate doubled subsetting calls:
    e.g. ordersubset[ii, ]$Txn.Fees -> ordersubset[ii,"Txn.Fees"]
- Create variables at top of loops to avoid repeated subsetting calls
- add argument handling for 'prefer' argument to address R-Forge request 1146 for Mark Breman
- update docs