Welcome to NJ4X, an implementation of the Java to MT4 Trader API


The NJ4X distribution
~~~~~~~~~~~~~~~~~~~~~
NJ4X's binary distribution is bundled in a compressed file, that
contains documentation, examples and libraries.

The structure of binary distribution is as follows, where ${release}
indicates the NJ4X release of the distribution:

/NJ4X-${release}/
                 bin/       contains nj4x-ts-2.1.4.exe (Terminal Server)
                 docs/      contains the documentation
                 examples/  contains examples on how to use NJ4X
                 lib/       contains the NJ4X implementation jars

Installing NJ4X
~~~~~~~~~~~~~~~
NJ4X does not need to be installed.
It simply provides libraries in form of jars that can be used
to develop NJ4X applications.

NJ4X & Maven
~~~~~~~~~~~~~~~
You can easily include NJ4X API into the maven project.
It just requires additional repository:

pom.xml>

    <repositories>
        ...
        <repository>
            <id>nj4x-releases</id>
            <url>http://nj4x-mt4.s3-website-us-east-1.amazonaws.com/release</url>
        </repository>
        ....
    </repositories>

.. and dependency:

    <dependencies>
        ...
        <dependency>
            <groupId>com.nj4x</groupId>
            <artifactId>jfx</artifactId>
            <version>2.1.4</version>
        </dependency>
        ...
    </dependencies>

NJ4X Terminal Server can be downloaded as a separate executable (nj4x-ts-2.1.4.exe) from http://nj4x.com/downloads


Running NJ4X examples
~~~~~~~~~~~~~~~~~~~~~
NJ4X examples source files are present in the /examples/ directory.


NJ4X jars
~~~~~~~~~
Under the /lib/ directory of the binary distribution there are the following jars:
+ jfx-2.1.4.jar                -->  contains the com.jfx.* classes


NJ4X's Documentation
~~~~~~~~~~~~~~~~~~~~
Refer to the included documentation under the /docs/ directory of the binary
distribution for further details on how to use NJ4X.

