Skip to content

joaocosta/Finance-FXCM-Simple

Repository files navigation

Build Status

This module provides methods to trade FXCM accounts in perl, by wrapping around FXCM's ForexConnect library ( http://fxcodebase.com/wiki/index.php/What_is_ForexConnect_API%3F )

Full documentation available as perldoc

Build time dependencies

This module depends on the ForexConnect library, which is available in binary format only, eg:

curl http://fxcodebase.com/bin/forexconnect/1.4.1/ForexConnectAPI-1.4.1-Linux-x86_64.tar.gz | tar zxf - -C ~
export FXCONNECT_HOME=~/ForexConnectAPI-1.4.1-Linux-x86_64
perl Makefile.PL
make

Running the tests

The default test simply tests that the module can load. To actually test trading API functions, you will need to set environment variables with details of your FXCM demo account, eg:

export FXCM_USER=XXXXXXXXXXXX
export FXCM_PASSWORD=XXXX
make test

About

Simple perl interface to trade FXCM accounts

Resources

Stars

Watchers

Forks

Packages

No packages published