# Т-Инвестиции

Инвестиционный API — портфель, котировки, свечи, заявки, поиск инструментов

## Scenarios

### Portfolio composition
The agent shows the portfolio across all brokerage accounts: which securities you hold, in what proportions and what they are worth right now.

### Quotes and dynamics
The agent collects quotes and candles for the securities you need and works out how your position moved over the chosen period.

### Finding an instrument
The agent finds an instrument by ticker, name or ISIN and shows its parameters, so you do not have to look the security up in the app.

### Portfolio summary
The agent sends a summary on a schedule: portfolio value, returns and notable moves over the trading day.

## How to connect

### Open a brokerage account and pass verification
T-Invest API access is granted only after you open a brokerage account and confirm your identity. For Invest Piggy Bank, Turnkey Account and Smart Account a per-account token cannot be issued.

### Turn off trade confirmation by code
While «Подтверждение сделок кодом» (trade confirmation by code) is on, the token cannot be issued. Note the other ceiling: trades above RUB 30,000,000 need confirmation and are unavailable via API.

### Issue the token in your profile settings
Web version only: настройки профиля Т-Инвестиции (T-Investments profile settings) at tbank.ru/invest/settings → issue a T-Invest API token for the exchange. read-only covers portfolio and quotes; full-access is for orders.

### Copy the token at once — it is shown only once
The value is visible only at issue time and is never shown again, so save the string. The token lives three months from its last use; after idling the API returns error 40003 and you issue a new one.

## FAQ

### How do I connect T-Investments?
With a T-Invest API token: it is issued only in the web version, in profile settings at tbank.ru/invest/settings. Read-only mode is enough for the portfolio and quotes, while full access is needed for orders. The value is shown once and lives for three months from the last use.

### What does the agent see in T-Investments?
Brokerage accounts and portfolio composition, quotes and candles for instruments, the securities reference and placed orders — within the rights of the connected token.

### Is this the same as T-Bank Business?
No. T-Investments is a brokerage account: securities, quotes and orders. The current account, statements and payment orders live in the separate T-Bank Business connector.

### Can the agent place an order?
Only if you issued a token with full access — the API will not accept an order on a read-only token. The agent confirms such actions with you before sending them to the exchange.

[Open Т-Инвестиции](https://www.tbank.ru/invest/settings/)
