module TinkoffInvest::V1::Market::Orderbook

Public Instance Methods

orderbook(figi:, depth: 0) click to toggle source
# File lib/tinkoff_invest/v1/market/orderbook.rb, line 7
def orderbook(figi:, depth: 0)
  response = connection.get('market/orderbook') do |request|
    request.params['figi'] = figi
    request.params['depth'] = depth
  end
  response.body if response.success?
end