All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.knowm.xchange.tradeogre.TradeOgreExchange Maven / Gradle / Ivy

package org.knowm.xchange.tradeogre;

import org.knowm.xchange.BaseExchange;
import org.knowm.xchange.ExchangeSpecification;
import org.knowm.xchange.tradeogre.service.TradeOgreAccountService;
import org.knowm.xchange.tradeogre.service.TradeOgreMarketDataService;
import org.knowm.xchange.tradeogre.service.TradeOgreTradeService;

public class TradeOgreExchange extends BaseExchange {

  @Override
  protected void initServices() {
    marketDataService = new TradeOgreMarketDataService(this);
    accountService = new TradeOgreAccountService(this);
    tradeService = new TradeOgreTradeService(this);
  }

  @Override
  public ExchangeSpecification getDefaultExchangeSpecification() {

    ExchangeSpecification exchangeSpecification = new ExchangeSpecification(this.getClass());
    exchangeSpecification.setSslUri("https://tradeogre.com/api/v1");
    exchangeSpecification.setHost("tradeogre.com");
    exchangeSpecification.setPort(80);
    exchangeSpecification.setExchangeName("TradeOgre");
    exchangeSpecification.setExchangeDescription("TradeOgre is a cryptocurrency exchange.");
    return exchangeSpecification;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy