April 2009 Archives

The Good News

Today you can readily port your current quantitative, algorithmic and automated trade platforms over to The Cloud.

The Bad News

Your trading platform's current architecture will not automatically allow you to take advantage of the massive processing power that The Cloud avails of itself.

The biggest challenge is that proprietary strategies or algorithms will require an additional translation to be executed so that your algorithmic instructions can be parsed out to multiple processors simultaneously.

Your current platform does not have this instruction set embedded in it....Bummer.

We will be publishing a post shortly on this and will give you an overview of two different approaches to solving this problem either via an ad hoc overlay of parsing services or from a code base that was built from the ground up with parallel processing in mind.

More Bad News

Cloud Based Historical Tick Data Stores for back-testing are not yet online.

The first offerings will be offered not by data vendors, or the exchanges, but as a service available only by proprietary Cloud based algo/quant trading platforms - with access to the Historical Tick Data store only by their own platform using their own API.

What's Next?

We are currently speaking with trading software vendors, data vendors and exchanges about their intended Cloud Tick Data Store offerings and will be publishing a post on the state of their upcoming offerings and their pros and cons.

Where's the Sunshine?

Though the infrastructure and the technology to enable The Cloud today is here today the Algo/Quant tool-kits and their supporting services are not yet in place....But the first offerings are entering Beta as we speak.

So now is the time to start rolling up your sleeves, to start figuring out how best to lean into The Cloud to improve your trading organization and have some fun with a new technology.

If you have any facet of a Cloud Trading offering, either in development, beta or production, please feel free to ping us to chat.

carl at algofutures 

How do you actually begin building Trading Systems in The Cloud?

The cloud and understanding how to benefit from it can be confusing. 

In this post we will attempt to avoid over complicating things and instead lay out a simple framework that you can to use to map your existing analytical IP and your historical tick data to The Cloud. 

In the near future, we anticipate that Cloud based historical tick level data stores will be available for back-testing on a 'pay-as-you-crunch' model.

There will also be approaches to creating data layers using the cloud service API and/or virtual data arrays. 

Until then consider this structure:

Logical-Cloud-Architecture-Simple.jpg

How does this really work?

At a high level the the cloud service API provides two things. 

The wrapper for your application services to take advantage of The Cloud and a layer of memory that can load any run time supported by the cloud when the application is launched.

Note - This is a critical nuance as this is what really happens between the application layer and The Cloud service API.

Think about these things:

  1. What programming language is your Intellectual Property (application layer code) written in? This is important when choosing a Cloud service. Make sure the service supports your code.

  2. Can your proprietary data be moved to the cloud? It is important to make sure your data warehouse can scale with your cloud applications and be accessible by your cloud applications. The importance of this will be obvious in the upcoming articles three dimensional data stores (virtual data arrays).

  3. What is a simple but high value component of your application that would provide you with Trading Nuggets if you could run massive back-tests against it.  If you don't already have any, we bet that it wouldn't take you long to conjure something up considering that with The Cloud you now have unlimited processing power at your fingertips.  This may be were you want to start wrapping your IP into a cloud service API.  Once you have completed this first pass it will give you the knowledge and momentum to Start simple and build your library of Algo and Quant Cloud Srvices.

This is just the beginning and things do get more complex but the first step is just changing the way you think about your applications and intellectual property. In future posts we will de-construct an application and show the next level of detail in the cloud revolution.

Some folks have written me saying that The Cloud does not have application in the Trading Industry because of latency issues.

Some of you may already be familiar with my thoughts on The Latency Hype so I won't delve into them here.

For this blog post, let's put Trade Execution Services within The Cloud aside for the time being and focus solely on the R&D side of your trading business.

The Cloud harmonizes the intrinsic elasticity of the Demand for Processing Cycles with the inelasticity of the Supply of Processing Cycles

One of the great advantages of The Cloud is that you can ramp up processing power without having to provision and/or commit to servers.  Once you are done with your calculations you release your leased processing cycles back into the pool of The Cloud and forget about them.

All of the hardware, software, rack space, electricity, etc. that it took to run your calculations are now offered on a pay-as-you-go model via The Cloud.

Gone are the days of provisioning your data processing resources for your projected peak load.

With The Cloud's real-time scalable pay-as-you-go model you can spin up 1,000 servers and run them for an hour for the same cost as spinning up 1 server and running it for 1,000 hours.

How cool is that?

...and the cycle time is cheap.  Below are cycle costs from Amazon's Web Offering (EC2):


Amazon EC2 On-Demand Instances

Standard On-Demand Instances

Linux/UNIX Usage

Windows Usage

Small (Default)

$0.10 per hour

$0.125 per hour

Large

$0.40 per hour

$0.50 per hour

Extra Large

$0.80 per hour

$1.00 per hour

High CPU On-Demand Instances

Linux/UNIX Usage

Windows Usage

Medium

$0.20 per hour

$0.30 per hour

Extra Large

$0.80 per hour

$1.20 per hour

 

Note - we are Vendor Neutral and are only quoting Amazon's pricing as an example,  not an endorsement.

There are different types of Cloud offerings and depending upon the type of number crunching that you do, or would like to do, and the composure of your current Intellectual Property code base, Amazon may not be the best offering for you.

In our next post about Algo and Quant Trading in The Cloud, Tim Kraska will document a Logical Design for Cloud Services that will enable you to port your current IP to The Cloud.

What's the next big thing in trading?

In my estimation, it's The Cloud.

The Cloud will have as great, or even greater affect on trading as the Internet.

That's a big statement, and I bet that many of you, are nodding your head in agreement.

The Cloud is going to change the way that we think about Intellectual Property, whether we need to own it, buy it, or simply lease it - which is the option that I think will emerge as the de facto standard in 50 or so months.

In the blink of an eye The Cloud will exponentially increase the amount of data that we back-test against and thus, will open up true data mining to the masses.

No longer will quant shops have exclusive access to ripping through the massive amounts of data that really drives the markets.   

Creating tool sets and algorithms for these data sets is going to be a great gig for a the tech folks who hustle and early on stake out their corner of The Cloud.

New brands that are cloud-centric will spring up and will provide their owners with a marketing edge for at least a decade or so.

Here's a first pass at what 'before' and 'after' The Cloud will do for Joe Trader:

Pre-Cloud Retail Trading Architecture:

Algo Futures - Pre-Cloud Retail Trading Architecture - Carl Weiss.jpg

Post-Cloud Retail Trading Architecture:

Algo Futures - Post-Cloud Retail Trading Architecture - Carl Weiss.jpg

Brokers and software developers making Cloud services available to their clients will wipe the deck with old-line brokers and trading platform developers who don't adopt to the new model quickly enough.

We are working towards a product that is a layup to Cloud services.   We will be offering automated trade management for news sentiment algos and leasing of algo IP via slew of .NET web services and will be posting more about it here soon.

Anyone know of any shops offering Cloud Services yet?

Every once in a while my spider senses pick up a familiar signal...that is, The Herd is moving in lock-step and picking up speed.

 

This time around it's about the obsession of shaving latency.


Shaving latency seems to have become the biggest cottage industry in trading.

 

Every day I get more and more spam about latency....and you know that things are out of hand when the spammers are on to it.

 

How about this one:

 

Dear Friend,

I am a Nigerian Prince who has been exiled from my country.  My father has deposited $420,000,000(US) in a trading account in Zurich.

If you give me your latency shaving algos, in return, I will share our increased profits with you 50-50.

Please e-mail your source code, router IPs, passwords, etc to:

honey-I-found-an-answer-to-our-prayers@lagos.net

 

I agree that speed is important, but is it the whole ball of wax?

 

Could it be that the latency shaving stuff is just another arms race? 

 

A contest where no one is the clear winner?

 

Won't we all continue to have pretty much the same speed as the technology continues to evolve and leak out?

 

Wouldn't it be better to spend your time working on algos that are just plain smarter at analyzing and digesting all of the true market data that is currently available than simply playing the same old card over and over again of trying to be faster?

 

I was chatting with developer friend at a prop shop in Chicago and he told me that their in-house programming bench consisted of 6 guys and that each and every one of them was only working on shaving latency.

 

If a shop's algos can only thrive with that extra nth of second in their pocket then perhaps it's time to focus a little more of energy developing cleverer setups and entries....Just a thought.

 

Anyone care to comment?  Am I off base here?

About this Archive

This page is an archive of entries from April 2009 listed from newest to oldest.

March 2009 is the previous archive.

August 2009 is the next archive.

Find recent content on the main index or look in the archives to find all content.