<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/3.3.3" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>TheBooks</title>
		<link>http://blogs.dmaxx.com/index.php?blog=4</link>
		<atom:link rel="self" type="application/rss+xml" href="http://blogs.dmaxx.com/index.php?blog=4&#38;tempskin=_rss2" />
		<description>TheBooks is Futures Trading and Accounting Software for use by CTAs, and Hedge Funds with Managed Accounts</description>
		<language>en-US</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=3.3.3"/>
		<ttl>60</ttl>
				<item>
			<title>Customized Trade Files</title>
			<link>http://blogs.dmaxx.com/index.php/2010/06/09/customized-trade-files?blog=4</link>
			<pubDate>Wed, 09 Jun 2010 18:39:46 +0000</pubDate>			<dc:creator>Dana Comolli</dc:creator>
			<category domain="alt">Futures Trading</category>
<category domain="main">Backoffice</category>			<guid isPermaLink="false">46@http://blogs.dmaxx.com/</guid>
						<description>&lt;p&gt;One aspect of&amp;#160;trading&amp;#160;managed accounts which can cause a CTA endless headaches is the production of end of day trade files to the various administrators and back offices that are associated with the accounts.&lt;/p&gt;
&lt;p&gt;Each organization has their own &amp;#8220;standard&amp;#8221; file layout and unique requirements for both the file and how the information is to be transmitted.&amp;#160; Add to that symbology and decimal point requirements and the situation can quickly get out of hand.&lt;/p&gt;
&lt;p&gt;TheBooks has a robust trade reporting facility which allows the end user to define file layouts and data transmission methods allowing the complete automation of this important operational function.&lt;/p&gt;
&lt;p&gt;Here is a quick tutorial to get you started.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Problem&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You have just been given an allocation from a large fund of funds and they have specified that you must provide them a trade file at the end of each day that includes all trades done in their account.&amp;#160; The file is to be sent via sFTP, use CQG symbology, and indicate trade changes from prior days by including correction, cancellation, and new indicators within the file.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Solution&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To set this up in TheBooks, you must do three things:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Define a contact that represents the Fund of Funds and specify the sFTP information to use when sending files to the organization&lt;/li&gt;
&lt;li&gt;Define the file layout for the file to be sent&lt;/li&gt;
&lt;li&gt;Associate the account(s) in TheBooks to the contact specifying the file layout defined in step two and indicating the frequency the data is to be sent.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Define the contact&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Contacts are defined using the Configuration -&amp;gt; Counter Parties option.&amp;#160; From there, you add a new contact, then using the FTP tab on the contact property sheet, define the sFTP information as shown below:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/contact_ftp.JPG&quot; alt=&quot;sFTP properties&quot; width=&quot;446&quot; height=&quot;530&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configure the file&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;File layouts are also configured using the Configuration -&amp;gt; Counter Party option.&amp;#160; Clicking on the &lt;strong&gt;Outbound Data Formats&lt;/strong&gt; folder on the left portion of the window displays a list of available formats.&amp;#160; We will be defining a new format, but to make things easy, we&amp;#8217;ll start with an existing one as a model.&lt;/p&gt;
&lt;p&gt;Selecting the item called &amp;#8220;Default Activity Summary Format&amp;#8221; and clicking on the Clone button on the toolbar causes TheBooks to create a new file layout using the selected layout as a model:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/newdataformat.JPG&quot; alt=&quot;Custom Data Format&quot; width=&quot;454&quot; height=&quot;662&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Given the requirements for the file, a few changes to the default settings are required:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Both the Action and AllocationRowID columns should be added to the file layout.&amp;#160; This is done by selecting the columns in the left hand list of columns and clicking the include button.&lt;/li&gt;
&lt;li&gt;CQG should be selected in the &lt;strong&gt;Translate Market Symbols using this source&lt;/strong&gt; combo box.&lt;/li&gt;
&lt;li&gt;The TranslatedMarketSymbol column should be added to the file because this is the name of the column that contains the CQG version of your market symbol.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The Action column causes TheBooks to generate CANCEL/CORRECT/NEW items in the file enabling trade changes to be reflected in the file and the AllocationRowID column provides a unique number that the receiver of the file can use to associate changes to the trades.&lt;/p&gt;
&lt;p&gt;Once this has been done, give the file layout a name and the click OK to create it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Associate the account&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The last step in the process is to link the account with the contact.&amp;#160; This is also accomplished using the Configuration -&amp;gt; Counter Party option.&amp;#160; Click on the folder called &lt;strong&gt;Contacts that receive trading activity&lt;/strong&gt; and click on the New button.&lt;/p&gt;
&lt;p&gt;Select the contact and account from the dropdowns, select the Notify options to Daily, send a CSV via FTP in the new format you just defined and click OK.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/interestedparty.jpg&quot; alt=&quot;Interested Party Definition&quot; width=&quot;413&quot; height=&quot;511&quot; /&gt;&lt;/p&gt;
&lt;p&gt;That&amp;#8217;s all there is to it.&amp;#160; Now, at end of day, the client will automatically receive a data file of trades sent via sFTP containing activity for their account.&amp;#160; Any changes to prior-reported trades will be noted within the file and the market symbols will be CQG symbols rather than the symbology you use.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Providing customized trade files to investors, clearing brokers, 3rd party administrators, and others can be a daunting task for a CTA with managed accounts.&amp;#160; For users of TheBooks, providing these types of files, customized to each recipient, is accomplished using a few, simple, configuration tasks.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>One aspect of&#160;trading&#160;managed accounts which can cause a CTA endless headaches is the production of end of day trade files to the various administrators and back offices that are associated with the accounts.</p>
<p>Each organization has their own &#8220;standard&#8221; file layout and unique requirements for both the file and how the information is to be transmitted.&#160; Add to that symbology and decimal point requirements and the situation can quickly get out of hand.</p>
<p>TheBooks has a robust trade reporting facility which allows the end user to define file layouts and data transmission methods allowing the complete automation of this important operational function.</p>
<p>Here is a quick tutorial to get you started.</p>
<p><strong>The Problem</strong></p>
<p>You have just been given an allocation from a large fund of funds and they have specified that you must provide them a trade file at the end of each day that includes all trades done in their account.&#160; The file is to be sent via sFTP, use CQG symbology, and indicate trade changes from prior days by including correction, cancellation, and new indicators within the file.</p>
<p><strong>The Solution</strong></p>
<p>To set this up in TheBooks, you must do three things:</p>
<ol>
<li>Define a contact that represents the Fund of Funds and specify the sFTP information to use when sending files to the organization</li>
<li>Define the file layout for the file to be sent</li>
<li>Associate the account(s) in TheBooks to the contact specifying the file layout defined in step two and indicating the frequency the data is to be sent.</li>
</ol>
<p><strong>Define the contact</strong></p>
<p>Contacts are defined using the Configuration -&gt; Counter Parties option.&#160; From there, you add a new contact, then using the FTP tab on the contact property sheet, define the sFTP information as shown below:</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/contact_ftp.JPG" alt="sFTP properties" width="446" height="530" /></p>
<p><strong>Configure the file</strong></p>
<p>File layouts are also configured using the Configuration -&gt; Counter Party option.&#160; Clicking on the <strong>Outbound Data Formats</strong> folder on the left portion of the window displays a list of available formats.&#160; We will be defining a new format, but to make things easy, we&#8217;ll start with an existing one as a model.</p>
<p>Selecting the item called &#8220;Default Activity Summary Format&#8221; and clicking on the Clone button on the toolbar causes TheBooks to create a new file layout using the selected layout as a model:</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/newdataformat.JPG" alt="Custom Data Format" width="454" height="662" /></p>
<p>Given the requirements for the file, a few changes to the default settings are required:</p>
<ul>
<li>Both the Action and AllocationRowID columns should be added to the file layout.&#160; This is done by selecting the columns in the left hand list of columns and clicking the include button.</li>
<li>CQG should be selected in the <strong>Translate Market Symbols using this source</strong> combo box.</li>
<li>The TranslatedMarketSymbol column should be added to the file because this is the name of the column that contains the CQG version of your market symbol.</li>
</ul>
<p>The Action column causes TheBooks to generate CANCEL/CORRECT/NEW items in the file enabling trade changes to be reflected in the file and the AllocationRowID column provides a unique number that the receiver of the file can use to associate changes to the trades.</p>
<p>Once this has been done, give the file layout a name and the click OK to create it.</p>
<p><strong>Associate the account</strong></p>
<p>The last step in the process is to link the account with the contact.&#160; This is also accomplished using the Configuration -&gt; Counter Party option.&#160; Click on the folder called <strong>Contacts that receive trading activity</strong> and click on the New button.</p>
<p>Select the contact and account from the dropdowns, select the Notify options to Daily, send a CSV via FTP in the new format you just defined and click OK.</p>
<p>&#160;<img src="http://blogs.dmaxx.com/media/blogs/TheBooks/interestedparty.jpg" alt="Interested Party Definition" width="413" height="511" /></p>
<p>That&#8217;s all there is to it.&#160; Now, at end of day, the client will automatically receive a data file of trades sent via sFTP containing activity for their account.&#160; Any changes to prior-reported trades will be noted within the file and the market symbols will be CQG symbols rather than the symbology you use.</p>
<p><strong>Summary</strong></p>
<p>Providing customized trade files to investors, clearing brokers, 3rd party administrators, and others can be a daunting task for a CTA with managed accounts.&#160; For users of TheBooks, providing these types of files, customized to each recipient, is accomplished using a few, simple, configuration tasks.</p>]]></content:encoded>
								<comments>http://blogs.dmaxx.com/index.php/2010/06/09/customized-trade-files?blog=4#comments</comments>
			<wfw:commentRss>http://blogs.dmaxx.com/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=46</wfw:commentRss>
		</item>
				<item>
			<title>Using Excel to access TheBooks data</title>
			<link>http://blogs.dmaxx.com/index.php/2010/05/07/using-excel-to-access-thebooks-data?blog=4</link>
			<pubDate>Fri, 07 May 2010 15:29:33 +0000</pubDate>			<dc:creator>Dana Comolli</dc:creator>
			<category domain="alt">Futures Trading</category>
<category domain="alt">Backoffice</category>
<category domain="alt">Marketing</category>
<category domain="main">Data Access</category>			<guid isPermaLink="false">43@http://blogs.dmaxx.com/</guid>
						<description>&lt;p&gt;TheBooks automatically summarizes a wide range of trading and performance data in formats that are easily accessible to users of common office application such as Microsoft Access and Excel. TheBooks comes with a number of examples of how to access this data using its programming interface.&lt;/p&gt;
&lt;p&gt;In this topic, I will show you how to use Excel to access data from TheBooks without any programming at all.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Microsoft Excel has the ability to retrieve data directly from SQL Server databases without the need for any programming.  TheBooks uses SQL Server as its database and maintains a number of what are known as &lt;em&gt;Views &lt;/em&gt;which contain summarized data for use by other applications.  Examples of the types of data available from these views are 13-column performance data and performance attribution by instrument.&lt;/p&gt;
&lt;p&gt;The process you follow to retrieve data from TheBooks&amp;#8217; database into Excel is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Define a Data Source which tells Excel where the data is located&lt;/li&gt;
&lt;li&gt;Define a Query which tells Excel what data to retrieve&lt;/li&gt;
&lt;li&gt;Define what to do with the data once you have retrieved it&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The example shown below uses Excel from Office 2007.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Define a Data Source&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A data source provides a link to TheBooks database.  Once you have defined a data source, you can use it for multiple queries. &lt;/p&gt;
&lt;p&gt;First, select the Data tab and select &lt;em&gt;&lt;strong&gt;From Microsoft Query &lt;/strong&gt;&lt;/em&gt;from the &lt;em&gt;&lt;strong&gt;From Other Sources&lt;/strong&gt;&lt;/em&gt; option.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/importprompt.jpg&quot; alt=&quot;Begin defining a database&quot; /&gt;&lt;/p&gt;
&lt;p&gt;If this is the first time you are defining a query, you will need to create the data source.  In the future, you can skip the next few steps and select the data source you previously created.  Since this is the first time, we will choose to create a new data source.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/choosedatasource.jpg&quot; alt=&quot;Create a new data source&quot; /&gt;&lt;/p&gt;
&lt;p&gt;By clicking on OK, the SQL Server logon dialog is displayed.  Clicking on the Options&amp;gt; button will expand the window and show the dialog below.  In this example, the server is called &lt;strong&gt;g2\sql2005_x32&lt;/strong&gt; and TheBooks database is called &lt;strong&gt;Demo&lt;/strong&gt;.  Your server name will most likely be different and your database will probably be called TheBooks.  I have selected to use Trusted Connections which means that my windows logon will be used to access the database.  You may have to specify a username and password if your IT organization requires.  See them for details.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/SQLServerLogin.JPG&quot; alt=&quot;SQL Server Login dialog&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Clicking OK will save the definition and open the dialog shown below.  You should give the data source an easily understandable name so you can reference it later.  You should select the &lt;strong&gt;SQL Server Native Client 10.0 driver&lt;/strong&gt; from the list of database drivers.  Finally, select the default table for the data source.  In our example, I am choosing the view that returns trading returns by instrument, converted to USD.  For detailed descriptions of available view, see TheBooks documentation.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/CreateNewDataSource.JPG&quot; alt=&quot;Create new data source&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Now that the data source has been created, you can select it for use in the query to return data.  Remember, if you have already created a data source, you do not have to do it again; skip the previous steps and simply select the data source you previously created to begin the definition of the query.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/SelectDataSource.JPG&quot; alt=&quot;Select the data source&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Define your Query&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You start building your query by indicating the types of database objects you want to work with.  You should always select only Views since TheBooks pre-defines these for the most common types of data you would want to report on.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/TableOptions.JPG&quot; alt=&quot;Table Options&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Clicking on OK brings up the Query Wizard.  Scroll the list of available tables and columns to select the view you want to work with.  Then, add the columns you want to return to Excel.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/ChooseColumns_1.JPG&quot; alt=&quot;Query Wizard - Choose Columns&quot; width=&quot;451&quot; height=&quot;260&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Once you have selected the columns you want to include, click on Next&amp;gt;.  This brings you to the filter options.  These options allow you to filter the data that is returned.  In this example, I am restricting the data returned to only that for 2009.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/filterdata.jpg&quot; alt=&quot;Query Wizard - Filter Data&quot; width=&quot;451&quot; height=&quot;260&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Clicking on Next&amp;gt; brings up the sort order options.  This controls how the data is returned to Excel.  You can select as many columns as you like and specify the sort order for each.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/SortOrder.jpg&quot; alt=&quot;Query Wizard - Sort Order&quot; width=&quot;451&quot; height=&quot;260&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Clicking Next&amp;gt; brings you to the Save Query dialog.  This allows you to save the query you just build for use later.  This is useful if you want to retrieve the same data and use it for another report or chart.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/SaveQuery.jpg&quot; alt=&quot;Query Wizard - Choose Columns&quot; width=&quot;442&quot; height=&quot;324&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Working with the Data&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Now that you have defined the query, you now must decide what to have Excel do with the data that is returned.  In our example, I am going create a &lt;a title=&quot;Pivot table explained&quot; href=&quot;http://en.wikipedia.org/wiki/Pivot_table&quot; target=&quot;_blank&quot;&gt;pivot table&lt;/a&gt; and also include a chart of the data.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/ImportData.jpg&quot; alt=&quot;Query Wizard - Choose Columns&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Clicking on OK causes Excel to retrieve the data and insert it into your spreadsheet.  If you are accessing a large amount of data, this may take some time.  Excel provides an indication of its progress in the lower right of the window by showing how many records have been processed.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/ReadingData.jpg&quot; alt=&quot;Excel data loading progress&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Since I selected a pivot table, Excel displays the pivot table designer once the data has been retrieved.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/BlankPivotTable.JPG&quot; alt=&quot;Pivot Table Designer&quot; width=&quot;414&quot; height=&quot;462&quot; /&gt;&lt;/p&gt;
&lt;p&gt;To add columns to the pivot table, simply select them from the list on the right.  Excel does a good job of deciding if the column should be a value or a row label but you can drag them to where you want them for your report in the lower right section of the screen.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/PivotTable.JPG&quot; alt=&quot;Pivot Table&quot; width=&quot;414&quot; height=&quot;462&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The data in the table is a daily detail of instrument returns by sector.  If I want to have it summarized by month so I can easily graph it, I need to have Excel group the trade date by month.  This is done by selecting the Group option from the Option tab.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/GroupPivotTable.JPG&quot; alt=&quot;Group Pivot Table Data&quot; width=&quot;414&quot; height=&quot;462&quot; /&gt;&lt;/p&gt;
&lt;p&gt; &lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/GroupPivotTablePrompt.JPG&quot; alt=&quot;Group Pivot Table Data Prompt&quot; /&gt;&lt;/p&gt;
&lt;p&gt;This gives me the ability to group by month and expand or contract the data as I see fit.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/GroupByMonthPivotTable.JPG&quot; alt=&quot;Group By Month Pivot Table Data&quot; width=&quot;414&quot; height=&quot;462&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Because I also asked Excel to include a chart, whatever I have included in the pivot table is automatically incorporated into a chart.  The data in the chart is displayed at the same grouping and summary level as that displayed in the pivot table.  I have selected stacked bars for my chart style so I can show monthly income and show what comprises each month&amp;#8217;s income.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/PivotTableChart.JPG&quot; alt=&quot;Charted Pivot Table Data&quot; width=&quot;414&quot; height=&quot;462&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I have shown how easy it is to produce custom reports and charts from within Excel by retrieving the summary data produced by TheBooks.  This data can be brought into Excel and manipulated without any programming experience by using capabilities provided by Excel and TheBooks.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>TheBooks automatically summarizes a wide range of trading and performance data in formats that are easily accessible to users of common office application such as Microsoft Access and Excel. TheBooks comes with a number of examples of how to access this data using its programming interface.</p>
<p>In this topic, I will show you how to use Excel to access data from TheBooks without any programming at all.</p>
<p><strong>Background</strong></p>
<p>Microsoft Excel has the ability to retrieve data directly from SQL Server databases without the need for any programming.  TheBooks uses SQL Server as its database and maintains a number of what are known as <em>Views </em>which contain summarized data for use by other applications.  Examples of the types of data available from these views are 13-column performance data and performance attribution by instrument.</p>
<p>The process you follow to retrieve data from TheBooks&#8217; database into Excel is:</p>
<ol>
<li>Define a Data Source which tells Excel where the data is located</li>
<li>Define a Query which tells Excel what data to retrieve</li>
<li>Define what to do with the data once you have retrieved it</li>
</ol>
<p>The example shown below uses Excel from Office 2007.</p>
<p><strong>Define a Data Source</strong></p>
<p>A data source provides a link to TheBooks database.  Once you have defined a data source, you can use it for multiple queries. </p>
<p>First, select the Data tab and select <em><strong>From Microsoft Query </strong></em>from the <em><strong>From Other Sources</strong></em> option.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/importprompt.jpg" alt="Begin defining a database" /></p>
<p>If this is the first time you are defining a query, you will need to create the data source.  In the future, you can skip the next few steps and select the data source you previously created.  Since this is the first time, we will choose to create a new data source.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/choosedatasource.jpg" alt="Create a new data source" /></p>
<p>By clicking on OK, the SQL Server logon dialog is displayed.  Clicking on the Options&gt; button will expand the window and show the dialog below.  In this example, the server is called <strong>g2\sql2005_x32</strong> and TheBooks database is called <strong>Demo</strong>.  Your server name will most likely be different and your database will probably be called TheBooks.  I have selected to use Trusted Connections which means that my windows logon will be used to access the database.  You may have to specify a username and password if your IT organization requires.  See them for details.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/SQLServerLogin.JPG" alt="SQL Server Login dialog" /></p>
<p>Clicking OK will save the definition and open the dialog shown below.  You should give the data source an easily understandable name so you can reference it later.  You should select the <strong>SQL Server Native Client 10.0 driver</strong> from the list of database drivers.  Finally, select the default table for the data source.  In our example, I am choosing the view that returns trading returns by instrument, converted to USD.  For detailed descriptions of available view, see TheBooks documentation.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/CreateNewDataSource.JPG" alt="Create new data source" /></p>
<p>Now that the data source has been created, you can select it for use in the query to return data.  Remember, if you have already created a data source, you do not have to do it again; skip the previous steps and simply select the data source you previously created to begin the definition of the query.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/SelectDataSource.JPG" alt="Select the data source" /></p>
<p><strong>Define your Query</strong></p>
<p>You start building your query by indicating the types of database objects you want to work with.  You should always select only Views since TheBooks pre-defines these for the most common types of data you would want to report on.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/TableOptions.JPG" alt="Table Options" /></p>
<p>Clicking on OK brings up the Query Wizard.  Scroll the list of available tables and columns to select the view you want to work with.  Then, add the columns you want to return to Excel.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/ChooseColumns_1.JPG" alt="Query Wizard - Choose Columns" width="451" height="260" /></p>
<p>Once you have selected the columns you want to include, click on Next&gt;.  This brings you to the filter options.  These options allow you to filter the data that is returned.  In this example, I am restricting the data returned to only that for 2009.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/filterdata.jpg" alt="Query Wizard - Filter Data" width="451" height="260" /></p>
<p>Clicking on Next&gt; brings up the sort order options.  This controls how the data is returned to Excel.  You can select as many columns as you like and specify the sort order for each.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/SortOrder.jpg" alt="Query Wizard - Sort Order" width="451" height="260" /></p>
<p>Clicking Next&gt; brings you to the Save Query dialog.  This allows you to save the query you just build for use later.  This is useful if you want to retrieve the same data and use it for another report or chart.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/SaveQuery.jpg" alt="Query Wizard - Choose Columns" width="442" height="324" /></p>
<p><strong>Working with the Data</strong></p>
<p>Now that you have defined the query, you now must decide what to have Excel do with the data that is returned.  In our example, I am going create a <a title="Pivot table explained" href="http://en.wikipedia.org/wiki/Pivot_table" target="_blank">pivot table</a> and also include a chart of the data.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/ImportData.jpg" alt="Query Wizard - Choose Columns" /></p>
<p>Clicking on OK causes Excel to retrieve the data and insert it into your spreadsheet.  If you are accessing a large amount of data, this may take some time.  Excel provides an indication of its progress in the lower right of the window by showing how many records have been processed.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/ReadingData.jpg" alt="Excel data loading progress" /></p>
<p>Since I selected a pivot table, Excel displays the pivot table designer once the data has been retrieved.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/BlankPivotTable.JPG" alt="Pivot Table Designer" width="414" height="462" /></p>
<p>To add columns to the pivot table, simply select them from the list on the right.  Excel does a good job of deciding if the column should be a value or a row label but you can drag them to where you want them for your report in the lower right section of the screen.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/PivotTable.JPG" alt="Pivot Table" width="414" height="462" /></p>
<p>The data in the table is a daily detail of instrument returns by sector.  If I want to have it summarized by month so I can easily graph it, I need to have Excel group the trade date by month.  This is done by selecting the Group option from the Option tab.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/GroupPivotTable.JPG" alt="Group Pivot Table Data" width="414" height="462" /></p>
<p> <img src="http://blogs.dmaxx.com/media/blogs/TheBooks/GroupPivotTablePrompt.JPG" alt="Group Pivot Table Data Prompt" /></p>
<p>This gives me the ability to group by month and expand or contract the data as I see fit.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/GroupByMonthPivotTable.JPG" alt="Group By Month Pivot Table Data" width="414" height="462" /></p>
<p>Because I also asked Excel to include a chart, whatever I have included in the pivot table is automatically incorporated into a chart.  The data in the chart is displayed at the same grouping and summary level as that displayed in the pivot table.  I have selected stacked bars for my chart style so I can show monthly income and show what comprises each month&#8217;s income.</p>
<p><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/PivotTableChart.JPG" alt="Charted Pivot Table Data" width="414" height="462" /></p>
<p><strong>Summary</strong></p>
<p>I have shown how easy it is to produce custom reports and charts from within Excel by retrieving the summary data produced by TheBooks.  This data can be brought into Excel and manipulated without any programming experience by using capabilities provided by Excel and TheBooks.</p>]]></content:encoded>
								<comments>http://blogs.dmaxx.com/index.php/2010/05/07/using-excel-to-access-thebooks-data?blog=4#comments</comments>
			<wfw:commentRss>http://blogs.dmaxx.com/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=43</wfw:commentRss>
		</item>
				<item>
			<title>Tear Sheets made easy</title>
			<link>http://blogs.dmaxx.com/index.php/2010/05/03/tear-sheets-made-easy?blog=4</link>
			<pubDate>Mon, 03 May 2010 14:30:13 +0000</pubDate>			<dc:creator>Dana Comolli</dc:creator>
			<category domain="alt">Futures Trading</category>
<category domain="alt">Backoffice</category>
<category domain="main">Marketing</category>			<guid isPermaLink="false">42@http://blogs.dmaxx.com/</guid>
						<description>&lt;p&gt;All advisors create a monthly Tear Sheet describing their program, its performance in the prior month, as well as the performance since inception.&amp;#160; The document also includes a number of statistics and typically contains comparisons of the advisor&amp;#8217;s program with one or more benchmarks.&lt;/p&gt;
&lt;p&gt;Many advisors find the development of these documents tedious at best and the thought of producing them in the first week of the month unthinkable.&lt;/p&gt;
&lt;p&gt;For users of TheBooks, the process is fully automated since TheBooks includes a monthly summary&amp;#160;template which automates the production of this critical piece of marketing documentation.&amp;#160; Because the data comes directly from TheBooks, the document can be produced as early in the month as desired.&lt;/p&gt;
&lt;p&gt;&lt;a title=&quot;CTA Monthly Summary Tear Sheet&quot; href=&quot;http://www.dmaxx.com/thebooks/ctamonthlysummary.htm&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/ctamonthlysummary.jpg&quot; alt=&quot;CTA Monthly Summary Tear Sheer&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The author of the tear sheet works in the familiar Microsoft Word environment and has a wide range of document parts to work with. Since the tool is Word, document layout, fonts, colors, and chart appearance are all under the control of the author. TheBooks simply fills in the data as required.&lt;/p&gt;
&lt;p&gt;The template provides the following document parts for the author to include in the document:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sector Returns Chart&lt;/li&gt;
&lt;li&gt;Program Statistics Table&lt;/li&gt;
&lt;li&gt;Monthly Performance Table&lt;/li&gt;
&lt;li&gt;VAMI/Assets Chart&lt;/li&gt;
&lt;li&gt;Returns Distribution Chart&lt;/li&gt;
&lt;li&gt;Benchmark Comparison Chart&lt;/li&gt;
&lt;li&gt;Monthly Performance Comparison Chart&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Where do the benchmarks come from?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;TheBooks includes the eight industry-wide &lt;a href=&quot;http://www.barclayhedge.com/&quot;&gt;Barclay indices&lt;/a&gt; and allows you to include user-defined benchmarks. User-defined benchmarks are defined within TheBooks using the &lt;a title=&quot;TheBooks Data Manager&quot; href=&quot;http://www.dmaxx.com/thebooks/datamanager.htm&quot; target=&quot;_blank&quot;&gt;Data Manager&lt;/a&gt;. Once defined, TheBooks automatically obtains the data and makes it available for reporting and comparison purposes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As a CTA, you must create a program tear sheet on a monthly basis.&amp;#160; For users of TheBooks, the process of creating this important piece of marketing material is greatly simplified through the use of provided templates, the immediate access to performance data, and the availability of standard and CTA-specific benchmarks.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>All advisors create a monthly Tear Sheet describing their program, its performance in the prior month, as well as the performance since inception.&#160; The document also includes a number of statistics and typically contains comparisons of the advisor&#8217;s program with one or more benchmarks.</p>
<p>Many advisors find the development of these documents tedious at best and the thought of producing them in the first week of the month unthinkable.</p>
<p>For users of TheBooks, the process is fully automated since TheBooks includes a monthly summary&#160;template which automates the production of this critical piece of marketing documentation.&#160; Because the data comes directly from TheBooks, the document can be produced as early in the month as desired.</p>
<p><a title="CTA Monthly Summary Tear Sheet" href="http://www.dmaxx.com/thebooks/ctamonthlysummary.htm" target="_blank"><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/ctamonthlysummary.jpg" alt="CTA Monthly Summary Tear Sheer" /></a></p>
<p>The author of the tear sheet works in the familiar Microsoft Word environment and has a wide range of document parts to work with. Since the tool is Word, document layout, fonts, colors, and chart appearance are all under the control of the author. TheBooks simply fills in the data as required.</p>
<p>The template provides the following document parts for the author to include in the document:</p>
<ul>
<li>Sector Returns Chart</li>
<li>Program Statistics Table</li>
<li>Monthly Performance Table</li>
<li>VAMI/Assets Chart</li>
<li>Returns Distribution Chart</li>
<li>Benchmark Comparison Chart</li>
<li>Monthly Performance Comparison Chart</li>
</ul>
<p><strong>Where do the benchmarks come from?</strong></p>
<p>TheBooks includes the eight industry-wide <a href="http://www.barclayhedge.com/">Barclay indices</a> and allows you to include user-defined benchmarks. User-defined benchmarks are defined within TheBooks using the <a title="TheBooks Data Manager" href="http://www.dmaxx.com/thebooks/datamanager.htm" target="_blank">Data Manager</a>. Once defined, TheBooks automatically obtains the data and makes it available for reporting and comparison purposes.</p>
<p><strong>Summary</strong></p>
<p>As a CTA, you must create a program tear sheet on a monthly basis.&#160; For users of TheBooks, the process of creating this important piece of marketing material is greatly simplified through the use of provided templates, the immediate access to performance data, and the availability of standard and CTA-specific benchmarks.</p>]]></content:encoded>
								<comments>http://blogs.dmaxx.com/index.php/2010/05/03/tear-sheets-made-easy?blog=4#comments</comments>
			<wfw:commentRss>http://blogs.dmaxx.com/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=42</wfw:commentRss>
		</item>
				<item>
			<title>APS was supposed to make things easier</title>
			<link>http://blogs.dmaxx.com/index.php/2010/03/16/aps-was-supposed-to-make-things-easier?blog=4</link>
			<pubDate>Tue, 16 Mar 2010 20:36:46 +0000</pubDate>			<dc:creator>Dana Comolli</dc:creator>
			<category domain="alt">Reconciliation</category>
<category domain="alt">Accounting</category>
<category domain="main">Futures Trading</category>			<guid isPermaLink="false">41@http://blogs.dmaxx.com/</guid>
						<description>&lt;p&gt;When the Clearing Corporation developed the Average Price System (APS) approach to handling mixed fills, its purpose was to make it easier for traders to allocate their trades across multiple accounts. Unfortunately, policy changes at some FCMs have changed all that.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Clearing Corporation developed the APS system in June of 1992 as a way of making the execution process more efficient. Then in 1994, they introduced APS &amp;#8220;Plus Five,&amp;#8221; creating a consistent, industry-wide standard for calculating and processing average price trades for clearing and bookkeeping systems.&lt;/p&gt;
&lt;p&gt;This method involves rounding the weighted average fill price to the nearest tradable price (up on a buy and down on a sell.)&amp;#160; Each account is filled at that rounded price and then given an &amp;#8220;APS Adjustment&amp;#8221; in the form of a cash credit to make up for the slightly worse than average price each account receives.&lt;/p&gt;
&lt;p&gt;This has been the norm for APSed orders until late 2009 when some brokers started clearing the trades at the numerical average price and dispensing with the APS adjustment. This provides the clearing firm one primary benefit, no need to provide cash adjustments.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The issue for Traders&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The result of this change is a situation that rivals the complexity the APS system was designed to solve.&lt;/p&gt;
&lt;p&gt;Where once every account got filled at the same price, now accounts get filled based on where they clear.&amp;#160;&amp;#160;If a block trade includes accounts that clear at brokers that pick up the trade at the rounded (APS) price and accounts that clear at brokers that pick up the trade at the numerical average price, accounts get different fill prices even though the trade was APSed.&lt;/p&gt;
&lt;p&gt;When reporting give-up&amp;#8217;s and trade recaps, this difference based on where an account clears must be taken into account. Reconciliation is equally impacted since these changes affect trade confirmations, positions, and cash balances.&amp;#160; OTE and realized gains for two accounts that trade identically are now a function of where they clear.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How TheBooks can Help&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;TheBooks includes the ability to indicate that a clearing broker either does or does not pick up APS trades at the rounded price with APS adjustments. When block trades are APSed, those accounts that clear at FCMs that pick up the rounded price get filled at the rounded price and are given a cash adjustments, those accounts that clear at FCMs that pick up the trade at the numerical average get filled at that price without cash adjustments.&lt;/p&gt;
&lt;p&gt;Counter-party notifications, allocation files, and other trade-related notifications automatically incorporate the appropriate price formats. Reconciliation understands these changes and the precision used by each broker for numerical average prices can be configured to work around any variances that exist in FCM back office systems.&lt;/p&gt;
&lt;p&gt;Of course, since TheBooks incorporates multiple price allocation methods for fairly and consistently allocating multiple fill prices accross the accounts that make up a block trade, perhaps the easiest approach is to dispense with the APSing of trades altogether.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>When the Clearing Corporation developed the Average Price System (APS) approach to handling mixed fills, its purpose was to make it easier for traders to allocate their trades across multiple accounts. Unfortunately, policy changes at some FCMs have changed all that.</p>
<p><strong>Background</strong></p>
<p>The Clearing Corporation developed the APS system in June of 1992 as a way of making the execution process more efficient. Then in 1994, they introduced APS &#8220;Plus Five,&#8221; creating a consistent, industry-wide standard for calculating and processing average price trades for clearing and bookkeeping systems.</p>
<p>This method involves rounding the weighted average fill price to the nearest tradable price (up on a buy and down on a sell.)&#160; Each account is filled at that rounded price and then given an &#8220;APS Adjustment&#8221; in the form of a cash credit to make up for the slightly worse than average price each account receives.</p>
<p>This has been the norm for APSed orders until late 2009 when some brokers started clearing the trades at the numerical average price and dispensing with the APS adjustment. This provides the clearing firm one primary benefit, no need to provide cash adjustments.</p>
<p><strong>The issue for Traders</strong></p>
<p>The result of this change is a situation that rivals the complexity the APS system was designed to solve.</p>
<p>Where once every account got filled at the same price, now accounts get filled based on where they clear.&#160;&#160;If a block trade includes accounts that clear at brokers that pick up the trade at the rounded (APS) price and accounts that clear at brokers that pick up the trade at the numerical average price, accounts get different fill prices even though the trade was APSed.</p>
<p>When reporting give-up&#8217;s and trade recaps, this difference based on where an account clears must be taken into account. Reconciliation is equally impacted since these changes affect trade confirmations, positions, and cash balances.&#160; OTE and realized gains for two accounts that trade identically are now a function of where they clear.</p>
<p><strong>How TheBooks can Help<br /></strong></p>
<p>TheBooks includes the ability to indicate that a clearing broker either does or does not pick up APS trades at the rounded price with APS adjustments. When block trades are APSed, those accounts that clear at FCMs that pick up the rounded price get filled at the rounded price and are given a cash adjustments, those accounts that clear at FCMs that pick up the trade at the numerical average get filled at that price without cash adjustments.</p>
<p>Counter-party notifications, allocation files, and other trade-related notifications automatically incorporate the appropriate price formats. Reconciliation understands these changes and the precision used by each broker for numerical average prices can be configured to work around any variances that exist in FCM back office systems.</p>
<p>Of course, since TheBooks incorporates multiple price allocation methods for fairly and consistently allocating multiple fill prices accross the accounts that make up a block trade, perhaps the easiest approach is to dispense with the APSing of trades altogether.</p>]]></content:encoded>
								<comments>http://blogs.dmaxx.com/index.php/2010/03/16/aps-was-supposed-to-make-things-easier?blog=4#comments</comments>
			<wfw:commentRss>http://blogs.dmaxx.com/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=41</wfw:commentRss>
		</item>
				<item>
			<title>FIX Drop copy in TheBooks</title>
			<link>http://blogs.dmaxx.com/index.php/2009/12/29/fix-drop-copy-in-thebooks?blog=4</link>
			<pubDate>Tue, 29 Dec 2009 20:04:48 +0000</pubDate>			<dc:creator>Dana Comolli</dc:creator>
			<category domain="alt">Accounting</category>
<category domain="main">Futures Trading</category>			<guid isPermaLink="false">38@http://blogs.dmaxx.com/</guid>
						<description>&lt;p&gt;Imagine walking up to a trading screen (any broker or vendor&amp;#8217;s trading screen), entering a trade and when the trade is filled, having the fills automatically show up in TheBooks.  That is what FIX Drop copy in TheBooks provides.  &lt;/p&gt;

&lt;p&gt;FIX stands for Financial Information eXchange (FIX) Protocol and is a messaging standard developed specifically for the real-time electronic exchange of securities transactions and is supported by most trading partners.  TheBooks supports both versions 4.2 or 4.4 of the protocol and several vendor-specific variations of these versions.&lt;/p&gt;

&lt;p&gt;Let&amp;#8217;s examine one application of this capability and how it can streamline the operation of a CTA or hedge fund with managed accounts:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;br /&gt;
Our hypothetical advisor has both discretionary and systematic trading components in their programs and have a fund as well as several managed accounts.  They execute trades through multiple platforms through multiple brokers and have clearing relationships with three separate firms.  They trade most or the major liquid global futures markets as well as some options and equities.&lt;/p&gt;

&lt;p&gt;Each trading partner requires trade allocation information to be transmitted to them via an sFTP file transfer in their own specific format as soon as the trade has been filed.  Each of the claring firms require an end of day file with trades they should expect from the various executing parties, and several 3rd party administrators as well as investors also require a daily recap of trades done in their accounts either sent via email or sFTP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System Configuration&lt;/strong&gt;&lt;br /&gt;
The diagram below provides a high-level view of how the advisor is configured to communicate with the firm&amp;#8217;s various trading partners:&lt;/p&gt;
&lt;div class=&quot;image_block&quot;&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/fix_1.jpg&quot; /&gt;&lt;/div&gt;
&lt;p&gt;The FIX interfaces are implemented as point-to-point, always up connections over VPNs.  The sFTP and email connections use the internet and are used as needed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Trading Operations&lt;/strong&gt;&lt;br /&gt;
Discretionary traders trade through multiple platforms such as TT&amp;#8217;s X_TRADER and Goldman Sac&amp;#8217;s Redi+.  System-generated trades are placed into the market through the programming interface of a popular trading platform.&lt;/p&gt;

&lt;p&gt;As trading occurs, fills, regardless of source, are automatically routed to TheBooks via the FIX connections.  Fills for each ticket are consolidated into trades within TheBooks and are booked to what is known as a holding account.&lt;/p&gt;

&lt;p&gt;This is done because as orders are worked, the ticket number for a trade typically changes as the limit is moved.  This is a function of the execution platform, but the behavior is pretty standard across platforms.  The result is that multiple tickets could really be part of a single trade.  By having the trades booked to a holding account, the advisor can select multiple tickets that are to allocated to a block of accounts as a single trade.&lt;/p&gt;

&lt;p&gt;For platforms that do not generate new ticket numbers as the trade is worked, TheBooks could be configured to automatically assign the trades to a pre-selected block of accounts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Post Trade Allocation&lt;/strong&gt;&lt;br /&gt;
After a logical trade has been completed, the trader or back office personnel select the ticket(s) which make up the logical trade and associate them with the group of accounts which are to be allocated to the trade.  As an option, the trade can be associated with one or more strategy (or system) to allow tracking of virtual positions and performance by strategy.&lt;/p&gt;
&lt;div class=&quot;image_block&quot;&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/fix_2.jpg&quot; /&gt;&lt;/div&gt;&lt;p&gt; &lt;br /&gt;
Contract quantities are automatically assigned based on the each account&amp;#8217;s relative trading size and once saved, quantities and fill prices are allocated to the accounts.&lt;/p&gt;

&lt;p&gt;If the advisor wanted to work up trades in advance of execution (using TheBooks ability to combine trades from multiple systems/strategies, for example), the assignment of the ticket to the block of accounts can also be done by simply selecting an existing trade rather than specifying a group of accounts.  In that case, the fills from the tickets are &amp;#8220;pushed&amp;#8221; into the existing trade.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Counter-Party Notification&lt;/strong&gt;&lt;br /&gt;
Once the block order has been allocated, TheBooks automatically sends allocation information to those 3rd parties configured to receive it.  In the case of the executing broker, this is typically done immediately.  In the case of clearing brokers, administrators, and investors, this data is typically sent at the end of the day.&lt;/p&gt;

&lt;p&gt;In all cases, the advisor is able to configure the format of the file, including symbology to be used and the transmission method (email, FTP, sFTP, etc) and whether the information is to be sent at trade completion, at end of day, or both.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;br /&gt;
By using TheBooks FIX drop copy interfaces in conjunction with its order management capabilities, this advisor easily implemented a diverse portfolio of trading strategies and execution platforms across multiple managed accounts with a minimum of manual effort.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>Imagine walking up to a trading screen (any broker or vendor&#8217;s trading screen), entering a trade and when the trade is filled, having the fills automatically show up in TheBooks.  That is what FIX Drop copy in TheBooks provides.  </p>

<p>FIX stands for Financial Information eXchange (FIX) Protocol and is a messaging standard developed specifically for the real-time electronic exchange of securities transactions and is supported by most trading partners.  TheBooks supports both versions 4.2 or 4.4 of the protocol and several vendor-specific variations of these versions.</p>

<p>Let&#8217;s examine one application of this capability and how it can streamline the operation of a CTA or hedge fund with managed accounts:</p>

<p><strong>Background</strong><br />
Our hypothetical advisor has both discretionary and systematic trading components in their programs and have a fund as well as several managed accounts.  They execute trades through multiple platforms through multiple brokers and have clearing relationships with three separate firms.  They trade most or the major liquid global futures markets as well as some options and equities.</p>

<p>Each trading partner requires trade allocation information to be transmitted to them via an sFTP file transfer in their own specific format as soon as the trade has been filed.  Each of the claring firms require an end of day file with trades they should expect from the various executing parties, and several 3rd party administrators as well as investors also require a daily recap of trades done in their accounts either sent via email or sFTP.</p>

<p><strong>System Configuration</strong><br />
The diagram below provides a high-level view of how the advisor is configured to communicate with the firm&#8217;s various trading partners:</p>
<div class="image_block"><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/fix_1.jpg" /></div>
<p>The FIX interfaces are implemented as point-to-point, always up connections over VPNs.  The sFTP and email connections use the internet and are used as needed.</p>

<p><strong>Trading Operations</strong><br />
Discretionary traders trade through multiple platforms such as TT&#8217;s X_TRADER and Goldman Sac&#8217;s Redi+.  System-generated trades are placed into the market through the programming interface of a popular trading platform.</p>

<p>As trading occurs, fills, regardless of source, are automatically routed to TheBooks via the FIX connections.  Fills for each ticket are consolidated into trades within TheBooks and are booked to what is known as a holding account.</p>

<p>This is done because as orders are worked, the ticket number for a trade typically changes as the limit is moved.  This is a function of the execution platform, but the behavior is pretty standard across platforms.  The result is that multiple tickets could really be part of a single trade.  By having the trades booked to a holding account, the advisor can select multiple tickets that are to allocated to a block of accounts as a single trade.</p>

<p>For platforms that do not generate new ticket numbers as the trade is worked, TheBooks could be configured to automatically assign the trades to a pre-selected block of accounts.</p>

<p><strong>Post Trade Allocation</strong><br />
After a logical trade has been completed, the trader or back office personnel select the ticket(s) which make up the logical trade and associate them with the group of accounts which are to be allocated to the trade.  As an option, the trade can be associated with one or more strategy (or system) to allow tracking of virtual positions and performance by strategy.</p>
<div class="image_block"><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/fix_2.jpg" /></div><p> <br />
Contract quantities are automatically assigned based on the each account&#8217;s relative trading size and once saved, quantities and fill prices are allocated to the accounts.</p>

<p>If the advisor wanted to work up trades in advance of execution (using TheBooks ability to combine trades from multiple systems/strategies, for example), the assignment of the ticket to the block of accounts can also be done by simply selecting an existing trade rather than specifying a group of accounts.  In that case, the fills from the tickets are &#8220;pushed&#8221; into the existing trade.</p>

<p><strong>Counter-Party Notification</strong><br />
Once the block order has been allocated, TheBooks automatically sends allocation information to those 3rd parties configured to receive it.  In the case of the executing broker, this is typically done immediately.  In the case of clearing brokers, administrators, and investors, this data is typically sent at the end of the day.</p>

<p>In all cases, the advisor is able to configure the format of the file, including symbology to be used and the transmission method (email, FTP, sFTP, etc) and whether the information is to be sent at trade completion, at end of day, or both.</p>

<p><strong>Summary</strong><br />
By using TheBooks FIX drop copy interfaces in conjunction with its order management capabilities, this advisor easily implemented a diverse portfolio of trading strategies and execution platforms across multiple managed accounts with a minimum of manual effort.</p>]]></content:encoded>
								<comments>http://blogs.dmaxx.com/index.php/2009/12/29/fix-drop-copy-in-thebooks?blog=4#comments</comments>
			<wfw:commentRss>http://blogs.dmaxx.com/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=38</wfw:commentRss>
		</item>
				<item>
			<title>Painless reconciliation</title>
			<link>http://blogs.dmaxx.com/index.php/2008/10/19/painless-reconciliation?blog=4</link>
			<pubDate>Sun, 19 Oct 2008 14:02:03 +0000</pubDate>			<dc:creator>Dana Comolli</dc:creator>
			<category domain="main">Reconciliation</category>
<category domain="alt">Accounting</category>
<category domain="alt">Futures Trading</category>			<guid isPermaLink="false">29@http://blogs.dmaxx.com/</guid>
						<description>&lt;p&gt;Any CTA with managed accounts knows that one of the most time-consuming aspects of the job is reconciling your books and records with those of your clearing brokers.  This becomes an especially arduous task when you have clearing relationships with multiple brokers.  It seems that no two brokers have the same statement format, use the same symbology, or adhere to a consistent price convention.&lt;/p&gt;

&lt;p&gt;What makes things even more frustrating is that most of the effort is spent reviewing trades that are correct in order to locate the ones that are wrong.&lt;/p&gt;

&lt;p&gt;TheBooks reconciler automates this process and presents you with the trades, positions, and balances that do not agree, eliminating the tedious process of manually locating discrepancies.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Statements, not data files&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;TheBooks reconciler reads human-readable statements, not data files.  This allows you and the software to use the same source when reviewing the information provided by your brokers.&lt;/p&gt;
&lt;p&gt;In addition, TheBooks automatically organizes, encrypts, and compresses your statements and saves them within its database providing a single point for backup.  It also includes facilities for exporting your statements onto disk in an organized fashion allowing you easily prepare for audits.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A three step approach to data extraction&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;TheBooks reconciler goes through three phases in preparing the data on a broker&amp;#8217;s statement for use in the reconciliation process.  These steps are outlined below:&lt;/p&gt;
&lt;div class=&quot;image_block&quot;&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/reconcilephases.jpg&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;441&quot; height=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;p&gt;The third step, validation, is what converts the data from the various standards that exist on broker statements into the standard you have defined in TheBooks.  This step uses what are known as statement symbols to translate and, if required, re-value symbols and prices and is based on the settings you configure.  In this way, TheBooks performs standards-independent data transactions from the broker statements into the format you desire. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Only the issues&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When you ask the reconciler to look for differences, it only shows you the trades (or positions, or balances) that are different.  You then spend your time resolving the issues; rather than looking for the issues.  In addition, TheBooks reconciler maintains a list of open trade breaks and includes them on any break sheet you send to your broker.&lt;/p&gt;
&lt;p&gt;As missed or extra trades are corrected on your statements, they are automatically removed from the list of open breaks.  Price corrections are also detected and reported.&lt;/p&gt;
&lt;div class=&quot;image_block&quot;&gt;&lt;img src=&quot;http://blogs.dmaxx.com/media/blogs/TheBooks/confirmbreaksheet_small.jpg&quot; alt=&quot;Sample confirm breaksheet&quot; title=&quot;Sample confirm breaksheet&quot; width=&quot;392&quot; height=&quot;404&quot; /&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;TheBooks reconciler&amp;#8217;s ability to read the same statements you read, convert the symbology and price conventions to your standard, and to present you with only the issues, makes it an invaluable tool for the CTA with managed accounts.&lt;/p&gt;
&lt;p&gt;For more information, see &lt;a href=&quot;http://www.dmaxx.com/thebooks/reconciliation.htm&quot;&gt;TheBooks Reconciliation at www.dmaxx.com&lt;/a&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>Any CTA with managed accounts knows that one of the most time-consuming aspects of the job is reconciling your books and records with those of your clearing brokers.  This becomes an especially arduous task when you have clearing relationships with multiple brokers.  It seems that no two brokers have the same statement format, use the same symbology, or adhere to a consistent price convention.</p>

<p>What makes things even more frustrating is that most of the effort is spent reviewing trades that are correct in order to locate the ones that are wrong.</p>

<p>TheBooks reconciler automates this process and presents you with the trades, positions, and balances that do not agree, eliminating the tedious process of manually locating discrepancies.</p>
<p><strong>Statements, not data files</strong></p>
<p>TheBooks reconciler reads human-readable statements, not data files.  This allows you and the software to use the same source when reviewing the information provided by your brokers.</p>
<p>In addition, TheBooks automatically organizes, encrypts, and compresses your statements and saves them within its database providing a single point for backup.  It also includes facilities for exporting your statements onto disk in an organized fashion allowing you easily prepare for audits.</p>
<p><strong>A three step approach to data extraction</strong></p>
<p>TheBooks reconciler goes through three phases in preparing the data on a broker&#8217;s statement for use in the reconciliation process.  These steps are outlined below:</p>
<div class="image_block"><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/reconcilephases.jpg" alt="" title="" width="441" height="575" /></div>
<p>The third step, validation, is what converts the data from the various standards that exist on broker statements into the standard you have defined in TheBooks.  This step uses what are known as statement symbols to translate and, if required, re-value symbols and prices and is based on the settings you configure.  In this way, TheBooks performs standards-independent data transactions from the broker statements into the format you desire. </p>
<p><strong>Only the issues</strong></p>
<p>When you ask the reconciler to look for differences, it only shows you the trades (or positions, or balances) that are different.  You then spend your time resolving the issues; rather than looking for the issues.  In addition, TheBooks reconciler maintains a list of open trade breaks and includes them on any break sheet you send to your broker.</p>
<p>As missed or extra trades are corrected on your statements, they are automatically removed from the list of open breaks.  Price corrections are also detected and reported.</p>
<div class="image_block"><img src="http://blogs.dmaxx.com/media/blogs/TheBooks/confirmbreaksheet_small.jpg" alt="Sample confirm breaksheet" title="Sample confirm breaksheet" width="392" height="404" /></div>
<p><strong>Summary</strong></p>
<p>TheBooks reconciler&#8217;s ability to read the same statements you read, convert the symbology and price conventions to your standard, and to present you with only the issues, makes it an invaluable tool for the CTA with managed accounts.</p>
<p>For more information, see <a href="http://www.dmaxx.com/thebooks/reconciliation.htm">TheBooks Reconciliation at www.dmaxx.com</a></p>]]></content:encoded>
								<comments>http://blogs.dmaxx.com/index.php/2008/10/19/painless-reconciliation?blog=4#comments</comments>
			<wfw:commentRss>http://blogs.dmaxx.com/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=29</wfw:commentRss>
		</item>
				<item>
			<title>Accounting from broker statements; not such a great idea</title>
			<link>http://blogs.dmaxx.com/index.php/2008/02/27/accounting-from-statements-bad-idea?blog=4</link>
			<pubDate>Wed, 27 Feb 2008 15:51:31 +0000</pubDate>			<dc:creator>Dana Comolli</dc:creator>
			<category domain="alt">Reconciliation</category>
<category domain="main">Accounting</category>			<guid isPermaLink="false">30@http://blogs.dmaxx.com/</guid>
						<description>&lt;p&gt;This sounds like a great idea: &lt;strong&gt;&lt;em&gt;generate accounting and performance numbers for managed accounts and funds by reading broker statements&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;On the surface, it is a great idea; unfortunately, it is not likely to succeed in the context of a CTA or hedge fund that trades futures and/or FX; not to mention over the counter instruments such as swaps.&lt;/p&gt;

&lt;p&gt;There are several reasons why this can&amp;#8217;t work reliably.  The most notable are:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Traders of any size have out trades every day.  Basing accounting on the contents of broker statements that have missed or incorrectly booked trades is guaranteed to be wrong.&lt;/li&gt;
  &lt;li&gt;Broker statements for futures are cash based, not accrual based.  They do not include the accrued trading commissions for the exit side of the trades.  If performance is based on the contents of the statement, that performance will be over-stated by the amount of the accrued exit commissions.  The statements also do not contain accrued interest on cash held at the broker.  Again, basing performance on the contents of the statements results in inaccurate performance calculations.&lt;/li&gt;
  &lt;li&gt;Statements do not include management or incentive fee accruals.  These must be calculated outside the context of the data on a statement.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Another problem that believing what is on a statement causes is it defeats the whole concept of reconciliation.  By accepting what is on a statement, the advisor is in effect, doing the same thing as never balancing a checkbook.&lt;/p&gt;

&lt;p&gt;In the case of an investment manager, he is being paid to manage the money of his investors.  It is the manager&amp;#8217;s responsibility to ensure that trades are booked in the correct account at the correct price, that positions are accurate and balances are in line.  Basing accounting on the contents of the statements bypasses these important checks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A better approach&lt;/strong&gt;&lt;br /&gt;
If you assume an investment manager must maintain the list of trades she has made as well as her open positions in order to effectively run her business, she is already most of the way to being able to produce the required financial performance records.&lt;/p&gt;

&lt;p&gt;A system like TheBooks is designed to take advantage of this fact.  It provides simplified recording and reporting of trades and automatically keeps track of positions (both net to the street as well as by system/strategy) and it generates the appropriate accounting entries resulting from those trades and open positions.&lt;/p&gt;

&lt;p&gt;A clear advantage of this is that reconciliation can be performed at the trade, position, and cash balance levels (another capability of TheBooks).  In addition, because commission, fee, and interest accruals are also performed by TheBooks, the resulting accounting and performance reporting numbers are accurate.&lt;/p&gt;

&lt;p&gt;Another advantage to performing your own accounting rather than basing it on the contents of broker statements is time.  If accounting/reporting is based on broker statements, there is no easy way to provide end of day performance reports.  All reporting must wait until the statements are received; typically early the next day.&lt;/p&gt;

&lt;p&gt;TheBooks reporting is based on the trades that have been posted and the market prices as they are now.  This means that end of day reports detailing daily/monthly/annual performance (summarized or detailed by sector and/or market) can be sent automatically at the end of the trading day; significantly improving the level or reporting and transparency an advisor can provide to her clients.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;br /&gt;
An advisor must maintain a record of his trading activity.  Using a system like TheBooks not only maintains a record of all trades, it maintains positions and generates all the performance and accounting records required in a way that delivers more accurate and timely reports than those that can be produced by using broker statements.&lt;/p&gt;

&lt;p&gt;Beyond that, it provides the basis for robust trade, position, and cash balance reconciliation, helping the advisor manage the inevitable trade and position discrepancies that occur when trading futures and FX.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>This sounds like a great idea: <strong><em>generate accounting and performance numbers for managed accounts and funds by reading broker statements</em></strong>.</p>

<p>On the surface, it is a great idea; unfortunately, it is not likely to succeed in the context of a CTA or hedge fund that trades futures and/or FX; not to mention over the counter instruments such as swaps.</p>

<p>There are several reasons why this can&#8217;t work reliably.  The most notable are:</p>
<ul>
  <li>Traders of any size have out trades every day.  Basing accounting on the contents of broker statements that have missed or incorrectly booked trades is guaranteed to be wrong.</li>
  <li>Broker statements for futures are cash based, not accrual based.  They do not include the accrued trading commissions for the exit side of the trades.  If performance is based on the contents of the statement, that performance will be over-stated by the amount of the accrued exit commissions.  The statements also do not contain accrued interest on cash held at the broker.  Again, basing performance on the contents of the statements results in inaccurate performance calculations.</li>
  <li>Statements do not include management or incentive fee accruals.  These must be calculated outside the context of the data on a statement.</li>
</ul>
<p>Another problem that believing what is on a statement causes is it defeats the whole concept of reconciliation.  By accepting what is on a statement, the advisor is in effect, doing the same thing as never balancing a checkbook.</p>

<p>In the case of an investment manager, he is being paid to manage the money of his investors.  It is the manager&#8217;s responsibility to ensure that trades are booked in the correct account at the correct price, that positions are accurate and balances are in line.  Basing accounting on the contents of the statements bypasses these important checks.</p>

<p><strong>A better approach</strong><br />
If you assume an investment manager must maintain the list of trades she has made as well as her open positions in order to effectively run her business, she is already most of the way to being able to produce the required financial performance records.</p>

<p>A system like TheBooks is designed to take advantage of this fact.  It provides simplified recording and reporting of trades and automatically keeps track of positions (both net to the street as well as by system/strategy) and it generates the appropriate accounting entries resulting from those trades and open positions.</p>

<p>A clear advantage of this is that reconciliation can be performed at the trade, position, and cash balance levels (another capability of TheBooks).  In addition, because commission, fee, and interest accruals are also performed by TheBooks, the resulting accounting and performance reporting numbers are accurate.</p>

<p>Another advantage to performing your own accounting rather than basing it on the contents of broker statements is time.  If accounting/reporting is based on broker statements, there is no easy way to provide end of day performance reports.  All reporting must wait until the statements are received; typically early the next day.</p>

<p>TheBooks reporting is based on the trades that have been posted and the market prices as they are now.  This means that end of day reports detailing daily/monthly/annual performance (summarized or detailed by sector and/or market) can be sent automatically at the end of the trading day; significantly improving the level or reporting and transparency an advisor can provide to her clients.</p>

<p><strong>Summary</strong><br />
An advisor must maintain a record of his trading activity.  Using a system like TheBooks not only maintains a record of all trades, it maintains positions and generates all the performance and accounting records required in a way that delivers more accurate and timely reports than those that can be produced by using broker statements.</p>

<p>Beyond that, it provides the basis for robust trade, position, and cash balance reconciliation, helping the advisor manage the inevitable trade and position discrepancies that occur when trading futures and FX.</p>]]></content:encoded>
								<comments>http://blogs.dmaxx.com/index.php/2008/02/27/accounting-from-statements-bad-idea?blog=4#comments</comments>
			<wfw:commentRss>http://blogs.dmaxx.com/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=30</wfw:commentRss>
		</item>
				<item>
			<title>Data Manager - The systematic trader's best friend</title>
			<link>http://blogs.dmaxx.com/index.php/2007/12/08/data-manager-systematic-trader-s-best?blog=4</link>
			<pubDate>Sat, 08 Dec 2007 17:17:32 +0000</pubDate>			<dc:creator>Dana Comolli</dc:creator>
			<category domain="main">Data Management</category>			<guid isPermaLink="false">27@http://blogs.dmaxx.com/</guid>
						<description>&lt;p&gt;With version 2.2.1 of TheBooks, the Data Manager has come of age.  This release has transformed the Data Manager from being simply an historic data repository and continuous contract builder into a research tool for futures traders which allows the combining and manipulation of data never seen before in commercial data management software.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://www.dmaxx.com/images/datamanager.jpg&quot; alt=&quot;TheBooks Data Manager Viewer&quot; title=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The 2.2.1 release of TheBooks adds the following features to the Data Manager:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;The ability to define derived data sources.  These are data streams which are based on other data streams (more about these later&amp;#8230;)&lt;/li&gt;
  &lt;li&gt;The ability to overlay your actual trading history onto price charts.  The running position and P&amp;amp;L can also be charted as part of this option.  When trades are overlaid onto a continuous contract chart, the trade prices are adjusted to match how the continuous contract was adjusted.&lt;/li&gt;
  &lt;li&gt;Direct access to CSI data via their API.  You no longer have to export data from Unfair Advantage to incorporate the data into TheBooks.  You just tell TheBooks what computer in your network is running CSI and TheBooks is able to directly access the data.&lt;/li&gt;
  &lt;li&gt;The charting package has been completely re-written and is now a high-performance utility with the ability to quickly scroll through large data sets and zoom in and out allowing you see as much or a little detail as required.  In addition, gaps in the data can be highlighted as can roll dates.&lt;/li&gt;
  &lt;li&gt;We have added the ability to easily switch between viewing any data set by simply clicking on the data set name within the viewer.&lt;/li&gt;
  &lt;li&gt;Export formats can be easily defined using a point and click interface.  This includes the ability to translate market symbols from one symbol set to another.&lt;/li&gt;
  &lt;li&gt;For those traders that want tighter integration, TheBooks API (Application Programming Interface) has been extended to allow direct access to Data Manager data.  This means your research platform and/or signal generator can read price series directly from TheBooks without the need to have the data exported to text files.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even though DMAXX spent considerable effort on these enhancements, the features of the Data Manager that had set it apart from other data management applications have been retained and enhanced as well.  These include:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;The ability to use actual trading history as a roll rule when building continuous contracts.&lt;/li&gt;
  &lt;li&gt;The ability to define export sets which allows multiple data sources to be exported together to a single location in your network and to flag them to be automatically exported anytime any of the underlying data sources change.&lt;/li&gt;
  &lt;li&gt;Multiple price data vendor support.  This includes CSI, CQG, and eSignal, in addition to user-defined text file imports.  This means you can easily use data from the vendor(s) which make the most sense for your research and trading.&lt;/li&gt;
  &lt;li&gt;Flexible data download scheduling allows you to define as many scheduled downloads as you like.  The data is downloaded in the background and is performed automatically.  Continuous contracts and derived data sources are automatically updated and, as described above, any exports that are required are automatically performed as well.&lt;/li&gt;


&lt;/ul&gt;


&lt;p&gt;&lt;strong&gt;Derived Data Sources&lt;/strong&gt;&lt;br /&gt;
Derived Data Sources are an exciting new feature introduced in the 2.2.1 release of TheBooks.  A Derived Data Source is a Data Source whose underlying data comes from one or more other Historic, Continuous Contract, or Derived Data sources combined using user-defined or pre-defined transformations.  Once a Derived Data Source has been constructed, it can be used to like any historic data source or continuous contract.&lt;/p&gt;

&lt;p&gt;There are four types of Derived Data Sources:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ratio&lt;/strong&gt;&lt;br /&gt;
A Ratio data source is simply the ratio of two underlying data sources.  The numerator bar is divided by the denominator bar.  This can be used to provide a relative strength data stream between the two instruments or can be used to create FX cross rates from two data streams of FX rates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Index&lt;/strong&gt;&lt;br /&gt;
An Index data source is the weighted sum of all the underlying data sources.  For example, a user could define an Index-type derived data source as being a basket the major long-term interest rate futures contracts (US and foreign) and weight each as desired.  The data stream would be the weighted sum of each of the underlying stream&amp;#8217;s Open, High, Low, and Close.  The trader could then track the index and Buy/Sell the basket of contracts as appropriate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Term-Infused Spot&lt;/strong&gt;&lt;br /&gt;
A Term-Infused Spot data source is a way to insert the term structure of continuous contract futures data into a data stream of daily spot prices.  This provides a way to produce both outright and cross-rate historic price data that contains both a valid daily price range and term structure where currently the historic data does not exist.  It uses an Historic Data Source which is an outright or cross-rate spot rate and a Continuous Contract. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;User-Defined&lt;/strong&gt;&lt;br /&gt;
A user-defined data source is a way for the user to apply his/her own transformations between two or more data sources.  These transformations can include logical as well as numeric expressions, allowing to you perform operations such as splicing two data streams together at a specific date or comparing data streams from multiple sources and using the values from the stream that make the most sense on a given date within the data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;br /&gt;
The Data Manager has evolved into a premier data management tool for the professional futures trader and researcher.  These new features and those to come are designed to facilitate better research and better trading.  It you are not using the data manager in your operation, now is the time to review its capabilities again.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>With version 2.2.1 of TheBooks, the Data Manager has come of age.  This release has transformed the Data Manager from being simply an historic data repository and continuous contract builder into a research tool for futures traders which allows the combining and manipulation of data never seen before in commercial data management software.</p>

<p><img src="http://www.dmaxx.com/images/datamanager.jpg" alt="TheBooks Data Manager Viewer" title="" /></p>

<p>The 2.2.1 release of TheBooks adds the following features to the Data Manager:</p>
<ul>
  <li>The ability to define derived data sources.  These are data streams which are based on other data streams (more about these later&#8230;)</li>
  <li>The ability to overlay your actual trading history onto price charts.  The running position and P&amp;L can also be charted as part of this option.  When trades are overlaid onto a continuous contract chart, the trade prices are adjusted to match how the continuous contract was adjusted.</li>
  <li>Direct access to CSI data via their API.  You no longer have to export data from Unfair Advantage to incorporate the data into TheBooks.  You just tell TheBooks what computer in your network is running CSI and TheBooks is able to directly access the data.</li>
  <li>The charting package has been completely re-written and is now a high-performance utility with the ability to quickly scroll through large data sets and zoom in and out allowing you see as much or a little detail as required.  In addition, gaps in the data can be highlighted as can roll dates.</li>
  <li>We have added the ability to easily switch between viewing any data set by simply clicking on the data set name within the viewer.</li>
  <li>Export formats can be easily defined using a point and click interface.  This includes the ability to translate market symbols from one symbol set to another.</li>
  <li>For those traders that want tighter integration, TheBooks API (Application Programming Interface) has been extended to allow direct access to Data Manager data.  This means your research platform and/or signal generator can read price series directly from TheBooks without the need to have the data exported to text files.</li>
</ul>

<p>Even though DMAXX spent considerable effort on these enhancements, the features of the Data Manager that had set it apart from other data management applications have been retained and enhanced as well.  These include:</p>
<ul>
  <li>The ability to use actual trading history as a roll rule when building continuous contracts.</li>
  <li>The ability to define export sets which allows multiple data sources to be exported together to a single location in your network and to flag them to be automatically exported anytime any of the underlying data sources change.</li>
  <li>Multiple price data vendor support.  This includes CSI, CQG, and eSignal, in addition to user-defined text file imports.  This means you can easily use data from the vendor(s) which make the most sense for your research and trading.</li>
  <li>Flexible data download scheduling allows you to define as many scheduled downloads as you like.  The data is downloaded in the background and is performed automatically.  Continuous contracts and derived data sources are automatically updated and, as described above, any exports that are required are automatically performed as well.</li>


</ul>


<p><strong>Derived Data Sources</strong><br />
Derived Data Sources are an exciting new feature introduced in the 2.2.1 release of TheBooks.  A Derived Data Source is a Data Source whose underlying data comes from one or more other Historic, Continuous Contract, or Derived Data sources combined using user-defined or pre-defined transformations.  Once a Derived Data Source has been constructed, it can be used to like any historic data source or continuous contract.</p>

<p>There are four types of Derived Data Sources:</p>

<p><strong>Ratio</strong><br />
A Ratio data source is simply the ratio of two underlying data sources.  The numerator bar is divided by the denominator bar.  This can be used to provide a relative strength data stream between the two instruments or can be used to create FX cross rates from two data streams of FX rates.</p>

<p><strong>Index</strong><br />
An Index data source is the weighted sum of all the underlying data sources.  For example, a user could define an Index-type derived data source as being a basket the major long-term interest rate futures contracts (US and foreign) and weight each as desired.  The data stream would be the weighted sum of each of the underlying stream&#8217;s Open, High, Low, and Close.  The trader could then track the index and Buy/Sell the basket of contracts as appropriate.</p>

<p><strong>Term-Infused Spot</strong><br />
A Term-Infused Spot data source is a way to insert the term structure of continuous contract futures data into a data stream of daily spot prices.  This provides a way to produce both outright and cross-rate historic price data that contains both a valid daily price range and term structure where currently the historic data does not exist.  It uses an Historic Data Source which is an outright or cross-rate spot rate and a Continuous Contract. </p>

<p><strong>User-Defined</strong><br />
A user-defined data source is a way for the user to apply his/her own transformations between two or more data sources.  These transformations can include logical as well as numeric expressions, allowing to you perform operations such as splicing two data streams together at a specific date or comparing data streams from multiple sources and using the values from the stream that make the most sense on a given date within the data.</p>

<p><strong>Summary</strong><br />
The Data Manager has evolved into a premier data management tool for the professional futures trader and researcher.  These new features and those to come are designed to facilitate better research and better trading.  It you are not using the data manager in your operation, now is the time to review its capabilities again.</p>]]></content:encoded>
								<comments>http://blogs.dmaxx.com/index.php/2007/12/08/data-manager-systematic-trader-s-best?blog=4#comments</comments>
			<wfw:commentRss>http://blogs.dmaxx.com/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=27</wfw:commentRss>
		</item>
			</channel>
</rss>
