The software will perform well and fast if you’re using an Intel or AMD multi-core CPU made by them after 2007. You will benefit if you have more than 2GB RAM although the application should run within 300MB, but that depends on how much data you’re analyzing. PDL does a lot of parallel computations which benefit with a multi-core and/or a multi-cpu system.
The software has not been tested on ARM CPU based systems, and if there are any success reports, please let the authors know and we shall include them here.
If you want us to support a different CPU type, please contact the authors.
You can download the software from various sources:
CPAN: The most recent release versions will always be available on CPAN. Instructions on how to install from CPAN are given in the following sections on this page.
Linux & BSD variants
App::financeta has been developed on the GNU/Linux platform. However, it works
on the BSD platforms (FreeBSD, NetBSD, OpenBSD) as well.
You will need to have
perl installed which is
present by default on most or all Linux and BSD platforms. The minimum Perl
version expected is 5.10.1.
Download the source from sourceforge, compile and install it. You can also
install it to a custom directory of your choice instead of
/usr/local but you
will need to set the environment variable
$PATH appropriately in your shell
.profile or similar shell profile files.
$ wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz $ tar -zxvf ta-lib-0.4.0-src.tar.gz $ cd ta-lib $ ./configure --prefix=/usr/local && make && make check $ sudo make install
Installing App::financeta from CPAN
Check if the
cpan executables are installed on your system and if
the version number of
perl is greater than or equal to 5.10.1. If
cpan are not installed, please consult your distribution’s package
ta-lib that you have just installed above, needs to be present in
$PATH variable if you have not installed it into
gnuplot executable also should have been installed and be present in your
$ which perl $ perl -V:version $ which cpan $ which ta-lib-config $ which gnuplot $ sudo cpan -i App::financeta # to run the application $ /usr/bin/financeta
This will install the package and all its dependencies from CPAN.
If you choose to install the CPAN package to a custom directory, you will have
to adjust the
$PERL5LIB environment variable appropriately.
Installing App::financeta from Github
If you would like to get the bleeding edge of the codebase or if you want to
send us pull requests, you may want to install the development version from
Github. You will need to have
git installed for this to work.
$ which git $ git clone https://github.com/vikasnkumar/financeta.git $ cd financeta $ perl ./Build.PL $ ./Build test # to run the application $ perl -Mblib ./bin/financeta
When installing from Github, you may see that your dependencies are not
installed. To install all the required dependencies, after you have installed
gnuplot as above, run the below command.
$ sudo cpan -i PDL PDL::Graphics::Gnuplot Finance::QuoteHist \ PDL::Finance::TA Prima POE::Loop::Prima Capture::Tiny DateTime \ Software::License Pod::Readme Module::Build
Some of these modules may already be available through your distribution’s package manager.
Mac OS X
There are not many differences in the installation of App::financeta on the OS X platform, except for the fact that you may be using Macports, Fink or Homebrew as your package manager. We have tested with Macports installed on OS X 10.7.
Installing using Macports and CPAN
Macports may already come with
perl but you could install a more recent
version if you like.
$ sudo port install ta-lib gnuplot perl5 $ sudo cpan -i App::financeta
Installing using native Mac Perl
Follow the same instructions to install as for the Linux/BSD variants here.
Installing using Fink or Homebrew
You may want to look at what packages these package managers provide, and use
your judgement to pick the appropriate ones as required. You could also always
perl from these package managers and follow the rest of the
instructions from here.
There are two ways to install App::financeta on Windows - using Strawberry Perl or Cygwin. Either of these ways is alright to do, although Strawberry Perl is definitely nicer to use. We have tested this only on Windows 7 64-bit.
Download Strawberry Perl from their website and install it.
You may choose either 32 or 64 bit MSI file depending on what kind of Windows you are running.
You may choose to download the PortableZIP version of Strawberry Perl which includes extra PDL related libs as part of it from http://strawberryperl.com/releases.html.
Download Gnuplot for Windows from here.
Select the option that says “Primary download site on Sourceforge” and pick the exe installer from Sourceforge file list.
You will need to do the default install but remember to check the option that says add Gnuplot to the
- If you have downloaded the PortableZIP version with extra PDL libs you can
skip this step.
- Download ta-lib for Windows from here. Select the
ta-lib-0.4.0-msvc.zipfile and download it into a directory and unzip it.
- You should see the
ta-libfolder created after unzipping the file.
- Note down the directory path. For example, if you unzip the folder in your
Documentsdirectory, then your path on Windows 7 will be
%USERPROFILE%environment variable automatically picks your home directory on Windows.
- If you have installed the MSI version, start the Strawberry Perl shell from your Start Menu > Strawberry Perl > Perl (commandline). This shell will look like the Windows command shell but with all the paths necessary for Perl to run. You will need to set the
environment variables for installing
PDL::Finance::TAas shown below:
- Download ta-lib for Windows from here. Select the
Set the environment variables as below, and install the packages
C:\> set TALIB_LIBS=-L%USERPROFILE%\Documents\ta-lib\c\lib -lta_abstract_cmr -lta_common_cmr -lta_func_cmr -lta_libc_cmr C:\> set TALIB_CFLAGS=-I%USERPROFILE%\ta-lib\c\include> C:\> echo %TALIB_LIBS% C:\> echo %TALIB_CFLAGS% C:\> cpan -i Alien::TALib C:\> cpan -i PDL::Finance::TA C:\> cpan -i PDL::Graphics::Gnuplot C:\> cpan -i App::financeta
If you have used the PortableZip version, you can directly install
App::financeta as below:
C:\> cpan -i App::financeta
Once this is done, you can run financeta either from the Perl shell or from a regular command shell or Power shell by typing the following
We assume you already have Cygwin installed.
Install the following packages:
and any other packages that you may want.
Install ta-lib as given below:
$ wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz $ tar -zxvf ta-lib-0.4.0-src.tar.gz $ cd ta-lib $ ./configure $ make CFLAGS=-I./include/ta_common $ make check $ make install
Once this is done, let’s install
$ cpan cpan> install App::financeta
On success, you will find
/usr/bin and can start it as