Welcome to MSDN Blogs Sign in | Join | Help

January 2007 - Posts

Is this functional code? Dr.T. Reply ....

This would be a functional approach: CountWithPrevious : [‘a] => (a => a => bool) => int // type of the function CountWithPrevious [] _ = 0 CountWithPrevious [_] _ = 0 CountWithPrevious [prev, val | tail] pred = CountWithPrevious [val | tail]
Posted by lucabol | 1 Comments
Filed under:

Is this functional code?

I'm an Object Oriented (OO) kind of guy, maybe a bigot. I have read a very large number of OO books and I've written a fair amount of OO code in my 10+ years in this industry. I'm afraid my mind is wired for OO at this point, for good or bad. Recently,
Posted by lucabol | 1 Comments
Filed under:

A trading/portfolio management Excel Add-in based on the books by Ralph Vince

This one is an Excel add-in that adds functions to Excel to analyze your trading and manage your portfolio. Notice that I'm not a professional trader or statistician, so the whole thing could be wrong, buggy or conceptually absurd. Probably it is all of the above. I used the extremely good ExcelDna to write the add-in. You need to download it and follow the instructions in HowToInstall.txt on the attached zip file to use it. I based the formulas mainly on the work of Ralph Vince. Please buy and read his books on money management as they are wonderful.
Posted by lucabol | 3 Comments
Attachment(s): TradingLibrary.zip
 
Page view tracker