Serving the Quantitative Finance Community

Search found 79 matches

by luizvs
July 1st, 2004, 11:55 pm
Forum: Programming and Software Forum
Topic: OLE in Excel with c++
Replies: 1
Views: 185413

OLE in Excel with c++

OK...I got it...I was a thread issue!Tx all
by luizvs
June 25th, 2004, 12:44 pm
Forum: Programming and Software Forum
Topic: OLE in Excel with c++
Replies: 1
Views: 185413

OLE in Excel with c++

<t>I am trying to set a formula to a range using the IDISP_range.OlePropertySet (the same as Invoke with DISPATCH_PROPERTYPUT) but Excel crashes after the first use. In fact, Excel starts a kinf of endless looping and stop calculation at all.Here is some pieces of my code in C++ (Builder 6):********...
by luizvs
December 16th, 2003, 11:07 am
Forum: Programming and Software Forum
Topic: Application.ScreenUpdating ?
Replies: 6
Views: 189956

Application.ScreenUpdating ?

Have you try to use "ECHO(boolean)" function or "xlfEcho" (C enviroment) constant?
by luizvs
November 15th, 2003, 12:30 pm
Forum: Programming and Software Forum
Topic: XLL + worth the price
Replies: 2
Views: 189587

XLL + worth the price

Yes - for "complex" and small toolsNo - for big tools
by luizvs
November 10th, 2003, 9:01 pm
Forum: Programming and Software Forum
Topic: need excel formula that pulls out a formula
Replies: 2
Views: 189433

need excel formula that pulls out a formula

Try this:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Public Function ret_func(target As Range) As String ret_func = target.FormulaEnd Function~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
by luizvs
November 10th, 2003, 8:56 pm
Forum: Technical Forum
Topic: PCA: Matrix not positive definite
Replies: 10
Views: 190523

PCA: Matrix not positive definite

Hi msr,If correlation matirx is not SPD, you will likely have negative eigenvalues. So. your PCA analisys is not valid.You could try to transform (proxy) your correlation matrix in a SPD one.
by luizvs
November 10th, 2003, 8:28 pm
Forum: Programming and Software Forum
Topic: technical Q on COM interface
Replies: 7
Views: 189887

technical Q on COM interface

What about build in C++ enviroment with type checking and use a DLL in VB??
by luizvs
November 8th, 2003, 7:37 pm
Forum: Programming and Software Forum
Topic: Excel Add-in Source Code Security
Replies: 12
Views: 190360

Excel Add-in Source Code Security

<t>Hi Leo,I’d like to add just some points:1) If you write your commercial application in C++, it will be very hard and almost impossible to “rebuild/decompile” the source code, especially with DLL or XLL applications. So, I agree with DavidJN, it’s the safest choice. 2) If your add-in can be cracke...
by luizvs
November 7th, 2003, 2:52 pm
Forum: Student Forum
Topic: What DECAYFACTOR to choose?
Replies: 1
Views: 189333

What DECAYFACTOR to choose?

Hi Jogchum,To choose a decay factor you could use a process to minimize errors for future/predicted variance (one step ahead). That is equivalent to compute variance of predicted variance for each decay and take the one which minimizes it.HTH
by luizvs
October 13th, 2003, 8:39 pm
Forum: General Forum
Topic: If a banana republic defaulted...
Replies: 18
Views: 190518

If a banana republic defaulted...

<t>I’d like to add two things:1) Argentina is not a banana republic! They are not a tropical enough!2) Argentina already defaulted! I mean, twice!!So, let’s take another victim…for while, let’s keep BR (Banana Republic)…We have seen in the last emerging countries defaults (crisis or whatever…) a kin...
by luizvs
August 29th, 2003, 7:44 pm
Forum: Programming and Software Forum
Topic: Use VBA to determine address of hyperlink
Replies: 2
Views: 190779

Use VBA to determine address of hyperlink

Have u try this code?~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Range("A1").SelectActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _ "http://www.wilmott.com.br/", TextToDisplay:="CLICK HERE"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
by luizvs
August 25th, 2003, 1:11 pm
Forum: Student Forum
Topic: SE for Intercept in Multiple LInear Regression
Replies: 2
Views: 189575

SE for Intercept in Multiple LInear Regression

Does anyone know the formula for standard error of intercept in multiple linear regression?Tx in advance.
by luizvs
August 19th, 2003, 2:37 pm
Forum: Programming and Software Forum
Topic: process attached to file?
Replies: 3
Views: 189649

process attached to file?

<t>Hi Godfather,When you use Application. OnTime, the procedure you call at that time still remains even if you close your worksheet! It’s an application event and not a worksheet event!To avoid calling a macro after closing a worksheet, you have to cancel OnTime events!!You have to use something li...
by luizvs
August 9th, 2003, 5:12 pm
Forum: Programming and Software Forum
Topic: Random Numbers in C++
Replies: 10
Views: 191576

Random Numbers in C++

<t>Hi Jack,A deterministic generator is one that you always have the same sequence. So, if you are testing some algorithm or solution you can run it again and have the same sequence to compare results. It's very useful to make simulations that need to be comproved latter by others then you!! Even be...
by luizvs
August 9th, 2003, 5:03 pm
Forum: Programming and Software Forum
Topic: Streaming into a STL map object
Replies: 17
Views: 191654

Streaming into a STL map object

<t>Hi Sam,I thought u are doing directly from Excel and not from file streams (as u first said and I missed!!). All my comments are valid just for functionalities inside Excel (functions and commands).But Excel must work the same way. So, for the 2° column, you likely (now I'm not sure) have to read...