Binance | Connexion à l'API WebSocket

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

Voir ci-dessous un exemple :


oClient := TsgcWebSocketClient.Create(nil);
oBinance := TsgcWSAPI_Binance.Create(nil);
oBinance.Client := oClient;
oClient.Active := True;