예제 #1
0
        /**
         * wsInit  WebSocketClient
         * @return IdaxApiWebSocketClient
         */
        public static IdaxApiWebSocketClient wsInit()
        {
            IdaxApiClientFactory webSocketClient = IdaxApiClientFactory.NewInstance(API_KEY, SECRET, WS_API_BASE_URL);

            return(webSocketClient.newWebSocketClient());
        }
예제 #2
0
        /**
         * init IdaxApiClientFactory
         *
         * @return IdaxApiRestClient
         */
        public static IdaxApiRestClient init()
        {
            IdaxApiClientFactory factory = IdaxApiClientFactory.NewInstance(API_KEY, SECRET, API_BASE_URL);

            return(factory.newRestClient());
        }