Simple perl interface to trade FXCM accounts
C C++ Perl Other
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ForexConnectWrapper
lib/Finance/FXCM
spec
t
.gitignore
.travis.yml
Changes
ForexConnectWrapper.xs
Makefile.PL
README.md
README.release
dist.ini
fxcm-bad-ticks
perlobject.map
ppport.h
typemap

README.md

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