=begin
#CoinAPI Market Data REST API

#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
Generator version: 7.14.0

=end

require 'spec_helper'
require 'json'

# Unit tests for OpenapiClient::OrderBookApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'OrderBookApi' do
  before do
    # run before each test
    @api_instance = OpenapiClient::OrderBookApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of OrderBookApi' do
    it 'should create an instance of OrderBookApi' do
      expect(@api_instance).to be_instance_of(OpenapiClient::OrderBookApi)
    end
  end

  # unit tests for v1_orderbooks_symbol_id_current_get
  # Get current order book
  # Retrieves the current order book for the specified symbol.
  # @param symbol_id The symbol ID (from the Metadata -&gt; Symbols)
  # @param [Hash] opts the optional parameters
  # @option opts [Integer] :limit_levels The maximum number of levels to include in the response.
  # @return [V1OrderBookBase]
  describe 'v1_orderbooks_symbol_id_current_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_orderbooks_symbol_id_depth_current_get
  # Current depth of the order book
  # Retrieves the current depth of the order book for the specified symbol.
  # @param symbol_id The symbol ID (from the Metadata -&gt; Symbols)
  # @param [Hash] opts the optional parameters
  # @option opts [Integer] :limit_levels The maximum number of levels to include in the response.
  # @return [V1OrderBookDepth]
  describe 'v1_orderbooks_symbol_id_depth_current_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_orderbooks_symbol_id_history_get
  # Historical data
  # Get historical order book snapshots for a specific symbol within time range, returned in time ascending order.              :::info The historical order book data via the REST API is currently limited by a number of updates and to the maximum number of 20 levels. :::  :::warning The &#39;time_start&#39; and &#39;time_end&#39; parameters must be from the same day as this endpoint provides intraday data only for specific day. Please use the &#39;date&#39; parameter instead for querying data for a specific day without filter. :::
  # @param symbol_id Symbol identifier for requested timeseries (from the Metadata -&gt; Symbols)
  # @param [Hash] opts the optional parameters
  # @option opts [String] :date Date in ISO 8601, returned data is for the whole given day (preferred method, required if &#39;time_start&#39; is not provided)
  # @option opts [String] :time_start Starting time in ISO 8601 (deprecated, use &#39;date&#39; instead)
  # @option opts [String] :time_end Timeseries ending time in ISO 8601 (deprecated, use &#39;date&#39; instead)
  # @option opts [Integer] :limit Amount of items to return (optional, minimum is 1, maximum is 100000, default value is 100, if the parameter is used then every 100 output items are counted as one request)
  # @option opts [Integer] :limit_levels Maximum amount of levels from each side of the book to include in response (optional)
  # @return [Array<V1OrderBook>]
  describe 'v1_orderbooks_symbol_id_history_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_orderbooks_symbol_id_latest_get
  # Latest data
  # Get latest order book snapshots for a specific symbol, returned in time descending order.              :::info The historical order book data via the REST API is currently limited by a number of updates and to the maximum number of 20 levels. :::
  # @param symbol_id Symbol identifier of requested timeseries (from the Metadata -&gt; Symbols)
  # @param [Hash] opts the optional parameters
  # @option opts [Integer] :limit Amount of items to return (optional, mininum is 1, maximum is 100000, default value is 100, if the parameter is used then every 100 output items are counted as one request)
  # @option opts [Integer] :limit_levels Maximum amount of levels from each side of the book to include in response (optional)
  # @return [Array<V1OrderBook>]
  describe 'v1_orderbooks_symbol_id_latest_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

end
