Search in sources :

Example 21 with Exchange

use of org.knowm.xchange.Exchange in project XChange by knowm.

the class KrakenMarketOrderDemo method main.

public static void main(String[] args) throws IOException {
    Exchange krakenExchange = KrakenExampleUtils.createTestExchange();
    generic(krakenExchange);
    raw(krakenExchange);
}
Also used : Exchange(org.knowm.xchange.Exchange)

Example 22 with Exchange

use of org.knowm.xchange.Exchange in project XChange by knowm.

the class KrakenTradeHistoryDemo method main.

public static void main(String[] args) throws IOException {
    Exchange krakenExchange = KrakenExampleUtils.createTestExchange();
    generic(krakenExchange);
    raw(krakenExchange);
}
Also used : Exchange(org.knowm.xchange.Exchange)

Example 23 with Exchange

use of org.knowm.xchange.Exchange in project XChange by knowm.

the class LakeBTCCancelOrderDemo method main.

public static void main(String[] args) throws IOException {
    Exchange lakebtcExchange = LakeBTCExamplesUtils.createTestExchange();
    generic(lakebtcExchange);
    raw(lakebtcExchange);
}
Also used : Exchange(org.knowm.xchange.Exchange)

Example 24 with Exchange

use of org.knowm.xchange.Exchange in project XChange by knowm.

the class LakeBTCTradeHistoryDemo method main.

public static void main(String[] args) throws IOException {
    Exchange lakebtcExchange = LakeBTCExamplesUtils.createTestExchange();
    generic(lakebtcExchange);
    raw(lakebtcExchange);
}
Also used : Exchange(org.knowm.xchange.Exchange)

Example 25 with Exchange

use of org.knowm.xchange.Exchange in project XChange by knowm.

the class LivecoinExchangeDemo method main.

public static void main(String[] args) throws IOException {
    Exchange exchange = ExchangeFactory.INSTANCE.createExchange(LivecoinExchange.class);
    System.out.println("ExchangeMetaData toString(): " + exchange.getExchangeMetaData().toString());
    System.out.println("ExchangeMetaData toJSONString(): " + exchange.getExchangeMetaData().toJSONString());
    System.out.println("Currency Pairs: " + exchange.getExchangeSymbols());
}
Also used : LivecoinExchange(org.knowm.xchange.livecoin.LivecoinExchange) Exchange(org.knowm.xchange.Exchange)

Aggregations

Exchange (org.knowm.xchange.Exchange)416 MarketDataService (org.knowm.xchange.service.marketdata.MarketDataService)155 Test (org.junit.Test)120 ExchangeSpecification (org.knowm.xchange.ExchangeSpecification)93 CurrencyPair (org.knowm.xchange.currency.CurrencyPair)64 TradeService (org.knowm.xchange.service.trade.TradeService)62 Ticker (org.knowm.xchange.dto.marketdata.Ticker)50 AccountService (org.knowm.xchange.service.account.AccountService)38 OrderBook (org.knowm.xchange.dto.marketdata.OrderBook)31 IOException (java.io.IOException)28 LimitOrder (org.knowm.xchange.dto.trade.LimitOrder)27 BigDecimal (java.math.BigDecimal)25 Trades (org.knowm.xchange.dto.marketdata.Trades)22 CoinsuperExchange (org.knowm.xchange.coinsuper.CoinsuperExchange)15 KrakenExchange (org.knowm.xchange.kraken.KrakenExchange)15 OpenOrders (org.knowm.xchange.dto.trade.OpenOrders)12 MercadoBitcoinExchange (org.knowm.xchange.mercadobitcoin.MercadoBitcoinExchange)12 CoinmateExchange (org.knowm.xchange.coinmate.CoinmateExchange)10 UserTrades (org.knowm.xchange.dto.trade.UserTrades)10 ArrayList (java.util.ArrayList)9