Sunday, December 02, 2007
Some Random Comments
2) Please pay careful attention to the Comments section of each post here. Many of the CEP vendors are responding with interesting and important comments.
3) I need to start thinking about a notification framework for the CEP project. Notifications are a bit more complicated in financial firms where Chinese Walls have to exist, and where compliance officers are constantly over your shoulder. It's a good idea to involve the compliance guys right from the start, and to have THEM tell you where the Chinese Walls should be. Nothing will get their attention more that discovering that your prop traders are getting notification about your customer order flow!
4) I just subscribed to Alex's blog. Some interesting posts. Takeaways from skimming through his blog include:
a) I need to narrow down CPU pricing from the CEP vendors. Let's assume quad-core machines.
b) I am more curious about NEsper than I was before.
c) How will Esper and BEA stay in sync? Seems a bit annoying that BEA has seen fit to change some of the syntactic sugar of the original product.
©2007 Marc Adler - All Rights Reserved
Friday, November 30, 2007
Consultant Wanted - C# and Market Data Expertise
I will help them identify this consultant. The resulting work will be consumed by my team, as well as other financial firms that rely on real-time market data.
You can contact me at
XXXXX magmasystems XXXXXXX
XXXXXXXX at XXXXXXXXXXXXXX
XXXXXXXXXX yahoo XXXXXXXXX
©2007 Marc Adler - All Rights Reserved
Coral8 Update
We validated that Coral8 was putting out the same output as our custom app, and I was enlightened on some of Coral8's capabilities that were not so easy to find in their wads of documentation. Although there is much good in Coral8, there were also some gotchas.
- Documentation needs to be consolidated a bit. There are a lot of separate manuals plus technical articles. There needs to be a "cookbook" on their CCL language.
- You cannot test a simple user-defined function without writing an intermediate stream. There is no simple way to dump a variable to the console. In other words, I would like to do this simple thing:
CREATE VARIABLE commission;
SET commission = CalculateCommission(); -- this is my user-defined function
CONSOLE.WRITE(commission);
- We managed to get the Coral8 Studio to freeze consistently. Luckily, no work was lost. The Coral8 Studio is written using wxWidgets, so I wonder how they do unit-testing on the studio.
My opinion is that, although it is great to have the advanced features, you still need to pay attention on the everyday, little tasks that developers need to do. Henry tells me that, in the future, Coral8 will move to a more Visual Studio, file-based way of developing. I certainly welcome this. Henry spent 8 hours watching me drive. When I was having problems, I verbalized the issues so that Henry could see what I was going through and he could bring the issues back to his management.
On the plus side :
- I have been reading about Coral8's pattern matching capabilities. We will definitely be exploring this.
- Coral8 has a relatively inexpensive barrier to entry. If we have a production, development, and COB servers (all dual or quad-core machines), then it won't break our budget.
- Their software does have any time limits on the evaluation versions. One thing that I do not like is a license key that is only good for 30 days. Given the nature of financial companies, we often get pulled into a lot of side projects. I don't want my time to be in the "thick of things", only to find out that the license key elapsed. Coral8 is very friendly to the evaluator.
Now, on to Aleri. I will be using their new 2.4 release.
©2007 Marc Adler - All Rights Reserved
Financial Due Diligence
If you use a vendor for a "bet the farm"-type application, then you want to make sure that the vendor behind the product is rock solid. My boss, who is the Global Head of Equities Technology for the firm, asked me who the "800 lbs gorilla" is in the CEP space. He wanted to make sure that we were safe in our choice, and that no matter how good the technology is, we did not put all of our eggs into a guy working nights in his basement (although, those kinds of companies usually make the best software!).
There is really no 800-lbs gorilla is the "pure" CEP space. By "pure" CEP players, I am talking about guys like Aleri, Coral8, Streambase, Esper, Apama, Truviso, Kaskad, etc. In this space, most of these companies number their customers in the dozens rather than the thousands. These companies are all competing for that big reference customer, the one that companies can stand back and say "This investment bank doubled their trading revenues because of our product."
Compounding this fact is the whole credit crunch and subprime mess. The New York Times had an article yesterday that described the effects that the credit crunch is starting to have on all sorts of companies ... even softeware companies and web-design shops were mentioned. So, we need to make sure that the CEP vendor that we choose is not affected, nor will be affected by the credit crunch. Coincidentally, one ex-employee of a CEP vendor sent me private email that mentioned that his company was undergoing a round of layoffs.
No matter which CEP vendor you choose, you should always have one backup. This is standard practice when dealing with small vendors. You should have the vendor's source code in escrow. You should have your financial people do a deep dive on a vendor's financials. Is the vendor self-funded or are they VC funded? Does the VC have the appetite to wait 5 to 7 years for a good return on their investment? What is the past behavior of the VC firms with regards to startups? What happens if the chief architect of the product leaves the company? Is the product written in a mainstream language, in case you need to take possession of the source code that's in escrow?
These are all questions that you should ask before making the final selection of your vendor.
©2007 Marc Adler - All Rights Reserved
Saturday, November 24, 2007
First Use Case Done with Coral8
Well done, Coral8 team!
Now, it's on to the Aleri evaluation. The good people at Aleri's sales engineering team have done most of this first use case, but now that I am armed with more Coral8 knowledge, I need to try to rebuild the Aleri use case from scratch by myself.
©2007 Marc Adler - All Rights Reserved
Thursday, November 22, 2007
More on the first CEP Use Case
Henry is our designated pre-sales engineer. His job is to do what it takes to make sure that the prospective customer is happy with the product before making a decision to purchase the product. Bob is the head architect of Coral8, and his job (as he described it) is to make sure that the product is as easy to use as possible.
Between Henry and Bob, two solutions were offered. I will go into the first solution in this blog entry. The second solution revolves around custom timestamping of messages by the input adapter, and this topic deserves a blog entry of its own.
The main problem was to analyze the order flow for each sector over a one minute timeslice, and determine if any sectors showed abnormal activity. The problem that I was faced with was that the concept of “time” was determined by the TransactTime field in the FIX message, and not by the “clock on the wall”. So, if for some reason, I received two FIX messages in a row, one whose TransactTime field was 14:24:57 and one whose TransactTime field was 14:25:01, then the receipt of the second FIX message should cause a new timeslice, regardless of what the wall clock said.
The solution that Henry came up with was to use a pulse in a stream. Although the concept of raising an event is very common is programming, it is not really something that you tend to do in SQL stored procedure. The thing is that programming in Coral8’s CCL (as well as the SQL-like dialects that many of the CEP vendors have) is a combination of procedural and SQL programming, and the trick is to find the correct “pattern” to solve your problem. This is where many of the CEP vendors can improve; they can publish a listing of patterns, they can come up with FAQs, etc. I mentioned this to Bob of Coral8, so expect to see some movement on this front from the Coral8 folks.
Here is what the pulse stream looks like in Coral8’s CCL:
----------------------------------------------------------------------------------
-- LastTimeSlice holds the maximum timeslice (0 to 389) of the order stream.
-- When we see an order with a TransactTime greater than the current max timeslice,
-- then we set the new max timeslice. We also use this as a signal (pulse)
-- to one of the streams below.
----------------------------------------------------------------------------------
CREATE VARIABLE INTEGER LastTimeslice = -1;
CREATE LOCAL STREAM stream_Pulse;
INSERT INTO stream_Pulse
SELECT
TimeToTimeBucket(FlattenNewOrder.TransactTime) AS epoch
FROM
FlattenNewOrder
WHERE
TimeToTimeBucket(FlattenNewOrder.TransactTime) > LastTimeSlice;
-- When we insert a new timeslice into the stream_Pulse stream, we also
-- set the new maxmimum timeslice.
ON stream_Pulse
SET LastTimeSlice = stream_Pulse.epoch;
We have a global variable that keep the maximum timeslice that is flowing through our system. Since there are 6.5 hours in the trading day, there are 390 minute-sized timeslices that we want to consider.
In the INSERT statement, if the timeslice from the incoming FIX message is greater than the current maximum timeslice, then we insert a new record into the pulse stream.
The ON statement functions like a trigger. When a new record is inserted into a stream, you can have one or more ON statements that react to the event of inserting a record into the stream. Here, we set the new maximum timeslice.
We need to maintain a Window that contains all of the orders for the current timeslice. The order information includes the stock ticker, the sector that the stock belongs to, the number of shares in the order, and the current timeslice. In Coral8, a Window provides retention of records. You can specify a retention policy on a Window, whether it been a time-based retention policy (keep records in the window for 5 minutes) or a row-based retention policy (keep only the last 100 rows). What is missing here is a retention policy based on a boolean expression or on a certain column value changing. Streambase has this, and Coral8 knows that this feature should be implemented down the road.
----------------------------------------------------------------------------------
-- The TickerAndSector window holds all FIX orders for the current timeslice.
-- Each row of the window contains the FIX order and the sector information.
-- When we see a new timeslice, the TickerAndSelector window is cleared
-- using a DELETE statement.
----------------------------------------------------------------------------------
CREATE WINDOW TickerAndSector
SCHEMA (Ticker STRING, SectorName STRING, SectorId INTEGER, Shares INTEGER, TransactTimeBucket INTEGER)
KEEP ALL;
INSERT INTO TickerAndSector
SELECT
FlattenNewOrder.Ticker,
TickerToSectorMap.SectorName,
TickerToSectorMap.SectorId,
TO_INTEGER(FlattenNewOrder.Qty),
TimeToTimeBucket(FlattenNewOrder.TransactTime)
FROM
FlattenNewOrder,
TickerToSectorMap
WHERE
TickerToSectorMap.Ticker = FlattenNewOrder.Ticker
AND TimeToTimeBucket(FlattenNewOrder.TransactTime) >= LastTimeSlice;
Now that we have a list of orders that occur for the current timeslice, we need to know when a new timeslice occurs. At this point, we need to analyze the orders for the current timeslice, find out which sectors are showing abnormal activity, and clear out the TickerAndSector window so that new orders can be accumulated for the new timeslice.
----------------------------------------------------------------------------------
-- The OrdersPerSectorPerMinute window contains the aggregated totals
-- for each sector for the previous timeslice. The aggregated totals include
-- the number of orders for each sector and the total number of shares for each sector.
--
-- The interesting part of this is the join between the TickerAndSector window
-- and the stream_Pulse. The stream_Pulse will be triggered when we see a new
-- timeslice.
--
-- When we insert rows into the OrdersPerSectorPerMinute window, we will trigger
-- a deletion of the old info in the TickerAndSector window.
----------------------------------------------------------------------------------
CREATE WINDOW OrdersPerSectorPerMinute
SCHEMA (SectorName STRING, SectorId INTEGER, OrderCount INTEGER, TotalShares INTEGER, Timeslice INTEGER)
KEEP 2 MINUTES;
INSERT INTO OrdersPerSectorPerMinute
SELECT
tas.SectorName, tas.SectorId, COUNT(*), SUM(tas.Shares), stream_Pulse.epoch
FROM
TickerAndSector tas, stream_Pulse
GROUP BY
tas.SectorId;
ON OrdersPerSectorPerMinute
DELETE FROM TickerAndSector
WHERE TransactTimeBucket < LastTimeSlice;
As you can see from the above code, when a new timeslice appears, we aggregate the number of orders and the total number of shares that are in the TickerAndSector window. The interesting thing here, and the thing that I might not have figured out on my own, was that we need to join with the pulse stream that we talked about before. The pulse stream here is being used to “kick start” the calculating and dumping of the records in the current timeslice.
Finally, since we have aggregated the information for each sector for the current timeslice, we want to see if any sector exceeded the maximum “normal” number of orders.
----------------------------------------------------------------------------------
-- This output stream will alert the user when a sector exceeds the
-- max orders for that timeslice.
----------------------------------------------------------------------------------
INSERT INTO AlertStream
SELECT
R.SectorId, R.SectorName, R.OrderCount, R.TotalShares
FROM
OrdersPerSectorPerMinute AS R, NormalOrdersPerSectorPerTimeslice AS H
WHERE
R.SectorId = H.SectorId AND R.Timeslice = H.Timeslice AND R.OrderCount > H.MaxOrders;
And, that’s it! If we attach a JMS output adapter to the AlertStream, we can generate a new, derived event, put that event back on the EMS bus (or we can send it into another Coral8 stream), and alert some kind of monitoring application.
Thanks to the Coral8 guys for helping me slog my way through the learning process.
©2007 Marc Adler - All Rights Reserved
Tuesday, November 20, 2007
Our First CEP Use Case (and thoughts on Coral8 and Aleri)
Tell us when orders for a sector show a greater-than-normal level.
Even though this use case seems very simplistic, and would not tend to be an ideal use case to test a CEP engine, it is an ideal use case for our environment. Why? It forces us to get at various data streams that have previously been inaccessible to most people, and it forces the owners of these streams of data to make there data clean.
(Note: this use case is a very generic use case and test for CEP. I am not giving away any special use cases that would give my company a competitve edge, not will I ever do so in this blog.)
At the Gartner CEP Summit last September, Mary Knox of Gartner mentioned that one of the obstacles for doing successful CEP projects at large organization was the process of liberating all of the data sources that you need, and getting the various silos to talk to each other. We have found this to be the case at our organization too. We figure that if we can get this simple use case to work, then we have won 50% of the battle.
What kind of data do we need to implement this use case?
Let’s say that we are able to get all of the data that we need, and that the stream of data is pristine. We have to get it into the CEP engine for analysis.
If you think if writing a normal, procedural program (i.e.: a C# app) to do this analysis, the steps are pretty easy.
1) Read in all of the reference data. This includes the ticker-to-sector mappings and the list of normal activity per sector per time-slice. We will consider a timeslice to be a one-minute interval. In a 6.5 hour trading day, there are 390 minutes. There are also 11 “GIC0” sectors. So, a timeslice will be an integer from 0 to 389.
2) Subscribe to a stream of FIX orders.
3) As each order comes in, extract the ticker and map it to a sector. We are also interested in the number of shares in the order and the time that the order was placed. For each order, increment a running total for that sector and for that timeslice.
4) Any orders that come in that are past the current timeslice are ignored. Also, any orders that come outside of the normal trading day are ignored. This way, we don’t consider any orders that may have been delayed through our systems.
5) If we detect a new and later timeslice, then examine all of the sectors for the previous timeslice. If any of the sectors show heightened activity, then alert the user. Then, clear the totals for all of the sectors, and start accumulating new totals for all of the sectors.
This looks pretty easy. I would assign this to a good C# developer, and hope to get a finished program in one or two days.
Now, the task is to map this into a CEP engine.
Most of the CEP engines have a language that is based on SQL. So, you can imagine all of the processing steps above passing through multiple streams in the CEP engine. For step 1) above, we would have two input streams, one for the ticker-to-sector mapping data and the other for the “normal sector activity” data. You can imagine two simple SELECT statements in SQL that read this data from some external database, and construct two in-memory tables in the CEP engine.
For step 2, you need to write a specialized input adapter that subscribes to a communications channel (sockets or JMS) and reads and decodes the FIX orders. Most orders come through as NewOrderSingle messages (FIX message type = ‘D’). There are various versions of FIX, but let’s say that everything comes in as FIX 4.2 messages.
Most of the CEP vendors support in-process and out-of-process adapters. In-process adapters are faster than out-of-process adapters, but out-of-process adapters are usually easier to write. An out-of-process adapter will read data from some kind of communications bus (or even from a database table or a flat file), and will write a data stream to the CEP engine. It would be ideal to have the CEP vendors support FIX in in-process input and output adapters.
Step 4) is easy. We calculate the 0-based timeslice for an order, and if it is below 0 or above 389, then we ignore this order in the stream. This can be done with a simple WHERE clause in the SQL statement.
We also need to record the “current timeslice” and ignore any orders that come before the current timeslice. So, we need the concept of a “global variable” and when we see an order with a later timeslice, we need to update this variable. This is something which is easy to do with a procedural language, but what is the best way to do this in SQL?
Steps 3) and 5) are interesting. We need to keep a one minute window per sector. This window should only keep running totals for the current timeslice. When a new timeslice comes in, we need to analyze the sector activity in the current timeslice, do any alerts, and then clear out the totals in all sectors. Again, this is something that is extremely easy to do in a C# application, but translating it into SQL is a bit of a challenge.
In step 3), the mapping of ticker to sector is very easy. It’s just a join of the ticker in the order with the ticker in the mapping table. The interesting thing is the choice of window type for the stream. Do we accumulate all orders for all sectors for the one-minute timeslice, and then, when we see a new timeslice, do we just take a COUNT() of the number of orders for each sector? Or, do we simple have a window with one row per sector, and keep running totals for each sector as an order comes in?
Coral8 supports the concepts of sliding and jumping windows. Aleri supports only sliding windows right now. With Coral8, we can set a window that will hold one minute’s worth of data, and we can also tell a stream that it should dump its output after one minute. However, we don’t want to tie the TransactTime in a FIX order message to the actual clock on the computer. We need a stream that will produce output on a certain value in a column, and neither Coral8 nor Aleri seem to have this yet.
Here is some Coral8 code that shows windows and streams:
CREATE WINDOW TickerAndSector
SCHEMA (Ticker STRING, Sector STRING, SectorId INTEGER, Shares INTEGER,
TransactTimeBucket INTEGER)
KEEP EVERY 60 SECONDS;
INSERT INTO TickerAndSector
SELECT
FlattenNewOrder.Ticker,
TickerToSectorMap.SectorName,
TickerToSectorMap.SectorId,
TO_INTEGER(FlattenNewOrder.Qty),
TimeToTimeBucket(FlattenNewOrder.TransactTime, 'HH:MI:SS AM')
FROM
FlattenNewOrder,
TickerToSectorMap
WHERE
TickerToSectorMap.Ticker = FlattenNewOrder.Ticker
OUTPUT EVERY 60 SECONDS;
The first statement defines a window that keeps one minute’s worth of order data. After one minute, the window will empty its contents.
The second statement will insert a new row into the window whenever we get a new order. After one minute, the window will send its output to another stream further down the pipeline. (We hope that the data will be sent to the next stream before the window clears itself. Otherwise, we will lose all of the data.)
So far, in my brief evaluation, I have found step 5) difficult to implement in Coral8. Aleri has implemented this by using a FlexStream. A FlexStream is a stream that has procedural logic attached to it. Aleri has a custom C-like programming language that you can use to implement procedural logic in a FlexStream. But, if you write too much logic using FlexStreams, then wouldn’t you be better off to just write a nice C# application?
To validate some of the CEP engines, I ended up taking a day and writing a C# application that implements this use-case. For grins, I added a tab that showed some animated graphics using the very excellent ChartFX package. The head of the trading business was so excited by this eye candy that he started to bring over various traders for a look at my simple app. So, in addition to this little app giving the traders information that they did not have before, it provided them a flashy way to see real-time movement across sectors.
In addition to having SQL skills, a good CEP developer needs to readjust their way of thinking in order to consider pipelined streams of SQL processing. There is a big debate going on in the Yahoo CEP forum as to whether SQL is a suitable language for CEP processing. So far, with this use case, I see the suitability of SQL, but I also need to step out of the SQL way of thinking and apply some procedural logic.
One of the things that I still need to be convinced of is that CEP engines can do a better job than custom code. I am all ears. Any CEP vendor (even Streambase) is invited to submit public comments to this blog to tell me how this use case can be implemented with their system.
©2007 Marc Adler - All Rights Reserved
Saturday, November 17, 2007
CEP Vendor Thoughts
WFS: Does StreamBase have any competitors?
BM: The major players have not yet delivered anything in this space. IBM, for example, does not have a project to build a technology like this. We are IBM’s solution in this space.
In my opinion, this answer totally evades the question. What happened to companies like Aleri, Coral8, Esper, Apama, Skyler, Truviso, Kaskad, etc? How about the IBM offering that Opher is working on? Alll of these companies freely acknowledge Streambase as a worthy competitor, and rightly so. It would be nice to see Streambase acknowledge the same. Brown University certainly was not the only university doing CEP research and not the only one to commercialize their offerings.
And shame on Microsoft and Windows in Financial Services magazine for letting this slip by. Are you a journalistic effort or a fluff rag?
In our evaluation of CEP vendors, we chose not to evaluate Streambase for various reasons. Streambase might have the best technology of all of the CEP vendors (for example, look at Tibbets comment from a few weeks ago on a question about cancelling events), but we will never get to find out. The people who I feel badly for at Streambase are the dedicated development and support staff who have probably come up with a really good product.
(In the interest of fairness, Bill from Streambase told me recently that they had reduced the price of their offering, which was one of our concerns.)
And, if anybody from Streambase reads this blog ---- doing an end-run around me and trying to market directly to the business will not earn you any points. The business people rely on me to make the right decision, and all of your email to the business side (as is any email from information technology vendors to the business side) gets forwarded directly to me. And, I guess that we will end up paying real dollars to your imaginary competitors.
Meanwhile, let's take the attitudes of Coral8 and Aleri. One of these companies JUST hired its first salesperson. Their mantra was that the product should be the best that it can be before it was pushed by a salesforce. The other company has a low-key sales approach too. They have gone beyond the call of duty to incorporate our suggestions into their product and to come up with a POC that really impresses us.
Both vendors have come up with FIX input adapters at our behest. Aleri has incorporated some of our suggestions into their FlexStreams, and has cleaned up some of their visual development studio. (With FlexStreams, you can use a procedural programming language to create custom processing for streams). I am impressed in what these companies have done to earn our business. I feel that, in exchange for these companies doing some of what we want, they get to expand their offerings for the capital markets communities, and bring themselves out of the narrow focus of algorithmic trading and pricing engines.
Kudos to Mark, John, Henry and Gary of Coral8, and to Don, John, Jerry, Jon, David, etc of Aleri. All very nice people, and all trying compete honestly for a piece of the pie.
In my opinion, the Coral8 and Aleri offerings are so close that we will eventually be choosing one vendor as primary and the other as hot backup. What needs to be done is performance evaluation. Pushing multiple streams of fast moving data into the CEP engine and seeing their performance under heavy load. Let's see if they can handle the data rates that come at 2:15 PM on a Fed decision day.
One message that we have been hearing from the CEP and messaging vendors is that they perform better under Linux than Windows Server 2003. This is probably not a surprise to most people on Wall Street. But, I wonder what Windows Server 2008 has to offer in comparison to Linux. The November 8, 2007 article at Enhyper has some interesting things to say about Microsoft's marketing of the London Stock Exchange deal. We will most likely be running our CEP engine on Linux unless Microsoft comes up with a real compelling reason to the contrary.
©2007 Marc Adler - All Rights Reserved
Wednesday, November 07, 2007
IBM's ManyEyes
ManyEyes is a community-based visualization project from IBM, run by the guy who did the Stock Market heatmaps for Smart Money.
You can upload your own datasets and apply some pre-made visualizations to it. People in the community have contributed other visualizations.
Pretty cool.
©2007 Marc Adler - All Rights Reserved
Sunday, November 04, 2007
Help Wanted for the Complex Event Processing Project
I realize that it is foolhardy to advertise for people who have prior experience in CEP. What I am looking for are smart developers who have a great passion to learn a new, interesting technology. The team that I envision will consist of:
1) Visualization developer - come up with new, interesting ways to visual events and data. The work may entail working with the .NET framework that my team has built, integrating visualizations with existing Java/Swing-based trader GUIs, or even exploring WPF (as the company gradually embraced .NET 3.x). You could be investigating visualization tools like heatmaps and you will definitely be evaluating third-party tools (both commercial and open-source). You will be involved in OLAP to some extent. There will be involvement in the building out of a notification and alerting framework.
2) CEP developer. You will be building out the analysis part inside the CEP engine. Most of the CEP engines use a variant of SQL, so you should be fairly comfortable with SQL concepts. It would be nice if you had previous experience with tools like Coral8, Aleri, Streambase, Esper, etc, but even if you haven't, you should be willing to learn these tools. You may also be interacting with consultants from these companies.
3) Networking, messaging, and market data specialist. Help us decide if we should migrate to a new messaging infrastructure (like RTI or 29West). Experience with Tibco EMS is a big plus, as well as experience with working with high volumes of data and low latency. Interact with Reuters and Wombat infrastructures, as well as internally-built market data infrastructures.
4) Data specialist. You will be the person who is responsible for breaking down silos and getting good data into the CEP engine. Experience with SQL Server 2005 and Sybase are important. Experience with tick databases like KDB+ and Vhayu would be nice to have.
Everyone will be doing a bit of everything, so everyone on this team will be intimately aware of what everyone else is doing.
This is a highly-visible position in an investment bank that has promised me that they will reward good talent who comes to us from the outside.
In addition to the positions mentioned above, I have two or three open headcount for people who want to work on the Ventana team. Ventana is the client-side .NET framework that is being used by various groups in our Investment Bank.
©2007 Marc Adler - All Rights Reserved
Saturday, October 06, 2007
The Consulting Market and More Thoughts
A lot probably has to do with the subprime mess and the incredible losses that many Wall Street companies have announced. Bonus season is going to be very "challenging" this year.
My company will be making a concerted effort to recruit outstanding IT people from outside. We realize that new blood is the way to shake things up, and transform our shop into one of the major IT houses on Wall Street. The business side has been taken over by people who have CompSci degrees from top universities, and this new regime realizes that tech will drive future profitability.
Despite this, I have open headcount for 2008 for the Complex Event Processing initiative. When I get back from my week in France, I will post a general call for help. If you have a driving interest in CEP, and you can code in C#, Java, and C++, and you know how to deal with Linux and Windows, then I want to speak to you. I think that CEP will provide a fundamental change in the way we trade and the way that apps are written and the way that data is visualized.
©2007 Marc Adler - All Rights Reserved
Saturday, September 29, 2007
Cancelling Events
Mitch Cherniak poses a question that I posed a few weeks ago about "compensating events".
Mitch seems to be involved in that same project that produced Streambase. I am not sure if Cherniak is involved with Streambase in any way, but it would be interesting in the Streambase folks have thought about this same topic.
©2007 Marc Adler - All Rights Reserved
Wednesday, September 26, 2007
Tuesday, September 25, 2007
Francis and Karen
My prayers and thoughts are with them daily.
Francis has written a WROX book that is available from Amazon.
©2007 Marc Adler - All Rights Reserved
DDS vs JMS
RTI implements DDS in their message bus.
My feeling is that getting a large enterprise to use DDS is akin to rewiring a battleship. However, it seems like DDS has some possible performance improvements over JMS.
Anybody out there using DDS?
©2007 Marc Adler - All Rights Reserved
Saturday, September 22, 2007
Nancy
©2007 Marc Adler - All Rights Reserved
Coral8 vs Streambase
Interesting reply by Bill of Streambase .....
However, I think that the only way that this will be solved publically is by STAC and their independent benchmarks.
©2007 Marc Adler - All Rights Reserved
CEP Conference Report
Gartner ran their conference on Business Process Monitoring on the Monday-Wednesday morning, and it dovetailed exactly into the CEP conference. There was also an academic conference on CEP that ran concurrently with the BPM conference, so you had a lot of academics and curiosity-seekers at the CEP conference.
I would estimate that there were about 200 attendees at the CEP conference, but probably half were from the vendor community. I counted about 50-60 attendees in the financial services track at the conference, and again, about 40-50% were vendors. So, there were probably about 30 folks from the financial services industry who were really curious about CEP.
I give these numbers to illustrate that, in financial services, CEP is still in the curiousity stage. I am happy to say that most of the people there were just as confused as we were (ie: what is the difference between a CEP engine and a rules engine, what is the best messaging middleware to use, do we really need a visual designer, etc). Most of the people who were using CEP were using it in a simple stream case ... pricing, algos, fraud detection, etc. I did not see any use cases that approach the magnitude of what we have to do, but then again, I don't expect organizations like Goldman Sachs to advertise what they are doing.
It was nice to see some of the vendors trotting out their successes in financial services (Aleri with HSBC, CommerzBank and Barcap, Streambase with BofA, Coral8 with Wombat), and start to establish some meaningful partnerships. Nice to see that Coral8 is working closely with RTI.
Mary Knox of Gartner did a nice presentation on what it takes to get CEP adopted by a large financial organization, but she compensated for this nice presentation by monopolizing the Q&A session with Robert Almgren of BofA. I was a bit puzzled by IBM's message about what parts of their CEP framework were already available in Message Broker, who was supporting it in IBM, who we get services from, etc.
I was impressed with Mark from Coral8, who seems to bring that Russian mad scientist mentality to his company. Also encouraging to see that Terry Cunningham is at the helm at Coral8, fresh from his successes at Crystal and other companies. Terry knows what it takes to make a successful software company. They also seem to be on the top of their game with financial services, without restricting themselves solely to algo trading.
Aleri seems like they have some raw power in their platform, and over time, they will be polishing their message more. They win the award for the most genial vendors of the conference.
The key takeaways were:
1) The CEP industry is still at its infancy.
2) It's a fairly hot buzzword right now.
3) The complete stack is important if you do large deployments. We need to understand all of the pieces surrounding the CEP engine.
4) Message volumes are increasing at an exponential rate in financial services.
5) It will be a long battle to break all of the silos in our company.
©2007 Marc Adler - All Rights Reserved
Tuesday, September 18, 2007
CEP Vendors, DBMS's and Defense Industry
CEP vendors who grew out of the DBMS sector might have certain advantages, but ones who grew out of defense have other advantages. First, you would expect that anything that had to pass Military testing and certification would be industrial strength. These systems would have to be able to handle a huge throughput of signals and would have to be able to react correctly to the input .. after all, you don't want our ships firing a missle at a seagull. Second, the analysis tools have to be top-rate ... detecting a signal and firing a missle is much like pulling the trigger on a trade. Both have enormous consequences, and once out there, cannot be retracted.
I am not completely positive, but I can imagine that messaging systems in the defense industry might not have to worry about guaranteed delivery. It seems to be OK to drop a few signals (events messages) that the radars send out, and eventually (a few milli-seconds later), the signals would resume.
©2007 Marc Adler - All Rights Reserved
Thoughts about CEP Patterns
How do you do transactions in the context of event processing? For example, if I get an event, we might trigger some units-of-work and generate some more derived events from this initial event. These derived events might be put into the event cloud.
If one of the units-of-work fail, how do we rollback the "transaction"? Do we need to define compensating events? Do we need to suck the derived events out of the event cloud? Do we need to attach "state" to the derived events which signal whether they are part of a transaction?
We run into a lot of the same issues here that DBMS vendors have run into. How can the transactions patterns in the DBMS world be applied to CEP?
Another thing I have been interested in is the generation of recursive events. If I get an event and generate a derived event, how do I know that this derived event will not result in recursion? Again, DBMS vendors have run into the same situation with database triggers, and some lessons can be learned.
So, does this mean that we are better off considering a CEP vendor who has roots in the DBMS world?
(As you can see, I am just using the blog as scatchpad for some thoughts .... but it gives you an idea about the things that any of you who are implementing CEP might have to consider...)
©2007 Marc Adler - All Rights Reserved
HPC Conference Thoughts
The two panels that I went to were, unfortunately, complete wastes of time. Even some of the panelists that I spoke to afterwards were half-embarassed to be on the folically-challenged panels. (I am still wondering what Gideon Low from Gemstone was doing up there in the session on Multicores and Market Data .. although he DID manage to come up with better answers than the Chief Architect of Fidelity!). It only reinforces my opinion that if you are doing something unique and important, your company will never let you speak about it on a panel!
And, thanks to the people from Bear Stearns, who during our lunch with a vendor, planted themselves at our lunch table and managed to kill our conversations.
I was heartened to see a constant flow of traffic at the Digipede booth. In several square meters, you could talk to Microsoft (CCS), Digipede, and Platform (who were displaying at the IBM booth). I was disappointed to see one CEP vendor there (Aleri).
The most interesting new player was STAC, who purports to be an "independent" kind of lab, where both vendors and customers can go to in order to get evaluations and benchmarking done .... sort of like a Consumer Reports magazine. One interesting comment from them was that, in their early experience, some of the claims about feature sets that various vendors make do not actually hold up when it came time to implement the vendors' products. An independent lab for the securities industry is long overdue, and it is heartening to see vendors contribute hardware to STAC in order to "bootstrap" their operations. The two main guys from STAC are ex-Reuters guys, and so you know that they have good experience in market data systems.
There were some real small players (like RTI in the messaging space) who might be ripe for joint ventures or investment. Seeing these guys work the floor reminded me of my days as a software vendors going exhibiting at shows ... an absolutely exhausting experience.
My colleagues have told me that the HPC show has grown exponentially over the past four years .... if I grows any more, then the Roosevelt Hotel is going to have to abandon the cattle car approach, or else, I am going to have to put on a few more pounds!
©2007 Marc Adler - All Rights Reserved
Saturday, September 15, 2007
Another New Position (again)
This is not the standard algorithmic trading scenario that is the standard use case for vendors like Apama, Skyler, etc. We will be pushing the limits of the CEP and messaging vendors. We have the mandate to have all of our Equities systems interact with our. And, if everything goes right, it will transform the way that systems are written within our company.
The nice thing is that the Business is giving us several months of pure R&D time. Reading papers, attending conferences, meeting vendors, etc. For me, it is coming out of a silo and being given the opportunity to learn about every phase of our systems for trading equities. And, it will be building upon all of the things that I have been investigating for the past year in my Architecture role.
©2007 Marc Adler - All Rights Reserved
CEP and HPC Conferences
Wednesday through Friday, I will be at the Gartner Complex Event Processing conference in Orlando.
I am starting to feel like a vendor. However, in my new role, I am basically playing software entrepreneur again, this time in the context of a multi-billion company.
©2007 Marc Adler - All Rights Reserved
Thursday, September 06, 2007
.NET Winforms Expert Wanted
You would be sitting in beautiful Warren, New Jersey, which is about 45 minutes west of New York City. However, you would have substantial opportunities to work with the business, which is located both in New York City and in Jersey City, NJ.
We would strongly prefer a full-time employee, although we might make an exception for an indie consultant.
This is an on-site job. So, please don't send me resumes from the Ukraine, asking if you can work remotely. Also, no calls from recruiters and consulting companies for now. I want to pick from people who are truly interested in financial services and .NET ... and these people probably read this blog already.
Since the position is in the Equities Advanced Architecture group, you must be a really strong communicator. If I ask you to get up to a whiteboard and explain something, I should be able to understand you without straining.
©2007 Marc Adler - All Rights Reserved
Friday, August 31, 2007
IBM and Limitless "Vacations"
http://www.nytimes.com/2007/08/31/nyregion/31vacation.html
Reminds me a little bit of myself ....
©2007 Marc Adler - All Rights Reserved
Bonus Paralysis
... there were little or no bonuses paid out. Because of the credit crisis, a number of news organizations have stated that bonuses this year will be drastically reduced. Everyone is now suitably warned and prepped to receive a significant decrease in last year's bonus (especially if you are in structured finance and credit derivs). And, at this time of the year, a new company would probably not guarantee your bonus.
If you are not expecting much of a bonus, would you stay around?
©2007 Marc Adler - All Rights Reserved
CEP Conference
I am especially interesting to see what Coral8 has to say. My interests are in using CEP for Business Activity Monitoring and Algorithmic Trading.
Matt and Chris have had some good things to say about Coral8 in the past, and if I had some time to breathe, I would like to download their SDK and start mucking around.
©2007 Marc Adler - All Rights Reserved
Wednesday, August 29, 2007
Working on the Trading Floor
I sit on a very large Equities trading floor that overlooks the Hudson River in lower Manhattan. Our particular area of the floor has the Derivatives Analytics group (my group) and Algorithmic Trading. The next row has the High Frequency Trading guys and some of the guys who control the high-speed market data systems.
Needless to say, the past few weks have been crazy. There is such an energy on the floor that, sometimes, everyone is our row just stops working in order to absorb the electricity. 15 minutes before the opening, things start humming. At the bell, it's chaos for about a half hour. People screaming out orders, groups of traders applauding and whooping when a trade turns out favorable. After 10, things really slow down until about 3PM.
Our group is composed of Quants. We trade our own positions, and we write software which enable us and other groups to trade. Almost all of our software is in C#/.NET 2.0, heavy use of generics and anonymous delegates.
The group is ethnically diverse. 4 Americans, 1 Brit, 3 Far-East Asians, and a couple of Russians for good measure (what's a good Quant group without the Russians!). 3 of the guys have PHDs, the rest have MS's. Actually, the head of the group does not have a Master's degree ... however, he got 3 Bachelor's degrees in 3 years at one of the top business schools in the world. Most of the group is fairly young. If you are in your early 30's, you are ancient. That makes me a pile of ash on the floor.
The group has its own framework. The framework is typical Russian mad scientist code. With this kind of code, it's never "A calls B". It's "A starts 5 threads, waits for completion signals, creates other objects via some dependency injection, does a few somersaults, and then calls B." But the framework is highly performant.
One of the things I am doing is writing some risk hedging apps using my own framework that my team developed for Equities. So, I am eating my own dogfood. I have not found any bugs in my stuff, but I have had to extend it a bit so that it cooperates with some of the stuff that Derivs Analytics have previously written (like Live Greek Servers).
As exciting as the trading floor is, I welcome the one or two days a week that I work from home. If I have to do really major thinking and design work, I cannot do it at work! It is hard to work at work. Luckily, a lot of Wall Street is starting to go to a model of allowing people to work from home part time. The three hours I save on commuting to NYC is time that I put into work. Now that my son is off at college, I don't have to worry about his heavy-metal bands coming into the house at 3:00 every afternoon to thrash around the basement.
©2007 Marc Adler - All Rights Reserved
Random Musings
Let's see what's new ....
1) London again. More groups coming aboard with my .NET client framework, so I was asked to pay another visit to London during the week of July 16. That's 3 times in London in less than a year. I don't mind going to London ... the first-class service aboard Virgin Atlantic is stellar, and this time, I was treated to massages on both legs of the trip.
What was exciting about this trip is that the department that I was meeting with are going to be taking four of their separate apps and combining them in a single consolidated front-end, with each particular group's app "running" as a separate DLL, registering services, and communicating with the other "apps" through my internal message bus. Still no separate app domains though.
2) My son is in college now! Yeah! Spent the entire weekend cleaning the house of the carnage that he and his friends wrecked during the past few years.
3) Going to be revisiting Complex Event Processing soon. Coral8 looks like a strong contender in the space. Why doesn't KX Systems realize that Q scares the mere mortal?
4) I am taking a few members of the Derivatives Analytics team up in my plane tomorrow evening. A nice flight over the Catskill Mountains is planned. Usually when I ask people to fly with me, I get all sorts of excuses. However, the DA team is too young and too inquisitive to know what they're getting into! They will even help me pre-flight the plane. As long as they don't start asking me about auronautical mathematics, the flight will go well!
©2007 Marc Adler - All Rights Reserved
Panopticon Rebuttal
The Panopticon people asked me for some time on my blog to address the difference between the Treemap and their product, so I have reprinted their comments verbatim:
“What we at Panopticon Software offer in the product called Panopticon Developer is an SDK for embedding visual analysis and monitoring functionality into applications by means of integrating components such as interactive visualizations and a powerful data model capable of aggregating real-time data streams. The Microsoft Treemap control seems in to be considerably smaller and restricted in its API and designed to be used as a simple chart library and therefore for example does not include analytical functionality. Collateral posted at (public url at www.panopticon.com) provides more detailed information on how Panopticon Developer is compares in relation to more traditional chart libraries.
With this SDK we’ve built a rapid web deployment toolkit called Panopticon Enterprise which provides very low ownership costs, extremely short time to market while preserving the functionality available in the SDK.
We typically work out significantly cheaper than in-house build due to the lack of maintenance and ease of deployment for new requirements”
(end of Panopticon comment .. now back to Marc)
Like any company, we have a budget that is tightly controlled. If Panopticon, or any third-party product, provides fiunctionality that will cost us more to develop ourselves, then the decision is to go to a third-party product. We like the fact that a third-party will support the product, but on the other hand, custom developing something ourselves gives us tight control over the feature set without having to wait for release cycles from a vendor. But, if we can take an existing free product and, with relatively little effort, modify it to do what we need, then I would be neglecting my fiduciary responsbility as an officer of the company to purchase a third-party product and pay a continuing stream of license and maintanence fees.
We are only at the beginning of exploring what heatmap technology can do for us, and in addition to Panopticon, there are other fish out there like Fractal Edge (makers of what I like to call the Undulating Amoeba heatmap!)
If there are any of you out there who have used or evaluated heatmap products, I would love to get your comments.
©2007 Marc Adler - All Rights Reserved
Thursday, August 16, 2007
It's the Models, Stupid
Doesn't matter how fast you get your trades out to the exchanges if you are always on the wrong side of the trade.
©2007 Marc Adler - All Rights Reserved
Saturday, July 28, 2007
Trading Floor
The contract in the physical difference in the two roles is stark. In my position in Architecture, I sit in a big office in an old Lucent campus in the middle of North/Central New Jersey, about 35 miles from Allentown, Pa. The place is almost like a morgue ... I could go there, sit in my office, and not see anyone for an entire day.
On the other hand, the trading floor is located in the middle of very hip Tribeca. This is not your father's Tribeca. You have 20 gourmet restaurants within two blocks of my office. You can look out the 20-foot windows that overlook the Hudson River and see the Statue of Liberty. You can see pretty girls walking across the floor all day long.
When I am sitting at the Derivatives Analytics quant desk, there is the amazing energy that accompanies a trading floor. I was lucky enough to be on the floor for these last two trading days, where the Dow dropped 500 points. There was cheering, shouting, tension, madness. It reminded me of the old days, when I started out on Wall Street as a consultant for Goldman Sachs, and then went to consult for Drexel Burnham. In those days, we developing the first cut of Windows-based trading workstations, so we would always get traders who looked over our shoulders, commenting on our work.
It has been no secret that I am fascinated with the quant world. I am sitting with truly brilliant people who talk a different language that I barely understand. Even though the quants at my desk are 50% Russian, they talk in English, throwing around terms like Kurtosis and Skew Risk, terms which have me madly scrambling to Google. Terms which may me wish that I had not shown up drunk to Statistics 101 class every day in college!
It is interesting to have these quants coming up to me, apologizing for their code. Maybe I can teach them a little bit about software and architecture, and they can teach me how to Delta Hedge my portfolios!
©2007 Marc Adler - All Rights Reserved
Friday, June 22, 2007
Next Gen Heatmaps of the Markets?
http://www.ted.com/index.php/talks/view/id/129
Can we also employ tactile feedback using Microsoft Surface? So we can FEEL the market? Make the hot areas really generate heat?
©2007 Marc Adler - All Rights Reserved
Saturday, June 16, 2007
The Flavor of the Month is Acropolis
A few months ago, the Microsoft DPE team came to me and tried to dissuade us from developing our .NET client framework in favor of using CAB. However, during those conversations, the word Acropolis came up a few times.
Now that Microsoft is touting Acropolis, what has become of CAB? Will this now be an officially supported framework (remember ObjectSpaces?). What about all of the financial service developers that committed to CAB? And, now you have some Microsoft people telling us that CAB was never officially supported by Microsoft, that it was developed by a small group of independent developers in some far off country that nobody ever heard of!
One thing about developing your own framework and making it a standard in the company is that it won't turn into a flavor-of-the-month entry. Goldman lead the way with OCEAN. Wachovia has OneSource, and Morgan Stanley has FidSharp and Concord. And we have ours. And, our companies tell our developers that they should use it.
No doubt that Acropolis will be "better" than CAB, and will have learned lessons and anti-patterns from CAB usage. Only, what will Microsoft come out with in another 6 months?
©2007 Marc Adler - All Rights Reserved
Short Sell Any Time
The SEC voted unanimously on Wednesday to finally get rid of the pesky and ridiculously outdated tick test. The tick test only allows short sales when the last sale price is higher than the previous price. That means a trader cannot short a stock if the movement prior to the short sale is down
Wonder what this means for all of the models out there? (I mean HFT and Algo models, not Giselle Bunchen-type models... but, I am sure that Heidi Klum is overjoyed too!)
©2007 Marc Adler - All Rights Reserved
Fun with Patents in Financial Services
Just take a look at one of the patents. It's from Goldman Sachs. Andy Smith is the creator of Goldman's .NET client framework, OCEAN. In that respect, we are counterparts.
It's also fun to se who was credited as the Inventors of a technology. For example, some Merrill Lynch patents list (the late) Don Trojan and Ed Keenan as the Inventors. I know for a fact that Don and Ed were managers at Merrill, and in my opinion, probably never got anywhere near the technology. (Ed was my wife's first boss at ML, and was a pure manager. Don was my wife's boss at Drexel Burnham Lambert.)
If you want to see the diagrams that are associated with the patent, then click on the Images link. However, you need to download a TIF viewer for your web browser before you can view the images.
As I write this, let's see if some of our favorite characters have patented anything....
John Powers of Digipede : Nothing.... But don't look at this and this.
Geva Perry of GigaSpaces : Nada .... (Maybe they have patents in Israel?) But let's try one of GigaSpaces' competitors, Gemstone. Well, lookee here and here. And here.
You guys should learn the lessons of old Xerox, and make a beeline to your favorite patent attorney! Patents are some of your greatest assets.
©2007 Marc Adler - All Rights Reserved
Thursday, June 14, 2007
Google Spam
Everything is back to normal now.
©2007 Marc Adler - All Rights Reserved
Favorite new blog
A lot of good stuff on implementing HPC within financial services firms.
The author of the blog just took a job with 29West in London, the makers of LBM (Wombat is a big user of LBM). He regularly hosts drinking sessions in London with interesting guest speakers.
(Since I showed Terry the blog, he has already found more reasons to stay late at work. Sorry, mate!)
©2007 Marc Adler - All Rights Reserved
Object Caches for .NET
Now that Tangasol, Gigaspaces and Gemstone have native .NET APIs for their caches, I need to re-evaluate the three. The advantages of distributed object caching is being picked up by some other groups in my company.
©2007 Marc Adler - All Rights Reserved
Heatmaps
Given what we have, it may be more difficult to rationalize paying that big yearly license fee to Panopticon.
The Bubble Chart control is worthwhile too.
©2007 Marc Adler - All Rights Reserved
WPF and Vol Surface Editors
Our main col surface editor was written upteen years ago, using Open GL. It would be interesting to see how a WPF vol surface/curve editor would compare, especially when the CPU is busy handlign feeds and calculating greeks.
©2007 Marc Adler - All Rights Reserved
Anyone going to SIA?
Anyone going?
©2007 Marc Adler - All Rights Reserved
Looking at ACE
http://www.cs.wustl.edu/~schmidt/ACE.html
I also found out that Bloomberg is using it in their PhatPipe product.
©2007 Marc Adler - All Rights Reserved
Friday, May 25, 2007
Performance Architect Wanted
My new intern starts on Tuesday. Every year, we get a bunch of interns from the top universities who have just completed their Masters or PHD in comp sci or physics. Mine will be devoted to expanding and maintaining my framework, but he has a lot of interests in hardware accel too.
Ted, our performance architect, has left the firm for a great new job at AB. So, we are looking for a great performance architect to work in Warren, New Jersey. Let me know if you are interested.
©2007 Marc Adler - All Rights Reserved
Wednesday, May 09, 2007
When I was out in Seattle a few weeks ago, I met with the Microsoft Accelerator team about the future of their technology. Also their stuff is wed to GPU's right now, the Accelerator team claims that it can be used as an abstraction for multicore systems. The guys from the Accelerator team also predict that the world will eventually be moving to massively multi-core machines (ie: Intel's 80 core processor)
Word is that both Credit Suisse and Goldman have teams devoted to exploring FPGA technology. The problem with FPGA is the amount of effort that goes into porting code, and the entire develop/build/debug cycle is very slow.
It will be nice to get first-class support from Microsoft as far as development tools go.
©2007 Marc Adler - All Rights Reserved
Saturday, April 28, 2007
CASTrader Blog
http://www.castrader.com
(Chris, you probably know about this one already...)
©2007 Marc Adler - All Rights Reserved
Any impressions of the Microsoft FinDev Conference?
Anyone care to leave their impressions of the conference?
©2007 Marc Adler - All Rights Reserved
Airplane Boarding and Messaging
http://www.math.duke.edu/news/awards/MCM2007lmw.pdf
At the airport, I always fantasize myself with a Jedi light sabre in hand, lopping off the heads of those people who block the aisles for ten minutes, trying to shove some ridiculously-sized carry-on into the overhead bin.
Of course, my solution is to equip everyone with their own private jets, ala The Jetsons. However, the New York Times threw cold water on this idea.
©2007 Marc Adler - All Rights Reserved
Friday, April 27, 2007
KDB+ Architect Needed
©2007 Marc Adler - All Rights Reserved
Wednesday, April 25, 2007
Finetix and Sungard - It's Official
http://biz.yahoo.com/bw/070425/20070425005824.html?.v=1
Funny thing that no comments from the owners of the acquired company was made in the press release, going against the tradition of each party stroking eachother's backs.
This acquisition harkens back to the 2001 buyout of PriceWaterhouse Consulting (PWC) by IBM Business Consulting Services (BCS). The consultants of PWC were paid about 40% more than the equivalent consultants at BCS. Immediately, many of the PWC consultants experienced "downwards salary adjustments". For several years after that, the BCS consultants got no merit increases, nor did they get anything that resembled a bonus. Many of the best PWC consultants left.
I know for a fact that SunGard does not pay the same excellent salaries that Finetix paid. (I have been contacted many times by recruiters for product and project management positions at Sungard, and the total comp was about 2/3 of the Finetix comp.... maybe the technical consulting positions pay better?) It will be an interesting next few years for the Finetix employees that decided to stay with the new SunGard organization. I know that, when I was hiring for Finetix, I received resumes from a number of people who were employed by SunGard. I cannot help but see how this cycle will not repeat itself.
Best of luck to all of my old colleagues from Finetix! You know where to reach me. My group has a number of openings.....
©2007 Marc Adler - All Rights Reserved
Thursday, April 19, 2007
Resharper Suggestions from a Colleague
(from Tim)
- A way to split all the classes in a file into their own files (e.g. I’ve refactored one class into several, I’m happy with my new class hierarchy, and I want to now make sure I have one class per file)
- A way to copy XML documentation from the base class or interface (it will do this if you ask it to implement interface members, but after that you have to copy & paste)
©2007 Marc Adler - All Rights Reserved
Wednesday, April 18, 2007
TopCoder.com
There are more components and apps written for Java, but the .NEt world is well represented on that site.
I have also heard that some of the financial companies are starting to recruit from TopCoder. It's a good way of examining a candidates coding technique and architectural insight. It's a better way of screening a candidate, rather than going through the same old "Describe Polymorphism to Me" questions.
©2007 Marc Adler - All Rights Reserved
Help Improve Resharper
Off the bat, I would like:
1) A way to tell Resharper to fix an entire file in one fell swoop, without having to navigate to each error or warning.... especially when resolving Redundant Qualifier warnings.
2) A way to Encapsulate all local variables in one fell swoop without having to navigate to each variable, right-clicking, and choosing Encapsulate Field.
©2007 Marc Adler - All Rights Reserved
Thursday, April 12, 2007
Sunguard Consulting Services
Looks like Chris Conte saw some value in my old employer, and made an offer. But, according to my various sources, the only catch is that 50% of the consultants have to stay in order for the deal to go through.
Are Lab49 and Infusion next? They would certainly make a tasty snack for Larry Ellison.
©2007 Marc Adler - All Rights Reserved
Wednesday, April 04, 2007
Street#Grid
Maybe meet up for a drink afterwards?
©2007 Marc Adler - All Rights Reserved
QuickFix and Parsing
I believe that FIX4NET has this functionality, but they do not support FIX 4.4.
We have to petition Mike Roberts to get a .NET version of the TTConnect FIX Engine.
©2007 Marc Adler - All Rights Reserved
Sunday, April 01, 2007
Solution: QuickFix to Enums
static public Type EnumOrdType = new ConstCharsToEnumCreator<OrdType, char>().Convert();
static public Type EnumProduct = new ConstCharsToEnumCreator<Product, int>().Convert();
Now, if we want to fill a combo box with the values of these objects,
this.cmbOrdType.Items.AddRange(Enum.GetNames(OrderBO.EnumOrdType));
this.cmbProduct.Items.AddRange(Enum.GetNames(OrderBO.EnumProduct));
The definition of the helper class is:
public class ConstCharsToEnumCreator<TQuickFixType, TEnumBaseType>
{
static private AssemblyBuilder m_assemblyBuilder;
static private ModuleBuilder m_moduleBuilder;
private EnumBuilder m_enumBuilder;
private Type m_createdEnum;
private Type m_typeThatHasConstChars;
public ConstCharsToEnumCreator()
{
this.m_typeThatHasConstChars = typeof(TQuickFixType);
if (m_moduleBuilder == null)
{
CreateCallee(Thread.GetDomain());
}
}
public Type Convert()
{
CreateEnumBuilder();
FieldInfo[] fields = this.m_typeThatHasConstChars.GetFields();
foreach (FieldInfo field in fields)
{
if (field.IsStatic && field.IsLiteral && field.IsPublic && field.FieldType == typeof(TEnumBaseType))
m_enumBuilder.DefineLiteral(field.Name, field.GetRawConstantValue());
}
m_createdEnum = m_enumBuilder.CreateType();
return m_createdEnum;
}
private void CreateCallee(AppDomain myAppDomain)
{
// Create a name for the assembly.
AssemblyName myAssemblyName = new AssemblyName();
myAssemblyName.Name = "EmittedAssembly";
// Create the dynamic assembly.
m_assemblyBuilder = myAppDomain.DefineDynamicAssembly(myAssemblyName, AssemblyBuilderAccess.Save);
// Create a dynamic module.
m_moduleBuilder = m_assemblyBuilder.DefineDynamicModule("EmittedModule", "EmittedModule.mod");
}
private void CreateEnumBuilder()
{
// Create a dynamic Enum.
string enumTypeName = string.Format("{0}.{1}Enum", this.GetType().Namespace, this.m_typeThatHasConstChars.Name);
m_enumBuilder = m_moduleBuilder.DefineEnum(enumTypeName, TypeAttributes.Public, typeof(TEnumBaseType));
}
}
©2007 Marc Adler - All Rights Reserved
Saturday, March 31, 2007
Eclipse
I have to admit that there are a lot of positives about being in the Java world. I like the Java Community Process, and the fact that major functionality is discussed in the open before the spec is drafted. There is a lot that Microsoft can learn from this.
©2007 Marc Adler - All Rights Reserved
