All Projects β†’ forgemo β†’ bittrex-java-client

forgemo / bittrex-java-client

Licence: MIT license
Java client for the bittrex.com v1.1 API

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to bittrex-java-client

Bittrex.Api.Client
A C# http client wrapper for the Bittrex cryptocurrency trading platform api
Stars: ✭ 14 (-53.33%)
Mutual labels:  bittrex, bittrex-api
coinaly
πŸš€ Fast and easy to use mobile trade interface for cryptocurrencies. Track your trades to the moon and beyond. Currently only for Bittrex.
Stars: ✭ 32 (+6.67%)
Mutual labels:  bittrex, bittrex-api
bittrex-api
PHP client for the Bittrex API
Stars: ✭ 25 (-16.67%)
Mutual labels:  bittrex, bittrex-api
java-bittrex
Java wrapper for the Bittrex API
Stars: ✭ 24 (-20%)
Mutual labels:  bittrex, bittrex-api
Go Quote
Yahoo finance/Google finance/Coinbase/Bittrex/Binance/Tiingo historical quote downloader library and cli written in golang
Stars: ✭ 198 (+560%)
Mutual labels:  bittrex
Stocklook
crypto currency library for trading & market making bots, account management, and data analysis
Stars: ✭ 119 (+296.67%)
Mutual labels:  bittrex
Golang Bittrex Api
This repository is a golang porting of v2.0 Bittrex API
Stars: ✭ 115 (+283.33%)
Mutual labels:  bittrex
Python Bittrex Websocket
Python websocket for Bittrex (non async).
Stars: ✭ 104 (+246.67%)
Mutual labels:  bittrex
guncontrol
πŸ”” GunControl β€’ Custom *nix launcher for GunBot
Stars: ✭ 16 (-46.67%)
Mutual labels:  bittrex
restclient-tool
restclient-tool
Stars: ✭ 15 (-50%)
Mutual labels:  restclient
Arbitragebot
Arbitrage bot that currently works on bittrex & poloniex
Stars: ✭ 141 (+370%)
Mutual labels:  bittrex
Coinnect
Coinnect is a Rust library aiming to provide a complete access to main crypto currencies exchanges via REST API.
Stars: ✭ 130 (+333.33%)
Mutual labels:  bittrex
Gbot Trader
Trading robot for trade on crypto exchanges
Stars: ✭ 222 (+640%)
Mutual labels:  bittrex
Cryptotrader
A responsive dynamic webapp to trade cryptopairs on the most prominent exchanges
Stars: ✭ 118 (+293.33%)
Mutual labels:  bittrex
My Token
πŸ“ˆTrack token prices of your favorite exchanges in terminal!
Stars: ✭ 141 (+370%)
Mutual labels:  bittrex
Crypto vba
An Excel/VBA project to communicate with various cryptocurrency exchanges APIs
Stars: ✭ 103 (+243.33%)
Mutual labels:  bittrex
Crypto Trading Bot
Automated Bittrex crypto-currency technical analysis and trading tool
Stars: ✭ 251 (+736.67%)
Mutual labels:  bittrex
Exchanges Php
This is a virtual currency SDK that brings together multiple exchanges
Stars: ✭ 134 (+346.67%)
Mutual labels:  bittrex
Cryptocurrency Portfolio
Google Sheets automatic creation with Google Apps Script (GAS) for managing a cryptocurrency tracking spreadsheet with multi exchanges
Stars: ✭ 134 (+346.67%)
Mutual labels:  bittrex
Arbbot
Arbitrator, a bitcoin/altcoin arbitrage trading bot
Stars: ✭ 173 (+476.67%)
Mutual labels:  bittrex

Build Status

bittrex-java-client

Java client for the bittrex.com api. It uses the api version 1.1.

ApiSpec: https://bittrex.com/home/api

Warning! This library is fairly young and not considered stable. Use it with caution ... especially the market api.

Breaking change in 2.0

For greater precision, double values have been replaced by BigDecimal.

Getting started

Building from code with Maven (preferred)

  1. Clone this repository

  2. Execute 'mvn install' to build the library and install it to your local maven repo

  3. Add the following dependency to your projects pom.xml

    <dependency>
        <groupId>de.elbatya.cryptocoins</groupId>
        <artifactId>bittrex-client</artifactId>
        <version>2.0</version>
    </dependency>

Prebuild binaries via JitPack

Note: Using JitPack is more convenient but less secure. There is no mechanism in place to ensure the authenticity of a downloaded artifact.

Maven via JitPack

  1. Add the JitPack repository to your build file.

    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>
  2. Add the dependency

    <dependency>
        <groupId>com.github.forgemo</groupId>
        <artifactId>bittrex-java-client</artifactId>
        <version>v2.0</version>
    </dependency>

Gradle via JitPack

  1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:

    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
  2. Add the dependency

    dependencies {
       compile 'com.github.forgemo:bittrex-java-client:v2.0'
    }

Others via JitPack

https://jitpack.io/#forgemo/bittrex-java-client/v2.0

Examples

List all markets without credentials

    // Create a BittrexClient
    BittrexClient bittrexClient = new BittrexClient(); 

    // Perform a getMarkets request on the public api
    ApiResult<List<Market>> apiResult = bittrexClient.getPublicApi().getMarkets();
    
    // Unwrap the results
    List<Market> markets = apiResult.unwrap();

List all your open orders using credentials

    // Ceate ApiCredentials with ApiKey and Secret from bittrex.com
    ApiCredentials credentials = new ApiCredentials( 
      "YourApiKeyFromBittrex.com", 
      "YourApiKeySecretFromBittrex.com" 
    ); 
    
    // Create a BittrexClient with the ApiCredentials
    BittrexClient bittrexClient = new BittrexClient(credentials); 

    // Perform a getOpenOrders request on the market api    
    ApiResult<List<OpenOrder>> apiResult = bittrexClient.getMarketApi().getOpenOrders();
    
    // Unwrap the results
    List<OpenOrder> openOrders = apiResult.unwrap();

How to get credentials for the non-public Bittrex api

  1. Create an account at bittrex.com
  2. Enable Two-Factor-Authentication in your account settings
  3. Create an api key with the required permissions in your account settings
  4. Use the api key and secret like shown in the examples
  5. Read https://bittrex.com/home/api for more infos

Implementation Status

Public Api

  • /public/getmarkets
  • /public/getcurrencies
  • /public/getticker
  • /public/getmarketsummaries
  • /public/getmarketsummary
  • /public/getorderbook
  • /public/getmarkethistory

Market Api (Credentials required)

  • /market/buylimit
  • /market/selllimit
  • /market/cancel
  • /market/getopenorders

Account Api (Credentials required)

  • /account/getbalances
  • /account/getbalance
  • /account/getdepositaddress
  • /account/withdraw
  • /account/getorder
  • /account/getorderhistory
  • /account/getwithdrawalhistory
  • /account/getdeposithistory

Stability

  • Public Api - Basic Unit Tests
  • Market Api - Basic Unit Tests
  • Account Api - Basic Unit Tests
  • Public Api - Advanced Unit Tests
  • Market Api - Advanced Unit Tests
  • Account Api - Advanced Unit Tests
  • Public Api - Tested with production backend
  • Market Api - Tested with production backend
  • Account Api - Tested with production backend
  • Used in low budget / low risk real world applications
  • Used in real world applications

Do you like this library?

Donate Bitcoins to 18rdYGVpG5BZ7EFRie65E9pfvMSE47EEfV

Donate Ether to 0x10dcd290c3aa2393c005E981DED566C8fB75C182

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].