Connectors/Tinkoff/README.md
This project contains the StockSharp (S#) connector for Tinkoff Invest API. The connector implements a message adapter that communicates with Tinkoff via gRPC and exposes market data and trading capabilities inside the S# infrastructure. Both the live and sandbox (demo) environments are supported.
The source code can be used as a reference for building custom integrations or included directly into your trading applications that rely on StockSharp.
IsDemo is enabledInstantiate TinkoffMessageAdapter, supply your token and specify whether the sandbox should be used:
var adapter = new TinkoffMessageAdapter(TransactionIdGenerator.Default)
{
Token = "<YOUR_TOKEN>".ToSecureString(),
IsDemo = false // true for sandbox trading
};
Attach the adapter to a Connector instance or another component that works with message adapters. You can then subscribe to market data, send orders and track portfolio changes in the usual StockSharp style.
General StockSharp documentation is available at doc.stocksharp.com. The Russian documentation page for the Tinkoff adapter is located here.