<?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>Techdoer Times &#187; Financial markets</title>
	<atom:link href="http://techdoertimes.com/tag/financial-markets/feed" rel="self" type="application/rss+xml" />
	<link>http://techdoertimes.com</link>
	<description></description>
	<lastBuildDate>Sun, 11 Dec 2011 22:20:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Agile on Wall Street</title>
		<link>http://techdoertimes.com/agile/agile-on-wall-street</link>
		<comments>http://techdoertimes.com/agile/agile-on-wall-street#comments</comments>
		<pubDate>Thu, 23 Oct 2008 04:00:31 +0000</pubDate>
		<dc:creator>Sergio Bogazzi</dc:creator>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Financial markets]]></category>

		<guid isPermaLink="false">http://www.techdoer.com/?p=380</guid>
		<description><![CDATA[<li>Click for <a href="http://stove.s3.amazonaws.com/techdoer.com/pdf/Techdoer_StreetAgile2.pdf">PDF</a> Presentation
<li>Also available on <a href="http://www.slideshare.net/techdoer/agile-on-wall-street">Slideshare</a>.]]></description>
			<content:encoded><![CDATA[<p>Throughout this past year I&#8217;ve presented various articles highlighting the high-performance computing requirements on <a href="/?p=60">Wall Street</a>, where <a href="/?p=39">latency</a> and <a href="/?p=72">temporal constraints</a> are closely tied profit and compliance.</p>
<p>As many of you know, <em>The Techdoer Times</em> is also focused on topics surrounding highly-productive teams.   Our day-to-day experience with <a href="/?p=211">Agile software development</a> makes us biased to the productivity benefits of this software development approach, especially with regards to Wall Street, where project success is rooted in a team&#8217;s ability to solve functional requirements, as is the case with most technology solutions, but also the ability to solve the complicated non-functional temporal <a href="/?p=115">requirements</a> behind the industry&#8217;s <a href="/?p=60">performance</a> and <a href="/?p=368">compliance</a> needs.</p>
<p>We&#8217;re happy to share our nascent thoughts surrounding the cultural, managerial and engineering benefits of Agile on Wall Street at <a href="http://www.agiles2008.org/en/index.php">Agiles2008</a> &#8211; the first ever Latin American conference on Agile Development methodologies.</p>
<p>Our goals is to raise awareness to Agile for projects heavy in non-functional requirements.</p>
<p>A PDF formatted presentation can be downloaded <a href="http://stove.s3.amazonaws.com/techdoer.com/pdf/Techdoer_StreetAgile2.pdf">here</a>.   As always we welcome your comments or suggestions by emailing us at techdoer@gmail.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdoertimes.com/agile/agile-on-wall-street/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uncovering Time in the Financial Markets – Precision &amp; Accuracy</title>
		<link>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets-precision-accuracy</link>
		<comments>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets-precision-accuracy#comments</comments>
		<pubDate>Sat, 05 Apr 2008 11:12:11 +0000</pubDate>
		<dc:creator>Sergio Bogazzi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Clock synchronization]]></category>
		<category><![CDATA[Financial markets]]></category>

		<guid isPermaLink="false">http://www.techdoer.com/?p=77</guid>
		<description><![CDATA[In this third and final part to our series Uncovering Time in the Financial Markets we&#8217;ll look at clock synchronization techniques for improving the quality of time in the distributed systems that power the trade-lifecycle in the financial markets. Previously I&#8217;ve shown how regulators and business strategy in the financial markets are more sensitive than [...]]]></description>
			<content:encoded><![CDATA[<p>In this third and final part to our series <a href="/?p=72">Uncovering Time in the Financial Markets</a> we&#8217;ll look at clock synchronization techniques for improving the quality of time in the distributed systems that power the trade-lifecycle in the financial markets.</p>
<p><a href="/?p=72">Previously</a> I&#8217;ve shown how regulators and business strategy in the financial markets are more sensitive than ever to small intervals of time and why the inherent inaccuracy of time in the trade-lifecycle makes any temporal references potentially misleading, not to mention marketing&#8217;s blatant misuse of time in justifying advantages over competitor offerings.</p>
<h3>Atomic Time</h3>
<p>Time, for our purposes, is the production of a clock that measures changes of a natural phenomenon or of an artificial machine according to the rules of the time standard it is meant to implement. We&#8217;re accustomed to dealing with the Mean Time, or Civil Time standard, which is based on the earth&#8217;s rotation around the sun. Because of variability resulting from the elliptical nature of this rotation, leap years are required to adjust for the natural clock-drift that occurs.  Specifically we deal with the International Atomic Time (TAI) and Coordinated Universal Time (UTC) standards with UTC simply calculated by adding leap seconds to TAI time.</p>
<p>Atomic Clocks, which rely on atomic resonance of a cesium 133 atom for example, have become the standard for accurate time. In 1967, the 13th General Conference on Weights and Measures defined the International System (SI) unit of time, the second, in terms of atomic time rather than the motion of the Earth. A second was defined as:</p>
<blockquote><p>The duration of 9,192,631,770 cycles of microwave light absorbed or emitted by the hyperfine transition of cesium-133 atoms in their ground state undisturbed by external fields.</p></blockquote>
<p>It turns out that TAI time is based on atomic time and calculated by computing a weighted average of time kept by roughly 300 atomic clocks in over 50 national laboratories around the world.  Many of these atomic clocks are cesium clocks.</p>
<h3>Computer Time</h3>
<p>When software running on a single computer requires a precise version of the current time it does so by calling the appropriate operating system function such as <em><code>gettimeofday </code></em>on linux or the precise <code><em>QueryPerformanceCounter</em> </code>and less precise <em><code>GetTickCounts </code></em>on windows.  The values returned by these functions are based on the system&#8217;s local oscillator which updates the clock counter at a frequency known as the tick rate.  This tick rate determines the precision (i.e. resolution), of time.   Windows, for example, allows users to query the tick rate via the <em>QueryPerformanceFrequency </em>function (Note: requires support from underlying hardware).  A tick rate of 1,000,000 updates a second, for example, allows the clock to support microsecond precision.  One challenge for hardware engineers is setting a tick rate where the accuracy of the clock can be maintained without overloading the system with the tick events themselves.</p>
<p>There are numerous factors that cause variations in the the frequency of oscillation including age of the hardware components, system load, and temperature.  These variations are called jitter and jitter leads to clock drift which results in inaccurate timings.</p>
<h3>Clock Synchronization</h3>
<p>The Financial Industry Regulatory Authority FINRA (formerly NASD) devised Rule 6953 to address the need for accurate time in their Order Audit Trail System (OATS).  The rule imposed clock synchronization requirements by stating:</p>
<blockquote><p>Rule 6953 requires any FINRA member firm that records order, transaction or related data to synchronize all business clocks used to record the date and time of any market event.  Clocks, including computer system clocks and manual timestamp machines, must record time in hours, minutes and seconds with to-the-second granularity and must be synchronized to a source that is synchronized to within three seconds of the National Institute of Standards’ (NIST) atomic clock.  Clocks must be synchronized once a day prior to the opening of the market, and remain in synch throughout the day.  In addition, firms are to maintain a copy of their clock synchronization procedures on-site. Clocks not used to record the date and time of market events need not be synchronized.</p></blockquote>
<p style="text-align: left;">The rule is written so it addresses the requirement for accuracy and precision of time in an inherently distributed system like  OATS as well as addressing the inaccuracy that can result from clock synchronization itself.  Like the jitter I described in a system&#8217;s local oscillator, the <a href="/?p=50">propagation delay</a> of the clock synchronization signal can also cause jitter.</p>
<p style="text-align: left;">Here we hit upon the double-edged inaccuracy of distributed time.  First, the local system clock will drift (a.k.a clock drift) compared to the other clocks, necessitating each clock&#8217;s synchronization to a shared accurate time source.  Second, each clock in the synchronization scheme will experience varying propagation delays (a.k.a clock skew) with this time source, potentially resulting in more inaccuracy between clocks.</p>
<p>A high-quality clock synchronization solution will ensure the accuracy for each node being synchronized by providing a reference source for actual time and disciplining each node&#8217;s local clock to be synchronized to this time.</p>
<h3>Network Time Protocol</h3>
<p>Network Time Protocol is a common clock synchronization protocol standard used on packet switched networks.   It currently stands at <a href="http://www.eecis.udel.edu/%7emills/database/reports/ntp4/ntp4.pdf">version 4</a>.</p>
<p>Check back soon as we show how standard implementations of the Network Time Protocol, handle drift and jitter to synchronize the clocks in the machines that power the trade lifecycle.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets-precision-accuracy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uncovering Time in the Financial Markets – Time of the Trade</title>
		<link>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets-time-of-the-trade</link>
		<comments>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets-time-of-the-trade#comments</comments>
		<pubDate>Sun, 23 Mar 2008 17:21:04 +0000</pubDate>
		<dc:creator>Sergio Bogazzi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Financial markets]]></category>
		<category><![CDATA[HPC]]></category>

		<guid isPermaLink="false">http://www.techdoer.com/?p=76</guid>
		<description><![CDATA[Previously I listed examples of how small intervals of time are deeply rooted in modern electronic trading strategies and regulations. Although the process of buying and selling stocks, whether in a manual environment involving specialists on the floor of a major equities exchange, or in an automated environment involving two systems with complex decision rules [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/?p=71">Previously</a> I listed examples of how small intervals of time are deeply rooted in modern electronic trading strategies and regulations. Although  the process of buying and selling stocks, whether in a manual environment involving specialists on the floor of a major equities exchange, or in an automated environment involving two systems with complex decision rules for valuating and purchasing stocks, has significantly changed over the centuries, the outcome remains the same &#8211; to enable the exchange of shares (equity) of ownership, for a particular company, between a buyer and a seller at some agreed upon price, this is fundamentally the process of trading in the equities markets.</p>
<p>It is within this process that regulators and trading organizations have become incredibly sensitive to even the smallest measures of time.  The trading process can be broken down into the following steps.   First is the specification of the order details (eg. price, symbol, size) from the buyer or seller followed by the acknowledgment of that order by a trading venue such as an exchange, ECN, or broker dealer.  The order is then optionally routed to one or more venues that will execute the trade by matching it with a counterparty order before reporting the details of the execution back to a trade-reporting facility.</p>
<p>Vendors, regulators, data providers, and marketers of trading technology mislead when quoting microsecond, millisecond or any temporal measures by failing to describe the inherent inaccuracies of such measures in a distributed systems context.   Because the trade process described above is fundamentally distributed across machines whose concept of time is largely subjective, a measured interval of one second between any nodes in this trading process may amount to significantly more or less than one second when measured on the scale of an atomic clock.</p>
<p>To ensure that regulatory or strategic measures of time, are in fact accurate, it is necessary to create a single global understanding of time between related machines.  <a href="/?p=77">Clock synchronization</a> refers to the problems caused by clock skew and jitter, and the solutions that enable a common, more accurate understanding of time, albeit with built in margins of error.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets-time-of-the-trade/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uncovering Time in the Financial Markets – Law &amp; Profit</title>
		<link>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets-law-profit</link>
		<comments>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets-law-profit#comments</comments>
		<pubDate>Wed, 12 Mar 2008 03:42:42 +0000</pubDate>
		<dc:creator>Sergio Bogazzi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Financial markets]]></category>
		<category><![CDATA[HPC]]></category>

		<guid isPermaLink="false">http://www.techdoer.com/?p=71</guid>
		<description><![CDATA[As I mentioned, the measure of small intervals of time, in the financial markets, is deeply rooted in both modern regulatory policies as well as electronic trading strategies. The SEC, FINRA and other industry regulators have innovated their way towards temporal constraints that reflect the lightening speed of today&#8217;s electronic trading landscape. On the business [...]]]></description>
			<content:encoded><![CDATA[<p>As I <a href="/?p=72">mentioned</a>, the measure of small intervals of time, in the financial markets, is deeply rooted in both modern regulatory policies as well as electronic trading strategies.   The SEC, FINRA and other industry regulators have innovated their way towards temporal constraints that reflect the lightening speed of today&#8217;s electronic trading landscape.  On the business side, the continuing arms-race towards <a href="/?p=64">low-latency</a> algo trading platforms is built on the premise that profit comes to those who discover and trade the best available price first.  With milliseconds and now microseconds separating competing trade requests, industry participants are paying huge premiums for technology that promises even the smallest temporal improvements over competitor offerings.</p>
<h3>Regulatory Time</h3>
<p>Here is just a small sampling of the temporal references found in today&#8217;s electronic-trading compliance requirements:</p>
<p>FINRA Trade Reporting:</p>
<blockquote><p>&#8230;transactions that are subject to NASD Rules 6130(g) and 6130 (c) and also required pursuant to an NASD trade reporting rule to be reported within <strong>90 seconds</strong>.</p></blockquote>
<p>SEC Regulation NMS Self-Help:</p>
<blockquote><p>If a market repeatedly does not respond within <strong>one second</strong> or less, market participants may exercise &#8220;self-help&#8221; and avoid that market for purposes of the Order Protection Rule.</p></blockquote>
<p>OATS Reporting</p>
<blockquote><p>&#8230;Order Sent Timestamp (date and time) is within <strong>+/- 3 seconds</strong>&#8230;</p></blockquote>
<p>SEC Regulation NMS Intermarket Sweep Order Workflow</p>
<blockquote><p>Answer:  Yes, waiting <strong>one full second</strong> to route a new ISO to an unchanged price at a trading center would qualify as a reasonable policy and procedure under Rule 611(a)(1) to prevent trade-throughs.</p></blockquote>
<p>SEC Regulation NMS &#8211; Flickering Quote Exemption</p>
<blockquote><p>In addition, Rule 611 provides exceptions for the quotations of trading centers experiencing, among other things, a material delay in providing a response to incoming orders and for flickering quotations with prices that have been displayed for <strong>less than one second</strong>.</p></blockquote>
<p>SEC Regulation NMS &#8211; 3 Second Quote Window</p>
<blockquote><p>To eliminate false trade-throughs, the staff calculated trade-through rates using a <strong>3-second window </strong>– a reference price must have been displayed one second before a trade and still have been displayed one second after a trade.</p></blockquote>
<p>At best these temporal references serve as explicit requirements that drive the necessary software decisions to stay compliant.  However, interpreting these time-intervals without considering the distributed nature of the trade-lifecycle and the ambiguity of time in this context, can lead to misinterpretation and confusion.</p>
<h3>Profit Time</h3>
<p>Similarly, on the business side, there is an unprecedented awareness and profit-sensitivity to small time intervals.  Here are some quotes from industry stakeholders:</p>
<p>Chicago Mercantile Exchange</p>
<blockquote><p>&#8220;Traders using CME Globex demand serious speed. If the network is even a few milliseconds slower than <strong>40 milliseconds</strong> of response time, they don’t hesitate to notify CME.&#8221;</p></blockquote>
<p>Philadelphia Stock Exchange</p>
<blockquote><p>&#8220;The standard now is <strong>sub-one millisecond</strong>,&#8221; said Philadelphia Stock Exchange CEO Sandy Frucher. &#8220;If you get faster than sub-one millisecond you are trading ahead.&#8221;</p></blockquote>
<p>Investment Banks</p>
<blockquote><p>&#8220;Firms are turning to electronic trading, in part because a <strong>1-millisecond</strong> advantage in trading applications can be worth millions of dollars a year to a major brokerage firm.&#8221;</p></blockquote>
<p>The TABB Group</p>
<blockquote><p>&#8220;For US equity electronic trading brokerage, handling the speed of the market is of critical importance because latency impedes a broker’s ability to provide best execution. In 2008, 16% of all US institutional equity commissions are exposed to latency risk, totaling $2B in revenue. As in the Indy 500, the value of time for a trading desk is decidedly non-linear. TABB Group estimates that if a broker’s electronic trading platform is <strong>5 milliseconds </strong>behind the competition, it could lose at least 1% of its flow; that’s $4 million in revenues per millisecond. Up to <strong>10 milliseconds</strong> of latency could result in a 10% drop in revenues. From there it gets worse. If a broker is <strong>100 milliseconds</strong> slower than the fastest broker, it may as well shut down its FIX engine and become a floor broker.”</p></blockquote>
<p>Brokerage House</p>
<blockquote><p>&#8220;Arbitrage trading is critically dependent on trading off valid prices and getting the orders in as fast as possible without overwhelming the exchange gateway and so latency on the market data stream and order entry gateway capacity is a big issue.&#8221;</p></blockquote>
<p>Chi-X/TransactTools Press Release</p>
<blockquote><p>&#8220;TransactTools’ standard benchmark tests found that over 95 percent of messages sent to Chi-X were responded to in an average of <strong>10 milliseconds</strong>&#8230;with the fastest response time being <strong>four milliseconds</strong>.  For high volume throughput testing, in which five million messages were generated in total, Chi-X maintained an average roundtrip latency of 18 milliseconds while handling 16,000 messages per second.  Chi-X’s internal latency, which is a measure of the system’s ability to process messages in its core rather than the roundtrip measurement, was measured by Instinet Chi-X at <strong>890 microseconds</strong>, or less than one millisecond.&#8221;</p></blockquote>
<h3>Millisecond Marketing</h3>
<p>With the industry&#8217;s increasing awareness to small time intervals, marketers are playing their temporal cards.  Vendors of market data distribution platforms, high-performance messaging solutions, complex event processing and many of the <a href="/?p=60">other</a> high-performance technologies on Wall Street can also misinform and sometimes disinform the capabilities of their offerings with respect to time and performance.   Suggesting a vendor&#8217;s market data distribution technology offers millisecond or microsecond improvements over a competitors offering, without describing the testing context and particularly how clocks were synchronized in reaching the final measure is unethical.  As high-performance trading technologies continue to commoditize, the pressure to show even the most minute temporal improvements will only increase.</p>
<p><a href="/?p=76">Next</a> I&#8217;ll describe the lifecycle of a trade request, and why measures of time in this context are inherently innacurate.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets-law-profit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uncovering Time in the Financial Markets</title>
		<link>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets</link>
		<comments>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets#comments</comments>
		<pubDate>Sun, 09 Mar 2008 03:47:38 +0000</pubDate>
		<dc:creator>Sergio Bogazzi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Financial markets]]></category>
		<category><![CDATA[HPC]]></category>
		<category><![CDATA[Latency]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[Throughput]]></category>

		<guid isPermaLink="false">http://www.techdoer.com/?p=72</guid>
		<description><![CDATA[In this era of low-latency, high-performance electronic and algorithmic trading, vendors, regulators and business strategist continue to misinform and sometimes disinform industry participants with references to time. Vendors, for example, can selectively manipulate their marketing campaigns to suggest dubious sub-millisecond advantages over competitor technologies. Regulators, who continue their ambitious drive to innovate for the twenty-first [...]]]></description>
			<content:encoded><![CDATA[<p>In this era of low-latency, high-performance electronic and algorithmic trading, vendors, regulators and business strategist continue to misinform and sometimes disinform industry participants with references to time. Vendors, for <a href="/?p=67">example</a>, can selectively manipulate their marketing campaigns to suggest dubious sub-millisecond advantages over competitor technologies. Regulators, who continue their ambitious drive to innovate for the twenty-first century industry changes, may get a bit ahead of themselves when not providing the appropriate clock synchronization context in quoting their temporal constraints. Investment banks and brokerage firms continue to preach the <a href="http://www.wallstreetandtech.com/resourcecenters/low-latency/showArticle.jhtml?articleID=199702208">million dollar advantages</a> of millisecond improvements in their trade lifecycle.</p>
<p>The widespread <a href="/?p=60">industry shifts</a> in the financial markets have created an unprecedented and collective awareness and sensitivity to small intervals of time. The fact is that despite driving both regulatory and strategic policies, the quoted measure of these intervals remains another piece of misinformation and sometimes disinformation that misleads and confuses industry stakeholders.</p>
<p>In this three part series, I’ll <a href="/?p=71">first</a> show examples of time’s importance from a financial market regulatory and strategic perspective.  <a href="/?p=76">Second</a> I&#8217;ll show exactly how and why this time is misinterpreted.  <a href="/?p=77">Finally</a> i&#8217;ll talk about how clock synchronization techniques can be used to better rationalize the measure of time across system boundaries.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdoertimes.com/technology/uncovering-time-in-the-financial-markets/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

