Re: [R] RSQLite: rounding

2016-02-24 Thread Leonardo Miceli
59), Open_Interest = c(27856L, 261570L, 40600L, 340472L, 53640L, 80156L), Traded_Contracts = c(1025L, 18467L, 820L, 28044L, 720L, 12570L), Trades = c(77L, 1645L, 61L, 2073L, 23L, 140L), Volume = c(43851219, 678739310, 25892492, 760790054, 16690664, 248374870), ContractSize = c(1000L, 1000L, 1

[R] RSQLite: rounding

2016-02-24 Thread Leonardo Miceli
Does anybody here had any problem with rounding using RSQLite? I have a query which return around 100 thousands records of double precision numeric values. The query returns the numbers with 1 digit precision. But when I run the same query but constrains the number of recorded values returned,

[R] Rmetrics timeDate - business days between dates

2009-09-11 Thread Leonardo Miceli
Hi One of the most important calculation in applied finance is the number of days between dates. That kind of calculus become annoying when a specific calendar must be used. That is the case for the business days calculus. The package timeDate has a function isBizday to perform that kind of thing