Examples of AtlasCurrencyPair


Examples of com.xeiam.xchange.atlasats.dtos.AtlasCurrencyPair

  @Override
  public AtlasCurrencyPair translate(Map<String, Object> map) {

    String baseSymbol = (String) map.get("item");
    String counterSymbol = (String) map.get("currency");
    AtlasCurrencyPair currencyPair = new AtlasCurrencyPair(baseSymbol, counterSymbol);
    return currencyPair;
  }
View Full Code Here

Examples of com.xeiam.xchange.atlasats.dtos.AtlasCurrencyPair

      expirationDate = new SimpleDateFormat("yyyy-mm-dd").parse((String) sourceObject.get("exp"));
    } catch (ParseException e) {
      e.printStackTrace();
      return null;
    }
    AtlasCurrencyPair currencyPair = new AtlasCurrencyPair(baseSymbol, counterSymbol);

    AtlasOptionContract optionContract = new AtlasOptionContract();
    optionContract.setId(BigInteger.valueOf(id));
    optionContract.setDescription(description);
    optionContract.setCurrencyPair(currencyPair);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.