Skip to content

Как связать между собой валюту из избранного и валюту из инструментов? #362

Open
ivangurin opened this issue Jan 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ivangurin
Copy link

ivangurin commented Jan 31, 2023

Получаю валюту из избранного:
{ "figi": "TCS0013HRTL0", "ticker": "CNYRUB", "class_code": "EES_CETS", "isin": "", "instrument_type": "currency", "otc_flag": false, "api_trade_available_flag": false, "instrument_kind": "INSTRUMENT_TYPE_CURRENCY" }

И получаю ту же валюту из инструментов:
{ "figi": "BBG0013HRTL0", "ticker": "CNYRUB_TOM", "class_code": "CETS", "isin": "", "lot": 1000, "currency": "rub", "klong": { "units": "2", "nano": 0 }, "kshort": { "units": "2", "nano": 0 }, "dlong": { "units": "0", "nano": 300000000 }, "dshort": { "units": "0", "nano": 300000000 }, "dlong_min": { "units": "0", "nano": 163300000 }, "dshort_min": { "units": "0", "nano": 140200000 }, "short_enabled_flag": true, "name": "Юань", "exchange": "FX", "nominal": { "currency": "cny", "units": "1", "nano": 0 }, "country_of_risk": "", "country_of_risk_name": "", "trading_status": "SECURITY_TRADING_STATUS_NOT_AVAILABLE_FOR_TRADING", "otc_flag": false, "buy_available_flag": true, "sell_available_flag": true, "iso_currency_name": "cny", "min_price_increment": { "units": "0", "nano": 1000000 }, "api_trade_available_flag": true, "uid": "4587ab1d-a9c9-4910-a0d6-86c7b9c42510", "real_exchange": "REAL_EXCHANGE_MOEX", "position_uid": "176c3dbf-b346-48a6-b20c-daa9d028f031", "for_iis_flag": true, "for_qual_investor_flag": false, "weekend_flag": false, "blocked_tca_flag": false, "first_1min_candle_date": { "seconds": "1520450880", "nanos": 0 }, "first_1day_candle_date": { "seconds": "742176000", "nanos": 0 } },

Почему у них figi и tiсker разные? Как мне их связать между собой? Инструмент по figi TCS0013HRTL0 ни какой не находится.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants