Szymon Kobalczyk's Blog

A Developer's Notebook

  Home  |   Contact  |   Syndication    |   Login
  106 Posts | 6 Stories | 579 Comments | 365 Trackbacks

News

View Szymon Kobalczyk's profile on LinkedIn

Twitter












Tag Cloud


Article Categories

Archives

Post Categories

Blogs I Read

Tools I Use

Honestly, I still don't know how I did it. The LAB49 WPF in Finance Innovation Contest was announced back in December and I think I first read about it on Tim Sneath blog. With all the cool prizes I was very inclined to participate, but it quickly turned out that its available only to US citizens. However that changed in the first week of February, so I started considering it again, but still didn't had any clue what to do. You see the goal of this contest was to create a WPF application that visualizes a set of provided financial data in some interesting way. While the first part was easy (writing the app in WPF) the hardest part was to figure out what to do with the data. Only after "last call to action" email from Daniel Chait I decided its about time to start coding.

Because I started working late on this project, initially I wanted to create only a charting control capable of displaying the line and candlestick plot of stock prices. But after the contest deadline was extended I started thinking of a better way to visualize the stock prices for a given day – something that goes beyond a simple listbox or a datagrid. The next option I considered was to create a heatmap – i.e. use color gradients to denote the change in stock prices relative to the previous day. But in all samples I’ve seen these symbols were placed on a regular grid and the placement didn’t correspond in any particular way with the data. I started thinking about how to sort the symbols so that those that experienced similar data change would be close to each other, and those with different data change remain further apart. This finally led me to the idea of applying Craig Reynolds’ flocking algorithm to perform this clustering.

Here is a screenshot from my final entry called Stock Information Boids:

 Stock Information Boids WPF Application

Also you can already download the source code for this application from my resource page at MSDN Code Gallery. Make sure to read the user guide that describes how the algorithm works and how to use the application.

Turns out that for some reason the judges liked my solution, because last week at the closing keynote of 2008 Microsoft Financial Services Developer Conference in New York, Daniel Chait announced that I won the grand prize in the contest!

The two finalist were Jacob Carpenter and Jobi K Joy, while the honorable mention went to Paul Hounshell. Congratulations guys, great work! You can download their very cool applications from here:

In following weeks I will try to share some details on my implementations (in particular about the Timeline and Flock controls). I was already told that Jobi K Joy and Jacob Carpenter plan to do the same, so make sure to subscribe to their blogs too.

I would like to thank the judges for selecting my entry. And last but not least, big kisses for my wife Joanna for letting me work on the project all nights and weekends considering her present condition (L)

posted on Monday, March 17, 2008 9:39 PM

Feedback

# re: How I won the Lab49 WPF in Finance Innovation Contest? 3/18/2008 4:48 PM sam
dude - I ran stockboids and came up with this runtime error?

AppName: stockboids.exe AppVer: 1.0.1.0 AppStamp:47d578be
ModName: kernel32.dll ModVer: 5.1.2600.3119 ModStamp:46239bd5
fDebug: 0 Offset: 00012a5b

# re: How I won the Lab49 WPF in Finance Innovation Contest? 3/18/2008 11:18 PM siva
COngratulations man. Its cool app. Running without any error. It will be good if other two guys share their code like you.

# re: How I won the Lab49 WPF in Finance Innovation Contest? 3/27/2008 3:20 AM Joe
Congratulations ! Excellent work.


# re: How I won the Lab49 WPF in Finance Innovation Contest? 4/1/2008 7:53 AM bal
Nice to meet you.
I had a look at blog.
Please link to this site.
http://www.geocities.jp/yui_0_8/


# re: How I won the Lab49 WPF in Finance Innovation Contest? 5/23/2008 9:28 PM Bhavik
Hey,

I liked your project. I was wondering that how do i start with WPF. I am quite easy with doing .NET 2.0 Applications. but i havent really got a headstart at WPF. Please guide me !

Regards,
Bhavik Vora
bhavik@live.in

# re: How I won the Lab49 WPF in Finance Innovation Contest? 9/7/2008 6:42 PM Nicholas Blumhardt
Wow - very cool idea :)

# re: How I won the Lab49 WPF in Finance Innovation Contest? 9/16/2008 10:24 PM earth4energy
Thanks, great ideas.

# re: How I won the Lab49 WPF in Finance Innovation Contest? 4/28/2010 1:25 PM finance NYC
I think that you can find the answer and help on Google searching for finances in NYC. there's a loan full of information and when it comes to the finances, the information is always useful. Good luck!

# re: How I won the Lab49 WPF in Finance Innovation Contest? 5/5/2010 5:53 AM Great Lakes Health Insurance
I am so glad that I have found this your article because I have been searching for some information about the finance innovation contest almost an hour. You helped me a lot indeed and reading this your entry I have found many new and useful information about this question. Well, I will definitely bookmark your website and wait for other useful and detailed posts like this one in the future. Regards, Matt.


# re: How I won the Lab49 WPF in Finance Innovation Contest? 7/1/2010 9:33 AM mp3 rocket music
Very great and informative article indeed. I have to admit that it was quite interesting to read this your post but I have never heard about the Finance Innovation Contest. It would be really interesting to read it for myself because you have made me to be very interested in it. Moreover it is really great that you have shared the link there I would find more information about this contest. Thanks one more time for this publication, it was really interesting to read it.

Post A Comment
Title:
Name:
Email:
Comment:
Verification: