Coinbase | 连接 WebSocket API

要连接到 Coinbase WebSocket API,只需创建一个新的 Coinbase API 客户端并将其附加到 TsgcWebSocketClient。 请参见以下示例:


oClient := TsgcWebSocketClient.Create(nil);
oCoinbase := TsgcWSAPI_Coinbase.Create(nil);
oCoinbase.Client := oClient;
oClient.Active := True;