Bitmex | Connexion à l'API WebSocket

Pour se connecter à l'API WebSocket Bitmex, créez simplement un nouveau client Bitmex API et attachez-le à TsgcWebSocketClient.

Voir ci-dessous un exemple :


oClient := TsgcWebSocketClient.Create(nil);
oBitmex := TsgcWSAPI_Bitmex.Create(nil);
oBitmex .Client := oClient;
oClient.Active := True;