/ib-client

Wrapper around Interactive Brokers TWS API

Primary LanguageJavaMIT LicenseMIT

Download

Description

“ib-client” is a Java wrapper around native TWS API provided by Interactive Brokers company, the leader between electronic trading platforms.

The native API disadvantages

The native API is powerful but is hard and inconvenient to use. Before any business logic can be written, a developer has to write a large amount of boilerplate code, resolve concurrency issues, handle reconnects, filter out order statuses duplicates, check incoming messages, etc.

'ib-client' advantages

  1. Hides native API complexity
  2. Uses Java 8
  3. Use only 2 lines to connect
  4. Automatically restores connection to TWS
  5. Use power of reactive programming by using Reactor
  6. Build-in and verbose logging
  7. Production ready. 'ib-client' is used as a base of 20+ projects

Examples

You can see usages example in tests

Installation

Releases

    repositories {
        jCenter()
    }
    
    dependencies {
        implementation 'lv.sergluka.ib-client:ib-client:<latest-version>'
    }

Snapshots

See the snapshots list here

    repositories {
        maven { url 'https://oss.jfrog.org/artifactory/oss-snapshot-local' }
    }
    
    dependencies {
        implementation 'lv.sergluka.ib-client:ib-client:x.x.x-SNAPSHOT'
    }