# Rust API client for openapi tinkoff.ru/invest OpenAPI. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 1.0.0 - Package version: 1.0.0 - Build package: org.openapitools.codegen.languages.RustClientCodegen ## Installation Add the following to `Cargo.toml` under `[dependencies]`: ``` tinkoff-api = 1.0.0 ``` ## Documentation for API Endpoints All URIs are relative to *https://api-invest.tinkoff.ru/openapi* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *MarketApi* | [**market_bonds_get**](docs/MarketApi.md#market_bonds_get) | **get** /market/bonds | Получение списка облигаций *MarketApi* | [**market_candles_get**](docs/MarketApi.md#market_candles_get) | **get** /market/candles | Получение исторических свечей по FIGI *MarketApi* | [**market_currencies_get**](docs/MarketApi.md#market_currencies_get) | **get** /market/currencies | Получение списка валютных пар *MarketApi* | [**market_etfs_get**](docs/MarketApi.md#market_etfs_get) | **get** /market/etfs | Получение списка ETF *MarketApi* | [**market_orderbook_get**](docs/MarketApi.md#market_orderbook_get) | **get** /market/orderbook | Получение стакана по FIGI *MarketApi* | [**market_search_by_figi_get**](docs/MarketApi.md#market_search_by_figi_get) | **get** /market/search/by-figi | Получение инструмента по FIGI *MarketApi* | [**market_search_by_ticker_get**](docs/MarketApi.md#market_search_by_ticker_get) | **get** /market/search/by-ticker | Получение инструмента по тикеру *MarketApi* | [**market_stocks_get**](docs/MarketApi.md#market_stocks_get) | **get** /market/stocks | Получение списка акций *OperationsApi* | [**operations_get**](docs/OperationsApi.md#operations_get) | **get** /operations | Получение списка операций *OrdersApi* | [**orders_cancel_post**](docs/OrdersApi.md#orders_cancel_post) | **post** /orders/cancel | Отмена заявки *OrdersApi* | [**orders_get**](docs/OrdersApi.md#orders_get) | **get** /orders | Получение списка активных заявок *OrdersApi* | [**orders_limit_order_post**](docs/OrdersApi.md#orders_limit_order_post) | **post** /orders/limit-order | Создание лимитной заявки *OrdersApi* | [**orders_market_order_post**](docs/OrdersApi.md#orders_market_order_post) | **post** /orders/market-order | Создание рыночной заявки *PortfolioApi* | [**portfolio_currencies_get**](docs/PortfolioApi.md#portfolio_currencies_get) | **get** /portfolio/currencies | Получение валютных активов клиента *PortfolioApi* | [**portfolio_get**](docs/PortfolioApi.md#portfolio_get) | **get** /portfolio | Получение портфеля клиента *SandboxApi* | [**sandbox_clear_post**](docs/SandboxApi.md#sandbox_clear_post) | **post** /sandbox/clear | Удаление всех позиций *SandboxApi* | [**sandbox_currencies_balance_post**](docs/SandboxApi.md#sandbox_currencies_balance_post) | **post** /sandbox/currencies/balance | Выставление баланса по валютным позициям *SandboxApi* | [**sandbox_positions_balance_post**](docs/SandboxApi.md#sandbox_positions_balance_post) | **post** /sandbox/positions/balance | Выставление баланса по инструментным позициям *SandboxApi* | [**sandbox_register_post**](docs/SandboxApi.md#sandbox_register_post) | **post** /sandbox/register | Регистрация клиента в sandbox *SandboxApi* | [**sandbox_remove_post**](docs/SandboxApi.md#sandbox_remove_post) | **post** /sandbox/remove | Удаление счета *UserApi* | [**user_accounts_get**](docs/UserApi.md#user_accounts_get) | **get** /user/accounts | Получение брокерских счетов клиента ## Documentation For Models - [BrokerAccountType](docs/BrokerAccountType.md) - [Candle](docs/Candle.md) - [CandleResolution](docs/CandleResolution.md) - [Candles](docs/Candles.md) - [CandlesResponse](docs/CandlesResponse.md) - [Currencies](docs/Currencies.md) - [Currency](docs/Currency.md) - [CurrencyPosition](docs/CurrencyPosition.md) - [Empty](docs/Empty.md) - [Error](docs/Error.md) - [ErrorPayload](docs/ErrorPayload.md) - [InstrumentType](docs/InstrumentType.md) - [LimitOrderRequest](docs/LimitOrderRequest.md) - [LimitOrderResponse](docs/LimitOrderResponse.md) - [MarketInstrument](docs/MarketInstrument.md) - [MarketInstrumentList](docs/MarketInstrumentList.md) - [MarketInstrumentListResponse](docs/MarketInstrumentListResponse.md) - [MarketInstrumentResponse](docs/MarketInstrumentResponse.md) - [MarketOrderRequest](docs/MarketOrderRequest.md) - [MarketOrderResponse](docs/MarketOrderResponse.md) - [MoneyAmount](docs/MoneyAmount.md) - [Operation](docs/Operation.md) - [OperationStatus](docs/OperationStatus.md) - [OperationTrade](docs/OperationTrade.md) - [OperationType](docs/OperationType.md) - [OperationTypeWithCommission](docs/OperationTypeWithCommission.md) - [Operations](docs/Operations.md) - [OperationsResponse](docs/OperationsResponse.md) - [Order](docs/Order.md) - [OrderResponse](docs/OrderResponse.md) - [OrderStatus](docs/OrderStatus.md) - [OrderType](docs/OrderType.md) - [Orderbook](docs/Orderbook.md) - [OrderbookResponse](docs/OrderbookResponse.md) - [OrdersResponse](docs/OrdersResponse.md) - [PlacedLimitOrder](docs/PlacedLimitOrder.md) - [PlacedMarketOrder](docs/PlacedMarketOrder.md) - [Portfolio](docs/Portfolio.md) - [PortfolioCurrenciesResponse](docs/PortfolioCurrenciesResponse.md) - [PortfolioPosition](docs/PortfolioPosition.md) - [PortfolioResponse](docs/PortfolioResponse.md) - [SandboxAccount](docs/SandboxAccount.md) - [SandboxCurrency](docs/SandboxCurrency.md) - [SandboxRegisterRequest](docs/SandboxRegisterRequest.md) - [SandboxRegisterResponse](docs/SandboxRegisterResponse.md) - [SandboxSetCurrencyBalanceRequest](docs/SandboxSetCurrencyBalanceRequest.md) - [SandboxSetPositionBalanceRequest](docs/SandboxSetPositionBalanceRequest.md) - [SearchMarketInstrument](docs/SearchMarketInstrument.md) - [SearchMarketInstrumentResponse](docs/SearchMarketInstrumentResponse.md) - [TradeStatus](docs/TradeStatus.md) - [UserAccount](docs/UserAccount.md) - [UserAccounts](docs/UserAccounts.md) - [UserAccountsResponse](docs/UserAccountsResponse.md) To get access to the crate's generated documentation, use: ``` cargo doc --open ``` ## Author al.a.volkov@tinkoff.ru