search for: cashflow

Displaying 15 results from an estimated 15 matches for "cashflow".

2010 Aug 25
4
Secant Method Convergence (Method to replicate Excel XIRR/IRR)
...n my initial guess is very close to the correct IRR. Maybe I have some basic errors in my coding/logic? Any help would be greatly appreciated. The Wikipedia article to secant method and IRR: http://en.wikipedia.org/wiki/Internal_rate_of_return#Numerical_solution Thanks! ANXIRR <- function (cashFlow, cfDate, guess){ cfDate<-as.Date(cfDate,format="%m/%d/%Y") irrprev <- c(0); irr<- guess pvPrev<- sum(cashFlow) pv<- sum(cashFlow/((1+irr)^(as.numeric(difftime(cfDate,"2010-08-24",units="days"))/360))) print(pv)...
2009 Dec 18
1
How to define new operators
Dear R community I try to create a new operator to build a special sum of two CashFlows. (my S4 Class) I tried the following but this is actually not what I want. setGeneric("++",function(e1,e2)standardGeneric("++")) setMethod("+",signature=list("CashFlow","CashFlow"),function(e1,e2){ print("+") }) setMethod("++&qu...
2007 Jun 07
1
Cashflow 101 crashes if WINEDEBUG=+all not set. (Slackware 11/Wine 0.9.38)
Hello! I'm not sure if I should have posted this to wine-devel or add bug in Bugzilla, so I'm posting this here. I've got following problem: I've upgraded Wine to 0.9.38, and Kiyosaki's Cashflow 101(http://appdb.winehq.org/appview.php?iAppId=2216) stopped working. Game crashes "in windows way" - with a Message box "Unhandled Exception: c0000005 At address: 7ce479ce"(which means access violation). Address of error changes with every run, and crashdump shows that there...
2013 Apr 29
2
Adding elements in data.frame subsets and also subtracting an element from the rest elements in data.frame
Dear R forum I have a data.frame as cashflow_df = data.frame(instrument = c("ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC", "ABC", "PQR", "PQR...
2014 Apr 03
2
How to store interim print results
...) } date.diff = function(end, start, basis=1) {   if (basis != 0 && basis != 4)   return(as.numeric(end - start))   e <- as.POSIXlt(end)   s <- as.POSIXlt(start)   d <-   (360 * (e$year - s$year)) + (30 * (e$mon  - s$mon )) + (min(30, e$mday) - min(30, s$mday))      return (d) }  cashflows   <- 0  last.coupon <- maturity  while (last.coupon > settlement) {           print(last.coupon)             # I need to store these dates  last.coupon <- add.months(last.coupon, -12/frequency)  cashflows <- cashflows + 1 print(cashflows)                 # I need to store these cash...
2002 Jun 12
2
Getting at the "default Windows short date"
...he best way to attack this problem. I want to run an accounting program called Cash Flow Manager under wine. (As it happens, this program is our last dependency on Windows apps in our office, everything else is OpenOfifce.org and RH Linux). When I run the application: wine /c/Program\ Files/CashflowGST/CASHFLOWGST.exe I get a popup window with: Cashflow Manager requires the default Windows short date format for your selected language. Your currently selected short date format does not match the Windows default. You will need to select the default Windows Short Date forma...
2010 Aug 20
1
Shifting of Principal amount while calculating Present Value
...7342 [2,]  6.515675   94.521493      6.680664 [3,] 95.895064    6.710123      6.357680 [4,]   6.724304   6.389305     91.773536 rowSums(PV_table) gives [1] 106.35489 107.71783 108.96287 104.88714. Thus, the result is correct only in first case. In second case onwards, there is a shift of final cashflow e.g. in 2nd case, pertaining to year 2, value is 94.521493 which means it includes principal of 100. Likewise in third case, the principal is included in the first cash-flow itself. Again the fourth result is correct. So there is pre-shift of capital. I am not sure whether I am making any mista...
2009 Nov 12
0
A VaR question
...ming basis as a portfolio of two assets and then calculate the risk of the spread, 2 : Create a historical price series of basis then calculate VaR like single asset portfolio. Which one would be correct approach? In my opinion 1st is correct because, as basis can get any value like +ve & -ve, cashflow is not well defined in the sense that, if I sell basis (as an asset) and that time basis is negative, then I actually paying money for selling my asset !!! and secondly I cannot calculate percentage/logarithmic return for basis as basis can take zero-value as well. Can anyone validate that? What i...
2008 May 13
0
xirr...
Hello. A few weeks ago, I need to calculate the Internal Rate of Return for irregular intervals. There is the package 'financial', with the function 'cashflow', calculating irr for regular intervals. So I developed xirr, managing irregular intervals, that's accepting a vector of dates as xirr Excel function. You can find the code at http://albertosantini.blogspot.com/2008/01/xirr.html #~ Title: XIRR Excel function simulation #~ #~ Reference...
2009 Apr 09
0
Invoking bond_prices function of termstrc package
...1),1),nrow=1,byrow=TRUE) group<-c("GERMANY") colnames(b) <- c("beta0","beta1","beta2","tau1") germaturities<-create_maturities_matrix(eurobonds$GERMANY) bp<-bond_prices(method = "Nelson/Siegel",b,germaturities,eurobonds$GERMANY$CASHFLOWS$CF) bp Running this, I get the following warning message: In cf * discount_factors : longer object length is not a multiple of shorter object length Also the values I get (bp) seems not correct (way too high). I'm not sure if I need to change b. I'm on Windows XP and using R-2.7.2 + *...
2003 Nov 07
1
ODD PAM ERROR
...The log for that workstation says "PAM: UNKNOWN PAM ERROR (9) during Account Management for User: Domain+USERNAME!" Then it says "PAM: Account Validation Failed - Rejecting User Domain+USERNAME!" Does anyone have any helpful ideas? -- Brandon Lederer Linux Administrator Cashflow Billing Solutions (402) 898-2600 x334 **********CONFIDENTIALITY STATEMENT********** This e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. It is intended for the use of the individual or...
2003 Nov 26
1
Samba 3.0.1
When Might Samba 3.0.1 be out? -- Brandon Lederer Linux Administrator Cashflow Billing Solutions (402) 898-2600 x334 **********CONFIDENTIALITY STATEMENT********** This e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. It is intended for the use of the individual or...
2003 Jun 23
0
gnucash crashes on 5.1-RELEASE
Hi, I'm using gnucash 1.8.4 on 5.1-RELEASE. Entering, viewing and editing accounts and transactions works fine so far, but as soon I click for help in an account view or select Reports, Income&Expense, Cashflow, it crashes with the following last words: wn@matutin:~$ gnucash Fatal error 'Unable to read from thread kernel pipe' at line 1100 in file /usr/src/lib/libc_r/uthread/uthread_kern.c (errno = 0) Abort trap (core dumped) wn@matutin:~$ I've used 5.0 until yesterday and saw on 5.0 an erro...
2004 Jan 10
2
Free Software or not -- that's the question /* New subject */
(removed In-Reply-To header) On Sat, Jan 10, 2004 at 10:01:12AM +0000, WipeOut wrote: > >> > >>And make sure to send in a disclaimer otherwise it will not even be > >>looked at.. :) > >> > >How do we know what is disclaimed or not disclaimed? > >/O > > > Digium have all the Disclaimers and will not develop or include any code > into
2006 May 02
96
[ADV] Second Edition of Agile Web Development with Rails
ANNOUNCING AGILE WEB DEVELOPMENT WITH RAILS, SECOND EDITION =========================================================== http://www.pragmaticprogrammer.com/titles/rails2/ Rails has changed a lot since we announced the first edition of the book a year ago. DHH says that the 1.1 release "boasts more than 500 fixes, tweaks, and features from more than 100 contributors." Who are we to