spec/api/options_api_spec.rb in intrinio-sdk-5.15.0 vs spec/api/options_api_spec.rb in intrinio-sdk-5.16.0

- old
+ new

@@ -1,11 +1,11 @@ =begin #Intrinio API #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://docs.intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner. -OpenAPI spec version: 2.25.6 +OpenAPI spec version: 2.26.1 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: unset =end @@ -130,10 +130,27 @@ it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + # unit tests for get_options_chain_eod + # Options Chain EOD + # Returns all EOD options contracts and their prices for the given symbol and expiration date. + # @param symbol The option symbol, corresponding to the underlying security. + # @param expiration The expiration date of the options contract + # @param [Hash] opts the optional parameters + # @option opts [String] :type The option contract type. + # @option opts [Float] :strike The strike price of the option contract. This will return options contracts with strike price equal to this price. + # @option opts [Float] :strike_greater_than The strike price of the option contract. This will return options contracts with strike prices greater than this price. + # @option opts [Float] :strike_less_than The strike price of the option contract. This will return options contracts with strike prices less than this price. + # @return [ApiResponseOptionsChainEod] + describe 'get_options_chain_eod test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for get_options_chain_realtime # Options Chain Realtime # Returns all realtime options contracts and their prices for the given symbol and expiration date. # @param symbol The option symbol, corresponding to the underlying security. # @param expiration The expiration date of the options contract @@ -191,9 +208,21 @@ # @param body The contract symbols for which to return options prices for. # @param [Hash] opts the optional parameters # @option opts [String] :source Realtime or 15-minute delayed contracts. # @return [ApiResponseOptionsPricesBatchRealtime] describe 'get_options_prices_batch_realtime test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_options_prices_eod + # Option Prices EOD + # Returns all option prices for a given option contract identifier. + # @param identifier The Intrinio ID or code of the options contract to request prices for. + # @param [Hash] opts the optional parameters + # @return [ApiResponseOptionsPricesEod] + describe 'get_options_prices_eod test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end