Class 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 Detail

      • 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