Kraken Futures API

From sgcWebSockets 4.4.8 Kraken Futures API is supported https://futures.kraken.com/ The following APIs are supported: WebSockets Public API: connects to a public WebSocket server.WebSockets Private API: connects to a private WebSocket server and requires an API Key and API Secret to Authenticate against server.REST Public API: connects to a p...

Continue reading

OpenSSL Perfect Forward Secrecy

From sgcWebSockets 4.4.8 there are small modifications in library to improve security of connections. One of them is Perfect Forward Secrecy When you use the RSA key exchange mechanism, it creates a link between the server's key pair and the session key created for each unique secure session. Thus, if an attacker is ever able to get hold ...

Continue reading

Coinbase Pro REST API

From sgcWebSockets 4.4.8, Coinbase Pro REST API is fully supported. The REST API allows to access to public Market Data and Private Accounts, place new orders... sgcWebSockets library supports the following endpoints Authentication, Accounts, Orders,  Fills, Limits, Deposits, Withdrawals, Stablecoin...

Continue reading

WebSocket Masked Messages

From sgcWebSockets 4.4.8 the Log of websocket messages has been improved. Till now, the messages were saved as was sent/received by socket, this means that when a websocket message was sent by websocket client, this was first masked and then saved to log. As the message was masked, it can't be read easily so the log was useless for the websock...

Continue reading

sgcWebSockets 4.4.7

Here is the comprehensive list of new features and bug fixes included in sgcWebSockets 4.4.7: [+] : New Client Component TsgcWSAPI_Coinbase, Coinbase is a platform that allows to buy, sell and store cryptocurrencies like Bitcoin, Ethereum... [+] : Improved Demo 01.WebSocket_Quick_Start\02.WebSocket_Clients_APIs, a new Tab has been added to show how...

Continue reading

SChannel Certificates

From sgcWebSockets 4.4.7 the use of Certificates using SChannel as crypto library is supported. The SChannel implementation supports 2 types of certificate authentication: 1. Using a PFX certificate 2. Setting the Hash Thumbprint of an already installed certificate in the windows system. PFX Certificate  PFX Certificate is a file that con...

Continue reading

Socket.IO 3 API support

From sgcWebSockets 4.4.7, Socket.IO 3 API is supported.  Now by default, when you create an instance of Socket.IO Client, it's configured against API 3.* Sample  Find below a simple sample of how connect to Socket.IO API 3 server // create websocket clientoClient := TsgcWebSocketClient.Create(nil);oClient.Host := 'socketio-chat-h9jt.herok...

Continue reading

Binance Futures APIs USDT and COIN

From sgcWebSockets 4.4.7, both Binance Futures APIs are supported: USDT and COIN. USD Futures: https://binance-docs.github.io/apidocs/futures/en COIN Futures: https://binance-docs.github.io/apidocs/delivery/en Configuration  Client can connect to USDT or COIN Binance Futures, set which contract you want to trade using FuturesCon...

Continue reading

Coinbase WebSocket API

From sgcWebSockets 4.4.7, Coinbase WebSocket API is supported. Coinbase is a platform that allows to sell, buy and store cryptocurrencies like Ethereum, Bitcoin... WebSocket API allow to receive in real-time ticker updates, status, tickers, book deepth and more. How Connect to Coinbase oClient := TsgcWebSocketClient.Create(nil);oCoinbase := TsgcWSA...

Continue reading

Telegram Bot Chat not found

When you log as bot, the GetChats method cannot be used, so you don't get All available chats. If it's the first time you login as Bot and you try to send a message to a known Chat, you will get this error: {"@type":"error","code":5,"message":"Chat not found"} The solution is before send a telegram message, call GetChat method and pass the ChatId a...

Continue reading