Serving the Quantitative Finance Community

Search found 52 matches

by jjyu
January 25th, 2012, 2:56 pm
Forum: General Forum
Topic: banks lend customers' fund for a profit vs MF Global missing fund
Replies: 2
Views: 14810

banks lend customers' fund for a profit vs MF Global missing fund

<t>My question is .... can bank use customers' deposit to lend? If so, what's the legal base to investigate the missing fund at MF Global? On the other hand, if banks are prohibited from using customers' fund for lending, where would the money come from for them (banks) to generate interest income?T...
by jjyu
December 3rd, 2008, 2:10 pm
Forum: Programming and Software Forum
Topic: Excel 2007 - Cube Functions Examples
Replies: 4
Views: 47465

Excel 2007 - Cube Functions Examples

<t>It shouldn't be that hard. The idea of implementing "cube" is to provide a way to work with database, in addition to the "query" method, and make the logic cleaner (of course there are cases query would be a better solution.).You can think of "cube" containing the aggregate data and readily avaia...
by jjyu
December 3rd, 2008, 11:57 am
Forum: Programming and Software Forum
Topic: Excel 2007 - Cube Functions Examples
Replies: 4
Views: 47465

Excel 2007 - Cube Functions Examples

Dont know if this is what you want..
by jjyu
November 6th, 2008, 2:01 pm
Forum: Programming and Software Forum
Topic: loan level data from intex sub
Replies: 2
Views: 52898

loan level data from intex sub

it really depends on the product you are examining. For mega and giants, you can try to use ICMODEAL_SEASONED_EXPLODE when calling icmo_deal.If you are looking at CDO, you can still do the same. If intex has the data, you will get it. I hope you've figured out how to solve the problem.
by jjyu
October 28th, 2008, 4:12 pm
Forum: Programming and Software Forum
Topic: how to create an excel add-in from c++ via a .dll
Replies: 18
Views: 53499

how to create an excel add-in from c++ via a .dll

<t>You said in your previous message that you observed pointer would work while fixed size array failed. However, you like to be able to predefine the number of paths (the size of the pointer) when using pointer.katastrofa and daveangel recommended to create the array of pointers (on the heap) and s...
by jjyu
October 21st, 2008, 9:56 pm
Forum: Programming and Software Forum
Topic: Yield curve class c++
Replies: 6
Views: 51943

Yield curve class c++

<t>QuoteOriginally posted by: gileperI am building my own library in c++ .. I have many ideas for structuring yield curve class, but I am confused..What could be a Simple and efficient design in terms of base class, derived class, composition?What relationship between rates, discount factor, and zc ...
by jjyu
October 20th, 2008, 6:45 pm
Forum: Programming and Software Forum
Topic: XLW and calling class-methods
Replies: 21
Views: 54110

XLW and calling class-methods

<t>QuoteOriginally posted by: DominicConnorIs XLW thread safe ?QuoteThis Thursday (23rd) 6 PM, CQF Alumni will get an introduction on how to argue with their boss without offending him (or his mother). This year bonus discussion probably is not needed as everything is already written on the wall. Wh...
by jjyu
October 17th, 2008, 1:52 pm
Forum: Programming and Software Forum
Topic: XLW and calling class-methods
Replies: 21
Views: 54110

XLW and calling class-methods

Absolutely a right techniq to handle global variables in multi-threaded environment!Speaking of multithreaded, any thought on async operation using xlw or sdk released by Microsoft for Excel? thx.
by jjyu
October 17th, 2008, 1:40 pm
Forum: Programming and Software Forum
Topic: An Excel 2007 SDK question
Replies: 4
Views: 48734

An Excel 2007 SDK question

Thanks! It's very helpful. The reason I find this sample interesting is that the input control can refer to the spreadsheet. I didn't realize the doc can be found in MACROFUN.HLP, it waspart of the Excel 97 SDK. Old, isn't it? Anyway, Thanks very much for the help.Jeff
by jjyu
October 16th, 2008, 5:01 pm
Forum: Programming and Software Forum
Topic: An Excel 2007 SDK question
Replies: 4
Views: 48734

An Excel 2007 SDK question

<t>Hi Dominic,It would be a long commute for me to come to your class. However, I can be a good reference if that's ok with you.Here is the struct in question:#define g_rgDialogRows 16#define g_rgDialogCols 7static LPWSTR g_rgDialog[g_rgDialogRows][g_rgDialogCols] ={ {L"\000", L"\000", L"\000", L"\0...
by jjyu
October 16th, 2008, 1:40 pm
Forum: Programming and Software Forum
Topic: An Excel 2007 SDK question
Replies: 4
Views: 48734

An Excel 2007 SDK question

In the sample program "Generic" that comes with Excel 2007 SDK, it shows how to build a user-defined dialog box in a struct.However, the struct itself is pretty much an array of numbers/strings. Does anyone know what they mean?Thanks in advance,Jeff
by jjyu
October 16th, 2008, 1:35 pm
Forum: Programming and Software Forum
Topic: XLW and calling class-methods
Replies: 21
Views: 54110

XLW and calling class-methods

Eric,You are absolutely correct. Using static variable can pull the trick, just put together a small test program to confirm it.Regards,Jeff
by jjyu
October 15th, 2008, 8:05 pm
Forum: Programming and Software Forum
Topic: XLW and calling class-methods
Replies: 21
Views: 54110

XLW and calling class-methods

<t>My suggestion is to bring up the debugger to see what is going on.I did this in Visual Studio environment:1. bring up Excel and install the add-in;2. Set the break point inside your code, attach to Excel from VS;3. enter the function in excel, it should stop at the break point;eehlers, the reason...
by jjyu
October 14th, 2008, 4:45 pm
Forum: Programming and Software Forum
Topic: XLW and calling class-methods
Replies: 21
Views: 54110

XLW and calling class-methods

<t>QuoteOriginally posted by: StaleHi all,I'm looking to learn XLW since this seems like an excellent tool. However, during my playing around I get some curious results: I have implemented a simple function returning 3.14, and wanted to do the same using a class method. This last approach will yield...
by jjyu
October 11th, 2008, 11:30 pm
Forum: General Forum
Topic: Best Applications for Evaluating CDO Risk and Pricing
Replies: 12
Views: 49677

Best Applications for Evaluating CDO Risk and Pricing

Did you consider intex?