By Admin on Thursday, 17 February 2022
Category: All

Delphi Kucoin Futures API Client

​From sgcWebSockets 2022.3.0, Kucoin Futures API is supported. Kucoin is an international multi-language cryptocurrency exchange. It offers some APIs to access Kucoin data. The following APIs are supported:

REST API: clients can request to server market and account data. Requires an API Key, Secret and Passphrase to authenticate and uses HTTPs as protocol.

How Use the WebSocket Feed API 

In order to connect to Kucoin WebSocket API, just create a new Kucoin API client and attach to TsgcWebSocketClient.

See below an example:

​Kucoin offers a variety of channels where you can subscribe to get real-time updates of market data, orders... Find below a sample of how subscribe to a Ticker:

How Place Orders 

First you must create an API Key in your Kucoin account and add privileges to trading with Futures.

Once this is done, you can start futures trading.

First, set your ApiKey, ApiSecret and Passphrase in the Kucoin Client Component, this will be used to sign the requests sent to Kucoin server.

Related Posts