spec/api/options_api_spec.rb in intrinio-sdk-5.9.1 vs spec/api/options_api_spec.rb in intrinio-sdk-5.10.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://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.19.0
+OpenAPI spec version: 2.20.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: unset
=end
@@ -30,10 +30,25 @@
it 'should create an instance of OptionsApi' do
expect(@instance).to be_instance_of(Intrinio::OptionsApi)
end
end
+ # unit tests for get_option_expirations_realtime
+ # Option Expirations Realtime
+ # Returns all realtime option contract expiration dates for a given symbol.
+ # @param symbol The option symbol, corresponding to the underlying security.
+ # @param [Hash] opts the optional parameters
+ # @option opts [String] :after Return option contract expiration dates after this date.
+ # @option opts [String] :before Return option contract expiration dates before this date.
+ # @option opts [String] :source Realtime or 15-minute delayed contracts.
+ # @return [ApiResponseOptionsExpirations]
+ describe 'get_option_expirations_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
# Options
# Returns the master list of option contracts for a given symbol.
# @param symbol The option symbol, corresponding to the underlying security.
# @param [Hash] opts the optional parameters
@@ -46,9 +61,29 @@
# @option opts [String] :expiration_before The expiration date of the option contract. This will return options contracts with expiration dates before this date.
# @option opts [Integer] :page_size The number of results to return
# @option opts [String] :next_page Gets the next page of data from a previous API call
# @return [ApiResponseOptions]
describe 'get_options 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_by_symbol_realtime
+ # Options by Symbol Realtime
+ # Returns the master list of realtime option contracts for a given symbol.
+ # @param symbol The option symbol, corresponding to the underlying security.
+ # @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.
+ # @option opts [String] :expiration The expiration date of the option contract. This will return options contracts with expiration dates on this date.
+ # @option opts [String] :expiration_after The expiration date of the option contract. This will return options contracts with expiration dates after this date.
+ # @option opts [String] :expiration_before The expiration date of the option contract. This will return options contracts with expiration dates before this date.
+ # @option opts [String] :source Realtime or 15-minute delayed contracts.
+ # @return [ApiResponseOptionsRealtime]
+ describe 'get_options_by_symbol_realtime test' do
it "should work" do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end