Module: TinkoffInvestClient

Defined in:
lib/tinkoff_invest_client/version.rb,
lib/tinkoff_invest_client.rb,
lib/tinkoff_invest_client/api_error.rb,
lib/tinkoff_invest_client/api_client.rb,
lib/tinkoff_invest_client/api/user_api.rb,
lib/tinkoff_invest_client/models/empty.rb,
lib/tinkoff_invest_client/models/error.rb,
lib/tinkoff_invest_client/models/order.rb,
lib/tinkoff_invest_client/configuration.rb,
lib/tinkoff_invest_client/models/candle.rb,
lib/tinkoff_invest_client/api/market_api.rb,
lib/tinkoff_invest_client/api/orders_api.rb,
lib/tinkoff_invest_client/models/candles.rb,
lib/tinkoff_invest_client/api/sandbox_api.rb,
lib/tinkoff_invest_client/models/currency.rb,
lib/tinkoff_invest_client/models/operation.rb,
lib/tinkoff_invest_client/models/orderbook.rb,
lib/tinkoff_invest_client/models/portfolio.rb,
lib/tinkoff_invest_client/api/portfolio_api.rb,
lib/tinkoff_invest_client/models/currencies.rb,
lib/tinkoff_invest_client/models/operations.rb,
lib/tinkoff_invest_client/models/order_type.rb,
lib/tinkoff_invest_client/api/operations_api.rb,
lib/tinkoff_invest_client/models/money_amount.rb,
lib/tinkoff_invest_client/models/order_status.rb,
lib/tinkoff_invest_client/models/trade_status.rb,
lib/tinkoff_invest_client/models/user_account.rb,
lib/tinkoff_invest_client/models/error_payload.rb,
lib/tinkoff_invest_client/models/user_accounts.rb,
lib/tinkoff_invest_client/models/operation_type.rb,
lib/tinkoff_invest_client/models/order_response.rb,
lib/tinkoff_invest_client/models/instrument_type.rb,
lib/tinkoff_invest_client/models/operation_trade.rb,
lib/tinkoff_invest_client/models/orders_response.rb,
lib/tinkoff_invest_client/models/sandbox_account.rb,
lib/tinkoff_invest_client/models/candles_response.rb,
lib/tinkoff_invest_client/models/operation_status.rb,
lib/tinkoff_invest_client/models/sandbox_currency.rb,
lib/tinkoff_invest_client/models/candle_resolution.rb,
lib/tinkoff_invest_client/models/currency_position.rb,
lib/tinkoff_invest_client/models/market_instrument.rb,
lib/tinkoff_invest_client/models/orderbook_response.rb,
lib/tinkoff_invest_client/models/placed_limit_order.rb,
lib/tinkoff_invest_client/models/portfolio_position.rb,
lib/tinkoff_invest_client/models/portfolio_response.rb,
lib/tinkoff_invest_client/models/broker_account_type.rb,
lib/tinkoff_invest_client/models/limit_order_request.rb,
lib/tinkoff_invest_client/models/operations_response.rb,
lib/tinkoff_invest_client/models/placed_market_order.rb,
lib/tinkoff_invest_client/models/limit_order_response.rb,
lib/tinkoff_invest_client/models/market_order_request.rb,
lib/tinkoff_invest_client/models/market_order_response.rb,
lib/tinkoff_invest_client/models/market_instrument_list.rb,
lib/tinkoff_invest_client/models/user_accounts_response.rb,
lib/tinkoff_invest_client/models/sandbox_register_request.rb,
lib/tinkoff_invest_client/models/search_market_instrument.rb,
lib/tinkoff_invest_client/models/sandbox_register_response.rb,
lib/tinkoff_invest_client/models/market_instrument_response.rb,
lib/tinkoff_invest_client/models/portfolio_currencies_response.rb,
lib/tinkoff_invest_client/models/operation_type_with_commission.rb,
lib/tinkoff_invest_client/models/market_instrument_list_response.rb,
lib/tinkoff_invest_client/models/search_market_instrument_response.rb,
lib/tinkoff_invest_client/models/sandbox_set_currency_balance_request.rb,
lib/tinkoff_invest_client/models/sandbox_set_position_balance_request.rb

Overview

#OpenAPI

#tinkoff.ru/invest OpenAPI.

The version of the OpenAPI document: 1.0.0 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 5.0.1

Defined Under Namespace

Classes: ApiClient, ApiError, BrokerAccountType, Candle, CandleResolution, Candles, CandlesResponse, Configuration, Currencies, Currency, CurrencyPosition, Empty, Error, ErrorPayload, InstrumentType, LimitOrderRequest, LimitOrderResponse, MarketApi, MarketInstrument, MarketInstrumentList, MarketInstrumentListResponse, MarketInstrumentResponse, MarketOrderRequest, MarketOrderResponse, MoneyAmount, Operation, OperationStatus, OperationTrade, OperationType, OperationTypeWithCommission, Operations, OperationsApi, OperationsResponse, Order, OrderResponse, OrderStatus, OrderType, Orderbook, OrderbookResponse, OrdersApi, OrdersResponse, PlacedLimitOrder, PlacedMarketOrder, Portfolio, PortfolioApi, PortfolioCurrenciesResponse, PortfolioPosition, PortfolioResponse, SandboxAccount, SandboxApi, SandboxCurrency, SandboxRegisterRequest, SandboxRegisterResponse, SandboxSetCurrencyBalanceRequest, SandboxSetPositionBalanceRequest, SearchMarketInstrument, SearchMarketInstrumentResponse, TradeStatus, UserAccount, UserAccounts, UserAccountsResponse, UserApi

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

TinkoffInvestClient.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



90
91
92
93
94
95
96
# File 'lib/tinkoff_invest_client.rb', line 90

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end