Displaying 2 results from an estimated 2 matches for "tradedate".
Did you mean:
trade_date
2015 Jul 11
1
User Input
...or 100-2+ (5/128).?
Once passed these variables must have a steady state (in decimal). ?After reading the R documentation and Hadley's book I think the way to do this is via a class but I can quite get my head around how to do it. ?A nominal model is:
Analytics <- function(bondid = cusip, tradedate = trade.date, settledate = settle.date, price = 100.125){
BondAnalytics <- BondAnalytics(tradedate = tradedate, settledate = settledate, price = price)
New("BondAnalytics ...)
} ?
So, price is an input to a constructor function which calls other functions to create the class object BondAna...
2012 Jul 30
1
why querying Sybase IQ using RODBC returns error ?
...51}"
chan <- odbcDriverConnect(connstr)
on.exit(odbcClose(chan))
if (length(list(...)) > 0)
sql <- sprintf(sql, ...)
x <- sqlQuery(chan, sql, as.is = as.is)
return(x)
}
R>
R>
R>
R> x <- sybaseiq.query("select * from syagprd1.orders where
tradedate='120727' and acct='DVW'")
Error in .Call(C_RODBCFetchRows, attr(channel, "handle_ptr"), max, buffsize,
:
negative length vectors are not allowed
R> x
[1] "42000 -131 [Sybase][ODBC Driver][Sybase IQ]Syntax error near 'order' on
line 1"...