Skip to Content
ConnectionsMOEXT-Invest API

Connecting to T-Invest API

To connect T-Invest API, issue an API token in your T-Investments account dashboard and enter it in the JetScalp connection settings.

1.Issue a T-Invest API token

Open your T-Investments account dashboard, sign in and issue a new token in Settings («Настройки») → API tokens («Токены API»).

T-Invest API issues tokens with different access levels:

  • Read only («Только чтение») — quotes, portfolio information and other data, but no order placement.
  • Full access («Полный доступ») — data and trading operations.
  • Sandbox («Песочница») — the test environment only.

To trade from JetScalp, select Full access.

2.Copy the token

After the token is issued, T-Bank displays it. Copy it and keep it in a safe place.

Important: The token is shown only once — after you close the page you cannot view it again. If you lose it, issue a new one.

The token looks something like this:

t.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Paste the token as is, without formatting. You do not need to add Bearer.

3.Add the connection in JetScalp

Open Settings Settings → Connections, click Add connection below the connection list and click the tile T-Invest API. The connection appears in the list, and its settings appear on the right.

Fill in the connection settings:

FieldValue
NameThe connection name in the list. By default it is the exchange or broker name; you can change it.
T-Invest API tokenThe token obtained in your T-Investments account dashboard.
ProxyA proxy from the list or None. See Proxy settings.
Receive market dataReceive market data through this connection. On by default; turn it off if quotes come from another connection.

4.Turn on the connection and check

Turn the connection on with the switch on the right of its row in the list. The state appears under the connection name: first connecting…, then connected. If the connection fails, the error text appears there — the full text is shown in the tooltip and in the header of the connection settings. For all states, see Connections.

Check that:

  • T-Invest API is connected.
  • The account balance is shown.
  • Orders are placed and canceled.

If Receive market data is on, JetScalp starts receiving market data.

If the connection does not work

Check that:

  • the token is copied completely;
  • the token has Full access;
  • the token has not been revoked in your account dashboard;
  • you have an active T-Investments brokerage account;
  • your internet connection is working;
  • the proxy settings are correct, if you selected a proxy.

The message “T-Invest API token is not set.” means the T-Invest API token field is empty — paste the token into it.

Error 40003 from the API means the token is invalid or expired — issue a new one.

Token expiration

A T-Invest API token is valid for three months from the date it was last used, so regular use of JetScalp keeps extending it.

If the token stops working, issue a new one in Settings → API tokens.

Last updated on