Sha256: 77b38980698a9d78deec39d8813c25bb28eece704c30e8d471d851b5faec39bc
Contents?: true
Size: 398 Bytes
Versions: 2
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal: true module TinkoffInvest module V1 module Market module Orderbook 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 end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tinkoff_invest-0.2.1 | lib/tinkoff_invest/v1/market/orderbook.rb |
tinkoff_invest-0.2.0 | lib/tinkoff_invest/v1/market/orderbook.rb |