Connectors/FTX/README.md
This folder contains the source code of the FTX connector for the StockSharp trading platform. The connector allows applications built on top of S# to interact with the former FTX cryptocurrency exchange via both REST and WebSocket APIs.
MessageAdapter.The adapter is configured through the following properties:
Key – API key issued by FTX.Secret – API secret corresponding to the key.SubaccountName – optional sub‑account name for trading and data requests.These values can be saved to and loaded from a SettingsStorage object. When using transactional features (order management or portfolio information) the key and secret must be specified.
Create an instance of FtxMessageAdapter and pass it to Connector or another component that consumes message adapters:
var adapter = new FtxMessageAdapter(transactionIdGenerator)
{
Key = mySecureApiKey,
Secret = mySecureApiSecret,
SubaccountName = "optional-subaccount"
};
Once connected, subscribe to the desired market data or send order messages according to the StockSharp API. See the source files in this directory for implementation details.
FTX filed for bankruptcy in 2022 and the exchange is no longer operational. The connector is provided for reference and historical purposes.