<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<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/"
	>

<channel>
	<title>Index futures trading online</title>
	<link>http://www.tradeindexfuture.com</link>
	<description>Automated trading of DOW,SP500,NASDAQ index futures</description>
	<pubDate>Wed, 05 Dec 2007 01:08:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Simple technical analysis function calling</title>
		<link>http://www.tradeindexfuture.com/ta-lib/simple-technical-analysis-function-calling/</link>
		<comments>http://www.tradeindexfuture.com/ta-lib/simple-technical-analysis-function-calling/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 01:03:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ta-lib]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/ta-lib/simple-technical-analysis-function-calling/</guid>
		<description><![CDATA[I added new function &#8220;call2&#8243; to talib-ruby. It calls function from technical analysis library in more convenient way. For, example to call simple moving average function (SMA) with period = 10, input data in in_data array and output data in out_data array you can write:



TaLib::Function.call2(
	&#34;SMA&#34;, # name of technical analysis function
	0, # start index in [...]]]></description>
			<content:encoded><![CDATA[<p>I added new function &#8220;call2&#8243; to talib-ruby. It calls function from technical analysis library in more convenient way. For, example to call simple moving average function (SMA) with period = 10, input data in in_data array and output data in out_data array you can write:</p>
<pre>
<pre name="code" class="ruby">

TaLib::Function.call2(
	&quot;SMA&quot;, # name of technical analysis function
	0, # start index in input arrays for processing
	9, # end index in input arrays for processing
	in_data, # input parameter
	out_data, # output parameter
	10) # optional parameter
</pre>
</pre>
<p>See repository&#8230;<br />
</p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/ta-lib/simple-technical-analysis-function-calling/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Technical analysis functions extension released</title>
		<link>http://www.tradeindexfuture.com/ta-lib/technical-analysis-functions-extension-released/</link>
		<comments>http://www.tradeindexfuture.com/ta-lib/technical-analysis-functions-extension-released/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 21:57:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ta-lib]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/ta-lib/technical-analysis-functions-extension-released/</guid>
		<description><![CDATA[First version of technical analysis functions extension with simple example released.
To compile and install extension use commands (for Linux):
ruby extconf.rb
make
sudo make install
Source code can be found here
Documentation can be found here

]]></description>
			<content:encoded><![CDATA[<p>First version of technical analysis functions extension with simple example released.</p>
<p>To compile and install extension use commands (for Linux):</p>
<p><em>ruby extconf.rb</em></p>
<p><em>make</em></p>
<p><em>sudo make install</em></p>
<p>Source code can be found <a href="http://www.tradeindexfuture.com/download-trading-robot-sources/" title="Download source codes">here</a></p>
<p>Documentation can be found <a href="http://www.tradeindexfuture.com/doc/talib-ruby/" title="Technical analysis functions extension">here</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/ta-lib/technical-analysis-functions-extension-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Technical analysis functions plugin</title>
		<link>http://www.tradeindexfuture.com/robot/technical-analysis-functions-plugin/</link>
		<comments>http://www.tradeindexfuture.com/robot/technical-analysis-functions-plugin/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 00:53:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[robot]]></category>

		<category><![CDATA[ta-lib]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/robot/technical-analysis-functions-plugin/</guid>
		<description><![CDATA[Technical analysis functions plugin for trading robot DSL was committed to the repository.
Usage:
&#60;function name&#62; &#60;contract&#62;, &#60;input parameters&#62;, &#60;option input parameters&#62;
where
&#60;contract&#62; - contract name symbol
&#60;function name&#62; - is the technical analysis function name from Ta-Lib in lower case
&#60;option input parameters&#62; - optional input parameters for the technical analysis function (see documentation for Ta-Lib abstract layer) separated [...]]]></description>
			<content:encoded><![CDATA[<p>Technical analysis functions plugin for trading robot DSL was committed to the repository.</p>
<p>Usage:</p>
<p>&lt;function name&gt; &lt;contract&gt;, &lt;input parameters&gt;, &lt;option input parameters&gt;</p>
<p>where<br />
<strong>&lt;contract&gt;</strong> - contract name symbol<br />
<strong>&lt;function name&gt;</strong> - is the technical analysis function name from Ta-Lib in lower case<br />
<strong>&lt;option input parameters&gt;</strong> - optional input parameters for the technical analysis function (see documentation for Ta-Lib abstract layer) separated by comma</p>
<p>For example:<br />
ema YM, 12<br />
<br />
P.S. Technical analysis functions with more than one output arrays don&#8217;t tested.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/robot/technical-analysis-functions-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Technical analysis functions for trading robot DSL</title>
		<link>http://www.tradeindexfuture.com/ta-lib/technical-analysis-functions-for-trading-robot-dsl/</link>
		<comments>http://www.tradeindexfuture.com/ta-lib/technical-analysis-functions-for-trading-robot-dsl/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 20:07:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ta-lib]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/ta-lib/technical-analysis-functions-for-trading-robot-dsl/</guid>
		<description><![CDATA[Technical analysis functions library wrapper (for Ruby) revision 1 committed
Yes, I did it! Ta-lib now works in Ruby!
Now working on Ta-lib plugin for trading robot DSL.

]]></description>
			<content:encoded><![CDATA[<p>Technical analysis functions library wrapper (for Ruby) revision 1 committed</p>
<p>Yes, I did it! Ta-lib now works in Ruby!</p>
<p>Now working on Ta-lib plugin for trading robot DSL.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/ta-lib/technical-analysis-functions-for-trading-robot-dsl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Trading robot DSL new revision commited</title>
		<link>http://www.tradeindexfuture.com/robot/trading-robot-dsl-new-revision-commited/</link>
		<comments>http://www.tradeindexfuture.com/robot/trading-robot-dsl-new-revision-commited/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 22:15:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[opentick-ruby]]></category>

		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/robot/trading-robot-dsl-new-revision-commited/</guid>
		<description><![CDATA[Changes:

Opentick online and history quotes support
Opentick future symbols (begin with &#8220;/&#8221;) support
Natural language date/time support

To the next release i must add technical analysis functions and other types of orders.
P.S. some changes in opentick-ruby was commited (revision 2).
See repository&#8230;


]]></description>
			<content:encoded><![CDATA[<p>Changes:</p>
<ul>
<li>Opentick online and history quotes support</li>
<li>Opentick future symbols (begin with &#8220;/&#8221;) support</li>
<li>Natural language date/time support</li>
</ul>
<p>To the next release i must add technical analysis functions and other types of orders.<br />
P.S. some changes in opentick-ruby was commited (revision 2).<br />
See repository&#8230;<br />
</p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/robot/trading-robot-dsl-new-revision-commited/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Natural language date/time for trading robot DSL</title>
		<link>http://www.tradeindexfuture.com/robot/natural-language-datetime-for-trading-robot-dsl/</link>
		<comments>http://www.tradeindexfuture.com/robot/natural-language-datetime-for-trading-robot-dsl/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 23:33:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/robot/natural-language-datetime-for-trading-robot-dsl/</guid>
		<description><![CDATA[In previous example of using Opentick history quotes plugin for providing time interval i used Time variables like this:
Time.now and (Time.now-24.3600)
I thinks, that more convenient way is using natural language date/time like this:
3 years ago, 5 months before now,  7 hours ago, 7 days from now, 1 year ago tomorrow, 3 months ago saturday [...]]]></description>
			<content:encoded><![CDATA[<p>In previous example of using Opentick history quotes plugin for providing time interval i used Time variables like this:</p>
<p>Time.now and (Time.now-24.3600)</p>
<p>I thinks, that more convenient way is using natural language date/time like this:</p>
<p>3 years ago, 5 months before now,  7 hours ago, 7 days from now, 1 year ago tomorrow, 3 months ago saturday at 5:00 pm</p>
<p>The main disadvantage of this way is using quotes in DSL code to separate natural language date/time string. It is Ruby language&#8217;s restriction. <span style="color: gray"></span></p>
<p>Tomorrow i&#8217;ll try to add natural languae date/time support in our trading robot DSL.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/robot/natural-language-datetime-for-trading-robot-dsl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Technical analysis library for trading robot dsl</title>
		<link>http://www.tradeindexfuture.com/robot/technical-analysis-library-for-trading-robot-dsl/</link>
		<comments>http://www.tradeindexfuture.com/robot/technical-analysis-library-for-trading-robot-dsl/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 08:20:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/robot/technical-analysis-library-for-trading-robot-dsl/</guid>
		<description><![CDATA[I have found very interesting library for technical analysis. The list of functions is very great.  I&#8217;ll try to develop Ruby wrapper for this library and then use it&#8217;s functions in our trading robot dsl. I think it&#8217;s better than implement them from scratch.
Added to project&#8217;s TODO list.


]]></description>
			<content:encoded><![CDATA[<p>I have found very interesting library for technical analysis. <a href="http://ta-lib.org/d_api/d_api_idx.html" title="List of functions released">The list of functions</a> is very great.  I&#8217;ll try to develop Ruby wrapper for this library and then use it&#8217;s functions in our trading robot dsl. I think it&#8217;s better than implement them from scratch.</p>
<p>Added to project&#8217;s TODO list.<br />
</p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/robot/technical-analysis-library-for-trading-robot-dsl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Opentick history mode (for OHLC) added</title>
		<link>http://www.tradeindexfuture.com/robot/opentick-history-mode-for-ohlc-added/</link>
		<comments>http://www.tradeindexfuture.com/robot/opentick-history-mode-for-ohlc-added/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 21:41:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/uncategorized/opentick-history-mode-for-ohlc-added/</guid>
		<description><![CDATA[Opentick history mode now supported (OHLC mode, not raw ticks)
Plugin loaded by plugin command:


plugin DSL::OpentickHistoryPlugin

configurated by history command:



history :host =&#62; 'feed1.opentick.com', :port =&#62; 10010,

  :user =&#62; 'opentick account login',:password =&#62; 'opentick account password',

  :from =&#62; Time.now - 24*3600, :to =&#62; Time.now, :duration =&#62; 300


Parameters description:
host, port, user, password - opentick servers connection parameters
from..to [...]]]></description>
			<content:encoded><![CDATA[<p>Opentick history mode now supported (OHLC mode, not raw ticks)<br />
Plugin loaded by <strong>plugin</strong> command:</p>
<pre name="code" class="ruby">

plugin DSL::OpentickHistoryPlugin
</pre>
<p>configurated by <strong>history</strong> command:</p>
<pre>
<pre name="code" class="ruby">

history :host =&gt; 'feed1.opentick.com', :port =&gt; 10010,

  :user =&gt; 'opentick account login',:password =&gt; 'opentick account password',

  :from =&gt; Time.now - 24*3600, :to =&gt; Time.now, :duration =&gt; 300
</pre>
</pre>
<p>Parameters description:<br />
<strong>host, port, user, password</strong> - opentick servers connection parameters<br />
<strong>from..to</strong> - time period for history quote requesting<br />
<strong>duration</strong> - bar size in seconds</p>
<p>P.S. Later i&#8217;ll improve history command to be more user friendly, it will like this:</p>
<pre>
<pre name="code" class="ruby">

history do
  host 'feed1.opentick.com'
  port 10010
  user 'opentick account login'
  password 'opentick account password'
  from yesterday
  to now
  duration 5 min
end
</pre>
</pre>
<p>will see <img src='http://www.tradeindexfuture.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
</p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/robot/opentick-history-mode-for-ohlc-added/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Trading robot DSL and opentick-ruby source codes</title>
		<link>http://www.tradeindexfuture.com/robot/trading-robot-dsl-and-opentick-ruby-source-codes/</link>
		<comments>http://www.tradeindexfuture.com/robot/trading-robot-dsl-and-opentick-ruby-source-codes/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 19:26:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[opentick-ruby]]></category>

		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/robot/trading-robot-dsl-and-opentick-ruby-source-codes/</guid>
		<description><![CDATA[I have created SVN repository for Trading robot DSL and opentick-ruby. You can get development version of DSL by svn (it must be installed  
svn checkout http://tradingrobotdsl.rubyforge.org/svn/
or
svn checkout svn://rubyforge.org/var/svn/tradingrobotdsl
For opentick-ruby project replace tradingrobotdsl with opentick-ruby.

]]></description>
			<content:encoded><![CDATA[<p>I have created SVN repository for Trading robot DSL and opentick-ruby. You can get development version of DSL by svn (it must be installed <img src='http://www.tradeindexfuture.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><tt>svn checkout http://tradingrobotdsl.rubyforge.org/svn/</tt><br />
or<br />
<tt>svn checkout svn://rubyforge.org/var/svn/tradingrobotdsl</tt></p>
<p>For opentick-ruby project replace tradingrobotdsl with opentick-ruby.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/robot/trading-robot-dsl-and-opentick-ruby-source-codes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Opentick history quotes disadvantage</title>
		<link>http://www.tradeindexfuture.com/robot/opentick-history-quotes-disadvantage/</link>
		<comments>http://www.tradeindexfuture.com/robot/opentick-history-quotes-disadvantage/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 21:36:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.tradeindexfuture.com/robot/opentick-history-quotes-disadvantage/</guid>
		<description><![CDATA[If you request quotes for a single symbol, for example MSFT, it works fine - no troubles.



robot do
  ...
  query MSFT do
     # trading robot body
  end # query
end # robot


But if you request quotes for two or more symbols, then opentick servers process you request step by [...]]]></description>
			<content:encoded><![CDATA[<p>If you request quotes for a single symbol, for example MSFT, it works fine - no troubles.</p>
<pre>
<pre name="code" class="ruby">

robot do
  ...
  query MSFT do
     # trading robot body
  end # query
end # robot
</pre>
</pre>
<p>But if you request quotes for two or more symbols, then opentick servers process you request step by step, i.e. you&#8217;ll receive all history quotes for the first requested symbol, then for the next and etc.</p>
<pre>
<pre name="code" class="ruby">

robot do
  ...
  query MSFT, GOOG, CSCO do
      # trading robot body
  end # query
end # robot
</pre>
</pre>
<p>In the last case you&#8217;ll need to wait until all requested historical quotes for all symbols will be received, and only after that, trading robot body will be executed.<br />
How can we solve this problem? The simplest way is to create query command which will request quotes in a little at a time. For example, you request history for a year, but our command requests history day by day and execute trading robot body for received day.</p>
<p>P.S. added to project development TODO list.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.tradeindexfuture.com/robot/opentick-history-quotes-disadvantage/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
