<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Au.Tra.Sy blog - Automated trading System &#187; exchange</title>
	<atom:link href="http://www.automated-trading-system.com/tag/exchange/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.automated-trading-system.com</link>
	<description>Systematic Trading research and development, with a flavour of Trend Following</description>
	<lastBuildDate>Tue, 07 Feb 2012 09:58:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to decide on a Backtesting and Trading Platform</title>
		<link>http://www.automated-trading-system.com/backtesting-trading-platform/</link>
		<comments>http://www.automated-trading-system.com/backtesting-trading-platform/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 11:31:55 +0000</pubDate>
		<dc:creator>Jez Liberty</dc:creator>
				<category><![CDATA[Backtest]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[amibroker]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[CSI]]></category>
		<category><![CDATA[eSignal]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[Futures]]></category>
		<category><![CDATA[introducing broker]]></category>
		<category><![CDATA[NinjaTrader]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[tradersstudio]]></category>
		<category><![CDATA[tradestation]]></category>
		<category><![CDATA[Zen Fire]]></category>

		<guid isPermaLink="false">http://www.automated-trading-system.com/?p=760</guid>
		<description><![CDATA[As an automated trader you probably need the following components: Broker Account &#8211; The starting point to trade in the markets Live Market Data &#8211; To feed to your trading robot so that it can generate trading signals. Most brokers provide market data with proprietary or third-party technology- although market data can also be obtained [...]]]></description>
			<content:encoded><![CDATA[<p>As an automated trader you probably need the following components:</p>
<ul>
<li><strong>Broker Account</strong> &#8211; The starting point to trade in the markets</li>
<li><strong>Live Market Data</strong> &#8211; To feed to your trading robot so that it can generate trading signals. Most brokers provide market data with proprietary or third-party technology- although market data can also be obtained from an independent vendor (e.g. eSignal).</li>
<li><strong>Order Routing</strong> &#8211; To transmit your orders to the exchange. These can be proprietary to the executing broker or third-party based (e.g. Zen Fire).</li>
<li><strong>Broker Trading Platform</strong> &#8211; To access your account information, place orders, etc.</li>
<li><strong>Charting Platform</strong> &#8211; Sometimes the broker platform charting capabilities are mediocre and an independent charting platform is required (e.g. eSignal)</li>
<li><strong>Signal Generation Platform</strong> &#8211; The actual trading robot: it analyses market data, account and positions information and implements the automated trading strategies to generate trade management signals (i.e. Buy / Sell / Exit, etc.).</li>
<li><strong>Excecution Platform</strong> &#8211; Receives trade signals and forwards them to the order routing.</li>
<li><strong>Platform Hosting</strong> &#8211; You can host the trading robot on your local machine, host it in a dedicated rented server or entrust a specialised broker to host and run your trading robot.</li>
<li><strong>Historical Market Data</strong> &#8211; Used as source for back-testing trading strategies</li>
<li><strong>Strategy Development Application</strong> &#8211; Allows for coding, optimisation, back-test and result analysis of trading strategies.</li>
<li><strong>Statistical Analysis package</strong> &#8211; for in-depth statistical analysis of back-testing results.</li>
</ul>
<p>Some of these distinctions are physical, some are logical. For example, TradeStation packs many of the points above into one system: a broker account and a trading platform that allows you to:<span id="more-760"></span><br />
Access live market data + Visualise price charts + Automate trading strategies that generate signals + Route the trading signals as orders on the exchange + Access account information + Store historical data + Back-test strategies</p>
<p>Sounds like it fits the bill perfectly, doesn&#8217;t it?<br />
Well let&#8217;s look at the areas you need to consider when deciding on your automated platform.</p>
<h3>Type of broker</h3>
<p>Different issues to consider: is the broker a clearing broker, a non-clearing FCM or an introducing broker? If the latter is it an independent introducing broker or a guaranteed introducing broker (backed by a clearer)? It would seem that the closer to the exchange  you broker is (in terms of relationship), the better/safer it is. See <a href="http://www.automated-trading-system.com/anatomy-futures-transaction/">Anatomy of a Futures transaction</a> for more detail on the different types of brokers.</p>
<h3>Markets supported</h3>
<p>Every broker offers access to different products and different markets. For example Interactive Brokers offers one of most complete coverage (worldwide Futures, Options, Equites and Forex) all &#8220;housed&#8221; under the same Universal Account. Other brokers only offer access to specific products/markets.</p>
<h3>Latency/Speed</h3>
<p>For some type of trading strategy, this can have a large impact and various platforms/feeds offer different levels of performance. This has led to specialist companies such as Zen Fire or Trading Technologies &#8211; which locate their servers very close to the exchange &#8211; achieving speed and reliability for data feed and order routing. They offer their services to brokers who can in turn offer it to their clients.</p>
<h3>Development Language</h3>
<p>This is mostly a matter of personal preference, experience and expertise. TradeStation has been around for longer and a big collection of Easy Language scripts are available for re-use while NinjaTrader, for example, uses C# and CQG Trader their own language.</p>
<h3>Strategy Complexity vs. Platform Functionality</h3>
<p>Most of the automated trading platforms that offer back-testing functionality lack sophistication of dedicated applications such as Mechanica, TraderStudio or Trading Blox. For example portfolio testing is usually not available in the live trading platforms. This might work for some simple strategies but not for more complex Money Management ones.</p>
<h3>Hosting</h3>
<p>You can run the trading robot on your machine, which makes you subject to power and connection failures or you can choose to rent a server to host your robot. Some brokers also offer trading strategy hosting and execution on their own servers.</p>
<h3>Charting</h3>
<p>Some specialised platforms offer better charting capabilities than the standard trading platforms and can be used as a standalone charting application. Some, such as eSignal, also offer a data feed.</p>
<h3>Costs</h3>
<p>An obvious one but between platform costs, execution costs, hardware, etc. there exists a wide range between bottom-end and top-end offerings.</p>
<h3>What/how to choose?</h3>
<p>While researching for this article I have come across <em>many</em> different packages offering different solutions. One of the best ways to help you decide on a solution that makes sense to <em>you</em> is to list <em>your goals</em> and cross-check each platform against them <a href="http://home.comcast.net/~countertrender/AI_for_the_Individual_Trader.pdf" target="_blank" rel="nofollow">in this fashion (PDF doc)</a>.</p>
<p>There are endless possibilities for combining all the differenty packages. Just for fun I tried to &#8220;virtually build&#8221; the opposite of an all-in-one package such as TradeStation (which will probably not address most automated trader goals) &#8211; here is one &#8220;wacky&#8221; implementation.<br />
<div id="attachment_762" class="wp-caption aligncenter" style="width: 460px"><img src="http://www.automated-trading-system.com/wp-content/uploads/2009/10/wacky-architecture.png" alt="wacky ATS architecture" title="wacky-architecture" width="450" height="450" class="size-full wp-image-762" /><p class="wp-caption-text">A trader decides to use TradeStation as a signal generating platform. However she does not want to use TradeStation data feed and instead decides to go for the eSignal package integrating the broker Dorman Trading and the Zen-Fire connection for market data and a charting platform. In order to route the market data to TradeStation, she needs a bridge application - OwnData from TS Support for example. The backup feed solution would be TradeStation data feed. For the execution side of things, our trader decides to send the trading signals generated by TradeStation to NinjaTrader, which can route the orders to the exchange through a broker. The primary route is through Velocity Futures broker using Trading Technologies order routing, while the secondary route is through Interactive Brokers via their TWS trading platform and API! Additionally, the strategy research and testing is performed with Mechanica using CQG tick data while the results are analysed using R.</p></div></p>
<h3>Conclusion</h3>
<p>Sorry to end up on a cliche but there are no silver bullet to making the choice. If you take away one point is that you need to list your own requirements clearly and make the choice for yourself based on them.</p>
<p>Check that <a href="http://www.elitetrader.com/vb/showthread.php?threadid=108534<br />
" target="_blank" rel="nofollow">60-page thread at EliteTrader</a> if you want an endless discussion as to which is the best platform/architecture&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.automated-trading-system.com/backtesting-trading-platform/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Anatomy of a Futures transaction</title>
		<link>http://www.automated-trading-system.com/anatomy-futures-transaction/</link>
		<comments>http://www.automated-trading-system.com/anatomy-futures-transaction/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 13:12:27 +0000</pubDate>
		<dc:creator>Jez Liberty</dc:creator>
				<category><![CDATA[Futures]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[broker]]></category>
		<category><![CDATA[ccp]]></category>
		<category><![CDATA[clearing]]></category>
		<category><![CDATA[counterparty]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[FCM]]></category>
		<category><![CDATA[introducing broker]]></category>

		<guid isPermaLink="false">http://www.automated-trading-system.com/?p=735</guid>
		<description><![CDATA[When looking around for automated trading platforms, you soon realise that the offerings are numerous and all seem to take a different form or approach (i.e. TradeStation vs. Interactive Brokers vs. NinjaTrader vs. Zen-Fire vs. eSignal vs. TradersStudio, etc. &#8211; the list is very long!). To understand what they all offer, it is important to [...]]]></description>
			<content:encoded><![CDATA[<p>When looking around for automated trading platforms, you soon realise that the offerings are numerous and all seem to take a different form or approach (i.e. <em>TradeStation vs. Interactive Brokers vs. NinjaTrader vs. Zen-Fire vs. eSignal vs. TradersStudio</em>, etc. &#8211; the list is very long!).<br />
To understand what they all offer, it is important to first situate <strong>all the actors on the chain of transactions</strong> that a trade generates.</p>
<p>Here is a &#8220;gradual&#8221; description of how a Futures trade takes place with all intermediaries involved:</p>
<h3>A BUYER AND A SELLER</h3>
<p>In its most basic form a transaction involves 2 parties: <strong>a buyer and a seller</strong>.<br />
<div id="attachment_740" class="wp-caption aligncenter" style="width: 349px"><img src="http://www.automated-trading-system.com/wp-content/uploads/2009/10/anatomy5.png" alt="A buyer transacts directly with a seller" title="anatomy5" width="339" height="193" class="size-full wp-image-740" /><p class="wp-caption-text">A buyer transacts directly with a seller</p></div></p>
<h3>THE EXCHANGE: A CENTRAL &#8220;MEETING&#8221; PLACE</h3>
<p><span id="more-735"></span><br />
However buyers need to find sellers and vice-versa. This is where <strong>exchanges</strong> come into play. They are a central place where trading takes place.</p>
<p>For example, the <em>Chicago Board of Trade</em> (CBOT) is the central place where wheat trading takes place. All sellers and buyers meet and agree on transaction prices there. Exchanges also enforce rules such as <strong>standardised terms</strong> (e.g. wheat futures contract provides for delivery of 5,000 bushels of any of several varieties of wheat during March, May, July, September, or December).<br />
<div id="attachment_741" class="wp-caption aligncenter" style="width: 510px"><img src="http://www.automated-trading-system.com/wp-content/uploads/2009/10/anatomy4.png" alt="All buyers and sellers come to the exchange to transact" title="anatomy4" width="500" height="236" class="size-full wp-image-741" /><p class="wp-caption-text">All buyers and sellers come to the exchange to transact</p></div></p>
<h3>COUNTERPARTY RISK</h3>
<p>Futures contracts are an agreement between two parties for future delivery of an underlying (e.g. wheat) in exchange for a Cash amount (settlement) dictated by the agreed price. Up until settlement, there is risk that one of the parties will not be able to fulfil its obligation and result in a financial loss to the other party. This is called <em>Counterparty Risk</em>.</p>
<p>To avoid this situation, an intermediary, part of the exchange, will <strong>guarantee the trade</strong>. This is the <strong>Central CounterParty</strong>. All trades are actually given up to the Central CounterParty &#8211; which means that technically you buy from the CCP and your counterparty (the other side of the trade) sells to the CCP.</p>
<p>The CCP enforces each party to maintain adequate levels of <strong>initial and variation margin</strong> to cover any potential losses. All of the CCP trades are cleared through its <strong>clearing house</strong>.<br />
<div id="attachment_744" class="wp-caption aligncenter" style="width: 510px"><img src="http://www.automated-trading-system.com/wp-content/uploads/2009/10/anatomy3.png" alt="The exchange provides a Central CounterParty and Clearing House to act as a guarantee between buyer and seller." title="anatomy3" width="500" height="234" class="size-full wp-image-744" /><p class="wp-caption-text">The exchange provides a Central CounterParty and Clearing House to act as a guarantee between buyer and seller.</p></div></p>
<h3>BROKER INTERMEDIATION</h3>
<p>Now, there are millions of buyers and sellers that want to trade on the exchange. The exchange is not going to deal with all buyers and sellers. Instead, an exchange is a B2B-only platform where <strong>broker-dealer</strong> firms place their trades between each other.</p>
<p>For a buyer to trade, she needs to go through a broker to place her order/trade on the exchange. However broker-dealers (also called <em>Futures Commission Merchant</em> &#8211; FCM) are large independent firms, or part of large investment/commercial banks. As such they will not deal with most clients (retail and small institutional). Those clients would go through <strong>Introducing Brokers</strong> (IB), which will act as an extra intermediary between the client (you) and the exchange in a B2C fashion &#8211; delegating the trade execution, back-office operations, etc. to the FCM.</p>
<p>There is a further distinction between FCM:</p>
<ul>
<li><strong>Clearing FCM</strong>, which is a clearing member of an exchange</li>
<li><strong>Non-clearing FCM</strong>, which must clear its trade through a clearing FCM</li>
</ul>
<div id="attachment_745" class="wp-caption aligncenter" style="width: 510px"><img src="http://www.automated-trading-system.com/wp-content/uploads/2009/10/anatomy2.png" alt="The picture gets fuller with broker intermediaries: Introducing Brokers, clearing and non-clearing FCM." title="anatomy2" width="500" height="228" class="size-full wp-image-745" /><p class="wp-caption-text">The picture gets fuller with broker intermediaries: Introducing Brokers, clearing and non-clearing FCM.</p></div>
<h3>HOW TRADING TAKES PLACE AT THE EXCHANGE</h3>
<p>In the old days, most trading took place in <strong>open outcry</strong>, on the trading floor of the exchange, between the local representatives of the broker-dealer firms (traders, brokers, market-makers/specialists). Floor traders stand in a trading pit to call out orders, prices, and quantities of a particular commodity by making &#8220;crazy hand gestures&#8221; (think of the last scene of <a href="http://www.amazon.com/exec/obidos/ASIN/B000O59A16/autotradblog-20" target="_blank" rel="nofollow">Trading Places</a>). Note that open outcry is pre-dated by <strong>blackboard trading</strong>.</p>
<p><strong>Electronic trading</strong> has emerged in the last decades and gradually replaced open outcry. The electronic platform of an exchange (e.g. <em>e-cbot</em> for CBOT) is essentially a matching engine which all broker-dealers connect to and submit their orders.<br />
<div id="attachment_746" class="wp-caption aligncenter" style="width: 510px"><img src="http://www.automated-trading-system.com/wp-content/uploads/2009/10/anatomy1.png" alt="The full picture." title="anatomy1" width="500" height="235" class="size-full wp-image-746" /><p class="wp-caption-text">The full picture.</p></div></p>
<p>With the advent of electronic trading a new class of brokers has appeared: <strong>Direct Access Trading</strong> (DAT) brokers. They offer their clients (including retail) an electronic platform that allows for a direct access to the exchange (as opposed to more traditional online retail brokers, which are just an electronic IB). DAT brokers usually offer to retail investors low transaction costs and high execution speed.</p>
<p>I hope I have not forgotten anything. If so, please let me know in the comments. In a next post I will investigate how the various automated trading platforms fit into that model.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.automated-trading-system.com/anatomy-futures-transaction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

