Szymon Kobalczyk's Blog

A Developer's Notebook

  Home  |   Contact  |   Syndication    |   Login
  84 Posts | 5 Stories | 164 Comments | 380 Trackbacks

News

View Szymon Kobalczyk's profile on LinkedIn

Twitter












Article Categories

Archives

Post Categories

Image Galleries

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/9/2008 1:41 AM Download games
Great article. Gives me many good ideas, thanks.


# 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? 9/28/2008 10:53 AM Free Online Games
Thanks for this great article.

# re: How I won the Lab49 WPF in Finance Innovation Contest voyance ? 10/1/2008 2:48 AM voyance gratuite
Congratulations man.
Gives me many good ideas, thanks !

# re: How I won the Lab49 WPF in Finance Innovation Contest? 10/3/2008 6:33 AM commission blueprint
Great share, thanks.

Post Feedback

Title:
Name:
Email: (never displayed)
Url:
Comments: 
Please add 1 and 7 and type the answer here: