/** * wsInit WebSocketClient * @return IdaxApiWebSocketClient */ public static IdaxApiWebSocketClient wsInit() { IdaxApiClientFactory webSocketClient = IdaxApiClientFactory.NewInstance(API_KEY, SECRET, WS_API_BASE_URL); return(webSocketClient.newWebSocketClient()); }
/** * init IdaxApiClientFactory * * @return IdaxApiRestClient */ public static IdaxApiRestClient init() { IdaxApiClientFactory factory = IdaxApiClientFactory.NewInstance(API_KEY, SECRET, API_BASE_URL); return(factory.newRestClient()); }