Git Product home page Git Product logo

jforexutils's Introduction

JForexUtils

Build Status Coverage Status

JForexUtils is a collection of user-friendly, robust and useful tools for working with the JForex API from Dukascopy.

The purpose of this library is to avoid cumbersome boilerplate coding and an easier way of working the API. Here's a short list of what can be done:

  • Order creation, changing and closing in a simple and declarative way
  • Creating/combining currencies and instruments from different sources
  • Converting amounts from one instrument to the other
  • Executing actions and callables on the strategy thread in one line
  • Automatic reconnect support for standalone API

For all features and HowTo's see the Wiki Home.

Java compatibility

JForexUtils relies purely on Java 8, so it is not compatible with Java versions < 8!

Binaries

Currently, JForexUtils is not hosted on MavenCentral or any other online repository(will be done later). To use the library in your project you need to grab it from Releases page. Here you find two versions:

  • the "JForexUtilsUberJar-*.jar file includes all dependencies
  • the "JForexUtils-*.jar file has no included dependencies; it exports its packages so that you can use the file in an OSGI environment

Build

To build:

$ git clone [email protected]:juxeii/JForexUtils.git
$ cd JForexUtils/
$ ./gradlew build

Bugs and Discussion

For bugs and discussions refer to Github Issues.

jforexutils's People

Contributors

juxeii avatar

Stargazers

Ali avatar  avatar  avatar  avatar  avatar  avatar  avatar An Ngo avatar Abdennacer avatar Damian Ledzinski avatar Cong Lin avatar Fungi avatar  avatar  avatar LearnProgrmmingtheHardWay avatar Yang avatar  avatar  avatar Brian avatar

Watchers

Regis Hideki Hattori avatar  avatar  avatar Yang avatar  avatar LearnProgrmmingtheHardWay avatar Augustinas Michelle avatar

jforexutils's Issues

Help needed.

Hi Sir

Regarding your git project https://github.com/juxeii/JForexUtils.git.

I have written my own code i java and i just need to be able to place
orders from my code.
I dont want to have any strategies in my code.I am able to connect to
my account but not able to place orders.Can you please point me in the
right direction.

public static void main(String[] args) throws Exception {
    //get the instance of the IClient interface
    client = ClientFactory.getDefaultInstance();

    setSystemListener();
    tryToConnect();
    subscribeToInstruments();
    // i need to place a market order here

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.