Currencies — список валют
https://invest-public-api.tbank.ru/rest/tinkoff.public.invest.api.contract.v1.InstrumentsService/Currencies
Запрос
Request body schema application/json
instrumentStatus
String (v1InstrumentStatus)
Requirements: [INSTRUMENT_STATUS_UNSPECIFIED, INSTRUMENT_STATUS_BASE, INSTRUMENT_STATUS_ALL]
Default: INSTRUMENT_STATUS_UNSPECIFIED
Статус запрашиваемых инструментов.
- INSTRUMENT_STATUS_UNSPECIFIED: Значение не определено.
- INSTRUMENT_STATUS_BASE: По умолчанию — базовый список инструментов, которыми можно торговать через T-Invest API. Сейчас списки доступных бумаг в API и других интерфейсах совпадают — кроме внебиржевых бумаг, но в будущем списки могут различаться.
- INSTRUMENT_STATUS_ALL: Список всех инструментов.
instrumentExchange
String (v1InstrumentExchangeType)
Requirements: [INSTRUMENT_EXCHANGE_UNSPECIFIED, INSTRUMENT_EXCHANGE_DEALER]
Default: INSTRUMENT_EXCHANGE_UNSPECIFIED
Площадка торговли.
- INSTRUMENT_EXCHANGE_UNSPECIFIED: Площадка торговли не определена.
- INSTRUMENT_EXCHANGE_DEALER: Бумага, торгуемая у дилера.
Ответ
Это полезный материал?
Запрос
Пример запроса
Payload
cURL
Go
Java
NodeJs
PHP
Python
Content type
application/json
{
"instrumentStatus":
"INSTRUMENT_STATUS_UNSPECIFIED",
"instrumentExchange":
"INSTRUMENT_EXCHANGE_UNSPECIFIED"
}
Пример ответа
Content type
application/json
{
"instruments": [
{ ... },
"isoCurrencyName":
"isoCurrencyName",
"figi":
"figi",
"dshortMin": {
"nano":
6,
"units":
"units"
"countryOfRisk":
"countryOfRisk",
"lot":
0,
"uid":
"uid",
"requiredTests": [
"requiredTests",
"requiredTests"
"blockedTcaFlag":
true,
"dlong": {
"nano":
6,
"units":
"units"
"dlongClient": {
"nano":
6,
"units":
"units"
"nominal": {
"nano":
5,
"currency":
"currency",
"units":
"units"
"sellAvailableFlag":
true,
"currency":
"currency",
"first1dayCandleDate":
"2000-01-23T04:56:07.000Z",
"brand": {
"logoName":
"logoName",
"logoBaseColor":
"logoBaseColor",
"textColor":
"textColor"
"buyAvailableFlag":
true,
"weekendFlag":
true,
"classCode":
"classCode",
"ticker":
"ticker",
"forQualInvestorFlag":
true,
"forIisFlag":
true,
"positionUid":
"positionUid",
"apiTradeAvailableFlag":
true,
"dlongMin": {
"nano":
6,
"units":
"units"
"shortEnabledFlag":
true,
"kshort": {
"nano":
6,
"units":
"units"
"first1minCandleDate":
"2000-01-23T04:56:07.000Z",
"minPriceIncrement": {
"nano":
6,
"units":
"units"
"otcFlag":
true,
"dshortClient": {
"nano":
6,
"units":
"units"
"klong": {
"nano":
6,
"units":
"units"
"dshort": {
"nano":
6,
"units":
"units"
"name":
"name",
"exchange":
"exchange",
"countryOfRiskName":
"countryOfRiskName",
"isin":
"isin"
{ ... }
"isoCurrencyName":
"isoCurrencyName",
"figi":
"figi",
"dshortMin": {
"nano":
6,
"units":
"units"
"countryOfRisk":
"countryOfRisk",
"lot":
0,
"uid":
"uid",
"requiredTests": [
"requiredTests",
"requiredTests"
"blockedTcaFlag":
true,
"dlong": {
"nano":
6,
"units":
"units"
"dlongClient": {
"nano":
6,
"units":
"units"
"nominal": {
"nano":
5,
"currency":
"currency",
"units":
"units"
"sellAvailableFlag":
true,
"currency":
"currency",
"first1dayCandleDate":
"2000-01-23T04:56:07.000Z",
"brand": {
"logoName":
"logoName",
"logoBaseColor":
"logoBaseColor",
"textColor":
"textColor"
"buyAvailableFlag":
true,
"weekendFlag":
true,
"classCode":
"classCode",
"ticker":
"ticker",
"forQualInvestorFlag":
true,
"forIisFlag":
true,
"positionUid":
"positionUid",
"apiTradeAvailableFlag":
true,
"dlongMin": {
"nano":
6,
"units":
"units"
"shortEnabledFlag":
true,
"kshort": {
"nano":
6,
"units":
"units"
"first1minCandleDate":
"2000-01-23T04:56:07.000Z",
"minPriceIncrement": {
"nano":
6,
"units":
"units"
"otcFlag":
true,
"dshortClient": {
"nano":
6,
"units":
"units"
"klong": {
"nano":
6,
"units":
"units"
"dshort": {
"nano":
6,
"units":
"units"
"name":
"name",
"exchange":
"exchange",
"countryOfRiskName":
"countryOfRiskName",
"isin":
"isin"
}