Class BTCTradeSession

java.lang.Object
org.knowm.xchange.btctrade.service.BTCTradeSession

public class BTCTradeSession
extends Object
Represents an API key status.

For one API key, we can only have one single session, and all requests on one session should be synchronized, because:

  1. the BTCTradeSecretData of one API key is single in server side.
  2. the nonce of one API key should be incrementing.
  • Method Details

    • getExchange

      public Exchange getExchange()
    • getKey

      public String getKey()
      Returns the public key of the API key.
      Returns:
      the public key of the API key.
    • getSignatureCreator

      public si.mazi.rescu.ParamsDigest getSignatureCreator() throws IOException
      Throws:
      IOException