Archive for the ‘ta-lib’ Category

Simple technical analysis function calling

Wednesday, December 5th, 2007

del.icio.us Reddit Slashdot Digg Facebook Technorati Google StumbleUpon Yahoo Bloglines Bookmark.it Ask Mister Wong Netvouz

I added new function “call2″ 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(
	"SMA", # 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

See repository…

Technical analysis functions extension released

Tuesday, December 4th, 2007

del.icio.us Reddit Slashdot Digg Facebook Technorati Google StumbleUpon Yahoo Bloglines Bookmark.it Ask Mister Wong Netvouz

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

Technical analysis functions plugin

Friday, November 30th, 2007

del.icio.us Reddit Slashdot Digg Facebook Technorati Google StumbleUpon Yahoo Bloglines Bookmark.it Ask Mister Wong Netvouz

Technical analysis functions plugin for trading robot DSL was committed to the repository.

Usage:

<function name> <contract>, <input parameters>, <option input parameters>

where
<contract> - contract name symbol
<function name> - is the technical analysis function name from Ta-Lib in lower case
<option input parameters> - optional input parameters for the technical analysis function (see documentation for Ta-Lib abstract layer) separated by comma

For example:
ema YM, 12

P.S. Technical analysis functions with more than one output arrays don’t tested.

Technical analysis functions for trading robot DSL

Thursday, November 29th, 2007

del.icio.us Reddit Slashdot Digg Facebook Technorati Google StumbleUpon Yahoo Bloglines Bookmark.it Ask Mister Wong Netvouz

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.