diff --git a/README.md b/README.md index 3912054..7e3a91e 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ To get an API key, [sign up here](https://intrinio.com/). 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. -- API version: 2.26.12 -- Package version: 5.18.0 +- API version: 2.27.2 +- Package version: 5.19.0 diff --git a/docs/CompanyApi.md b/docs/CompanyApi.md index 3ef9e69..49e4a77 100644 --- a/docs/CompanyApi.md +++ b/docs/CompanyApi.md @@ -1202,7 +1202,7 @@ Name | Type | Description | Notes [//]: # (START_OVERVIEW) -> ApiResponseInsiderTransactionFilings InsiderTransactionFilingsByCompany (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string nextPage = null) +> ApiResponseInsiderTransactionFilings InsiderTransactionFilingsByCompany (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string sortBy = null, string nextPage = null) #### Insider Transaction Filings by Company @@ -1240,9 +1240,10 @@ namespace Example DateTime? endDate = DateTime.Parse("2019-01-01"); string ownershipType = "D"; int? pageSize = 100; + string sortBy = "updated_on"; string nextPage = null; - ApiResponseInsiderTransactionFilings result = companyApi.InsiderTransactionFilingsByCompany(identifier, startDate, endDate, ownershipType, pageSize, nextPage); + ApiResponseInsiderTransactionFilings result = companyApi.InsiderTransactionFilingsByCompany(identifier, startDate, endDate, ownershipType, pageSize, sortBy, nextPage); Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented)); } } @@ -1263,6 +1264,7 @@ Name | Type | Description | Notes **endDate** | DateTime?| Return Company's insider transaction filings on or before this date | [optional]   **ownershipType** | string| The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. | [optional]   **pageSize** | int?| The number of results to return | [optional] [default to 100]   + **sortBy** | string| The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. | [optional]   **nextPage** | string| Gets the next page of data from a previous API call | [optional]  
diff --git a/docs/ETFAnalytics.md b/docs/ETFAnalytics.md index 5f110cd..619c2fb 100644 --- a/docs/ETFAnalytics.md +++ b/docs/ETFAnalytics.md @@ -9,6 +9,7 @@ Name | Type | Description ------------ | ------------- | ------------- +**Date** | DateTime? | The calendar date these analytics represent.   **FiftyTwoWeekHigh** | decimal? | Highest trading price for the security in the preceding 52 weeks   **FiftyTwoWeekLow** | decimal? | Lowest trading price for the security in the preceding 52 weeks   **VolumeTraded** | decimal? | The total quantity of shares traded on the latest trading day   diff --git a/docs/InsiderTransactionFilingsApi.md b/docs/InsiderTransactionFilingsApi.md index 21a4cb0..45341f7 100644 --- a/docs/InsiderTransactionFilingsApi.md +++ b/docs/InsiderTransactionFilingsApi.md @@ -33,7 +33,7 @@ Method | HTTP request | Description [//]: # (START_OVERVIEW) -> ApiResponseOwnerInsiderTransactionFilings GetAllInsiderTransactionFilings (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null) +> ApiResponseOwnerInsiderTransactionFilings GetAllInsiderTransactionFilings (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null) #### All Insider Transactions Filings @@ -69,9 +69,10 @@ namespace Example DateTime? startDate = DateTime.Parse("2015-01-01"); DateTime? endDate = null; int? pageSize = 100; + string sortBy = "updated_on"; string nextPage = null; - ApiResponseOwnerInsiderTransactionFilings result = insiderTransactionFilingsApi.GetAllInsiderTransactionFilings(startDate, endDate, pageSize, nextPage); + ApiResponseOwnerInsiderTransactionFilings result = insiderTransactionFilingsApi.GetAllInsiderTransactionFilings(startDate, endDate, pageSize, sortBy, nextPage); Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented)); } } @@ -90,6 +91,7 @@ Name | Type | Description | Notes **startDate** | DateTime?| Filed on or after the given date | [optional]   **endDate** | DateTime?| Filed before or after the given date | [optional]   **pageSize** | int?| The number of results to return | [optional] [default to 100]   + **sortBy** | string| The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. | [optional]   **nextPage** | string| Gets the next page of data from a previous API call | [optional]  
diff --git a/docs/OptionChainEod.md b/docs/OptionChainEod.md index 621fa3f..2d7ee99 100644 --- a/docs/OptionChainEod.md +++ b/docs/OptionChainEod.md @@ -10,7 +10,7 @@ Name | Type | Description ------------ | ------------- | ------------- **Option** | [**OptionEod**](OptionEod.md) |   -**Prices** | [**OptionPriceEod**](OptionPriceEod.md) |   +**Price** | [**OptionPriceEod**](OptionPriceEod.md) |   [//]: # (END_DEFINITION) diff --git a/src/Intrinio.SDK.Test/Api/CompanyApiTests.cs b/src/Intrinio.SDK.Test/Api/CompanyApiTests.cs index 7e0879f..c36ffa8 100644 --- a/src/Intrinio.SDK.Test/Api/CompanyApiTests.cs +++ b/src/Intrinio.SDK.Test/Api/CompanyApiTests.cs @@ -256,8 +256,9 @@ public void InsiderTransactionFilingsByCompanyTest() //DateTime? endDate = null; //string ownershipType = null; //int? pageSize = null; + //string sortBy = null; //string nextPage = null; - //var response = instance.InsiderTransactionFilingsByCompany(identifier, startDate, endDate, ownershipType, pageSize, nextPage); + //var response = instance.InsiderTransactionFilingsByCompany(identifier, startDate, endDate, ownershipType, pageSize, sortBy, nextPage); //Assert.IsInstanceOf (response, "response is ApiResponseInsiderTransactionFilings"); } diff --git a/src/Intrinio.SDK.Test/Api/InsiderTransactionFilingsApiTests.cs b/src/Intrinio.SDK.Test/Api/InsiderTransactionFilingsApiTests.cs index 0d1d73a..2694ea0 100644 --- a/src/Intrinio.SDK.Test/Api/InsiderTransactionFilingsApiTests.cs +++ b/src/Intrinio.SDK.Test/Api/InsiderTransactionFilingsApiTests.cs @@ -62,8 +62,9 @@ public void GetAllInsiderTransactionFilingsTest() //DateTime? startDate = null; //DateTime? endDate = null; //int? pageSize = null; + //string sortBy = null; //string nextPage = null; - //var response = instance.GetAllInsiderTransactionFilings(startDate, endDate, pageSize, nextPage); + //var response = instance.GetAllInsiderTransactionFilings(startDate, endDate, pageSize, sortBy, nextPage); //Assert.IsInstanceOf (response, "response is ApiResponseOwnerInsiderTransactionFilings"); } diff --git a/src/Intrinio.SDK.Test/Intrinio.SDK.Test.csproj b/src/Intrinio.SDK.Test/Intrinio.SDK.Test.csproj index d278ca3..c54d394 100644 --- a/src/Intrinio.SDK.Test/Intrinio.SDK.Test.csproj +++ b/src/Intrinio.SDK.Test/Intrinio.SDK.Test.csproj @@ -4,7 +4,7 @@ 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.26.12 +OpenAPI spec version: 2.27.2 --> diff --git a/src/Intrinio.SDK.Test/Model/ETFAnalyticsTests.cs b/src/Intrinio.SDK.Test/Model/ETFAnalyticsTests.cs index 09d66fd..275ebe4 100644 --- a/src/Intrinio.SDK.Test/Model/ETFAnalyticsTests.cs +++ b/src/Intrinio.SDK.Test/Model/ETFAnalyticsTests.cs @@ -58,6 +58,14 @@ public void ETFAnalyticsInstanceTest() } + /// + /// Test the property 'Date' + /// + [Test] + public void DateTest() + { + // TODO unit test for the property 'Date' + } /// /// Test the property 'FiftyTwoWeekHigh' /// diff --git a/src/Intrinio.SDK.Test/Model/OptionChainEodTests.cs b/src/Intrinio.SDK.Test/Model/OptionChainEodTests.cs index 1925b78..e8635d3 100644 --- a/src/Intrinio.SDK.Test/Model/OptionChainEodTests.cs +++ b/src/Intrinio.SDK.Test/Model/OptionChainEodTests.cs @@ -67,12 +67,12 @@ public void OptionTest() // TODO unit test for the property 'Option' } /// - /// Test the property 'Prices' + /// Test the property 'Price' /// [Test] - public void PricesTest() + public void PriceTest() { - // TODO unit test for the property 'Prices' + // TODO unit test for the property 'Price' } } diff --git a/src/Intrinio.SDK/Api/CompanyApi.cs b/src/Intrinio.SDK/Api/CompanyApi.cs index a8288d5..3c0e2b6 100644 --- a/src/Intrinio.SDK/Api/CompanyApi.cs +++ b/src/Intrinio.SDK/Api/CompanyApi.cs @@ -377,9 +377,10 @@ public interface ICompanyApi : IApiAccessor /// Return Company's insider transaction filings on or before this date (optional) /// The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// ApiResponseInsiderTransactionFilings - ApiResponseInsiderTransactionFilings InsiderTransactionFilingsByCompany (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string nextPage = null); + ApiResponseInsiderTransactionFilings InsiderTransactionFilingsByCompany (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string sortBy = null, string nextPage = null); /// /// Insider Transaction Filings by Company @@ -393,9 +394,10 @@ public interface ICompanyApi : IApiAccessor /// Return Company's insider transaction filings on or before this date (optional) /// The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// ApiResponse of ApiResponseInsiderTransactionFilings - ApiResponse InsiderTransactionFilingsByCompanyWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string nextPage = null); + ApiResponse InsiderTransactionFilingsByCompanyWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string sortBy = null, string nextPage = null); /// /// Latest Insider Transaction Filing by Company /// @@ -875,9 +877,10 @@ public interface ICompanyApi : IApiAccessor /// Return Company's insider transaction filings on or before this date (optional) /// The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// Task of ApiResponseInsiderTransactionFilings - System.Threading.Tasks.Task InsiderTransactionFilingsByCompanyAsync (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string nextPage = null); + System.Threading.Tasks.Task InsiderTransactionFilingsByCompanyAsync (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string sortBy = null, string nextPage = null); /// /// Insider Transaction Filings by Company @@ -891,9 +894,10 @@ public interface ICompanyApi : IApiAccessor /// Return Company's insider transaction filings on or before this date (optional) /// The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// Task of ApiResponse (ApiResponseInsiderTransactionFilings) - System.Threading.Tasks.Task> InsiderTransactionFilingsByCompanyAsyncWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string nextPage = null); + System.Threading.Tasks.Task> InsiderTransactionFilingsByCompanyAsyncWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string sortBy = null, string nextPage = null); /// /// Latest Insider Transaction Filing by Company /// @@ -3178,11 +3182,12 @@ public async System.Threading.Tasks.TaskReturn Company's insider transaction filings on or before this date (optional) /// The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// ApiResponseInsiderTransactionFilings - public ApiResponseInsiderTransactionFilings InsiderTransactionFilingsByCompany (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string nextPage = null) + public ApiResponseInsiderTransactionFilings InsiderTransactionFilingsByCompany (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string sortBy = null, string nextPage = null) { - ApiResponse localVarResponse = InsiderTransactionFilingsByCompanyWithHttpInfo(identifier, startDate, endDate, ownershipType, pageSize, nextPage); + ApiResponse localVarResponse = InsiderTransactionFilingsByCompanyWithHttpInfo(identifier, startDate, endDate, ownershipType, pageSize, sortBy, nextPage); return localVarResponse.Data; } @@ -3195,11 +3200,12 @@ public ApiResponseInsiderTransactionFilings InsiderTransactionFilingsByCompany ( /// Return Company's insider transaction filings on or before this date (optional) /// The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// ApiResponse of ApiResponseInsiderTransactionFilings - public ApiResponse< ApiResponseInsiderTransactionFilings > InsiderTransactionFilingsByCompanyWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string nextPage = null) + public ApiResponse< ApiResponseInsiderTransactionFilings > InsiderTransactionFilingsByCompanyWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string sortBy = null, string nextPage = null) { // verify the required parameter 'identifier' is set if (identifier == null) @@ -3232,6 +3238,7 @@ public ApiResponse< ApiResponseInsiderTransactionFilings > InsiderTransactionFil if (endDate != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "end_date", endDate)); // query parameter if (ownershipType != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "ownership_type", ownershipType)); // query parameter if (pageSize != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "page_size", pageSize)); // query parameter + if (sortBy != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "sort_by", sortBy)); // query parameter if (nextPage != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "next_page", nextPage)); // query parameter // authentication (ApiKeyAuth) required @@ -3267,11 +3274,12 @@ public ApiResponse< ApiResponseInsiderTransactionFilings > InsiderTransactionFil /// Return Company's insider transaction filings on or before this date (optional) /// The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// Task of ApiResponseInsiderTransactionFilings - public async System.Threading.Tasks.Task InsiderTransactionFilingsByCompanyAsync (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string nextPage = null) + public async System.Threading.Tasks.Task InsiderTransactionFilingsByCompanyAsync (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string sortBy = null, string nextPage = null) { - ApiResponse localVarResponse = await InsiderTransactionFilingsByCompanyAsyncWithHttpInfo(identifier, startDate, endDate, ownershipType, pageSize, nextPage); + ApiResponse localVarResponse = await InsiderTransactionFilingsByCompanyAsyncWithHttpInfo(identifier, startDate, endDate, ownershipType, pageSize, sortBy, nextPage); return localVarResponse.Data; } @@ -3285,9 +3293,10 @@ public async System.Threading.Tasks.Task I /// Return Company's insider transaction filings on or before this date (optional) /// The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// Task of ApiResponse (ApiResponseInsiderTransactionFilings) - public async System.Threading.Tasks.Task> InsiderTransactionFilingsByCompanyAsyncWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string nextPage = null) + public async System.Threading.Tasks.Task> InsiderTransactionFilingsByCompanyAsyncWithHttpInfo (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, int? pageSize = null, string sortBy = null, string nextPage = null) { // verify the required parameter 'identifier' is set if (identifier == null) @@ -3320,6 +3329,7 @@ public async System.Threading.Tasks.TaskFiled on or after the given date (optional) /// Filed before or after the given date (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// ApiResponseOwnerInsiderTransactionFilings - ApiResponseOwnerInsiderTransactionFilings GetAllInsiderTransactionFilings (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null); + ApiResponseOwnerInsiderTransactionFilings GetAllInsiderTransactionFilings (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null); /// /// All Insider Transactions Filings @@ -41,9 +42,10 @@ public interface IInsiderTransactionFilingsApi : IApiAccessor /// Filed on or after the given date (optional) /// Filed before or after the given date (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// ApiResponse of ApiResponseOwnerInsiderTransactionFilings - ApiResponse GetAllInsiderTransactionFilingsWithHttpInfo (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null); + ApiResponse GetAllInsiderTransactionFilingsWithHttpInfo (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null); #endregion Synchronous Operations #region Asynchronous Operations /// @@ -56,9 +58,10 @@ public interface IInsiderTransactionFilingsApi : IApiAccessor /// Filed on or after the given date (optional) /// Filed before or after the given date (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// Task of ApiResponseOwnerInsiderTransactionFilings - System.Threading.Tasks.Task GetAllInsiderTransactionFilingsAsync (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null); + System.Threading.Tasks.Task GetAllInsiderTransactionFilingsAsync (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null); /// /// All Insider Transactions Filings @@ -70,9 +73,10 @@ public interface IInsiderTransactionFilingsApi : IApiAccessor /// Filed on or after the given date (optional) /// Filed before or after the given date (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// Task of ApiResponse (ApiResponseOwnerInsiderTransactionFilings) - System.Threading.Tasks.Task> GetAllInsiderTransactionFilingsAsyncWithHttpInfo (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null); + System.Threading.Tasks.Task> GetAllInsiderTransactionFilingsAsyncWithHttpInfo (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null); #endregion Asynchronous Operations } @@ -180,11 +184,12 @@ public void AddDefaultHeader(string key, string value) /// Filed on or after the given date (optional) /// Filed before or after the given date (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// ApiResponseOwnerInsiderTransactionFilings - public ApiResponseOwnerInsiderTransactionFilings GetAllInsiderTransactionFilings (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null) + public ApiResponseOwnerInsiderTransactionFilings GetAllInsiderTransactionFilings (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null) { - ApiResponse localVarResponse = GetAllInsiderTransactionFilingsWithHttpInfo(startDate, endDate, pageSize, nextPage); + ApiResponse localVarResponse = GetAllInsiderTransactionFilingsWithHttpInfo(startDate, endDate, pageSize, sortBy, nextPage); return localVarResponse.Data; } @@ -195,11 +200,12 @@ public ApiResponseOwnerInsiderTransactionFilings GetAllInsiderTransactionFilings /// Filed on or after the given date (optional) /// Filed before or after the given date (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// ApiResponse of ApiResponseOwnerInsiderTransactionFilings - public ApiResponse< ApiResponseOwnerInsiderTransactionFilings > GetAllInsiderTransactionFilingsWithHttpInfo (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null) + public ApiResponse< ApiResponseOwnerInsiderTransactionFilings > GetAllInsiderTransactionFilingsWithHttpInfo (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null) { var localVarPath = "/insider_transaction_filings"; @@ -227,6 +233,7 @@ public ApiResponse< ApiResponseOwnerInsiderTransactionFilings > GetAllInsiderTra if (startDate != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "start_date", startDate)); // query parameter if (endDate != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "end_date", endDate)); // query parameter if (pageSize != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "page_size", pageSize)); // query parameter + if (sortBy != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "sort_by", sortBy)); // query parameter if (nextPage != null) localVarQueryParams.AddRange(Configuration.ApiClient.ParameterToKeyValuePairs("", "next_page", nextPage)); // query parameter // authentication (ApiKeyAuth) required @@ -260,11 +267,12 @@ public ApiResponse< ApiResponseOwnerInsiderTransactionFilings > GetAllInsiderTra /// Filed on or after the given date (optional) /// Filed before or after the given date (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// Task of ApiResponseOwnerInsiderTransactionFilings - public async System.Threading.Tasks.Task GetAllInsiderTransactionFilingsAsync (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null) + public async System.Threading.Tasks.Task GetAllInsiderTransactionFilingsAsync (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null) { - ApiResponse localVarResponse = await GetAllInsiderTransactionFilingsAsyncWithHttpInfo(startDate, endDate, pageSize, nextPage); + ApiResponse localVarResponse = await GetAllInsiderTransactionFilingsAsyncWithHttpInfo(startDate, endDate, pageSize, sortBy, nextPage); return localVarResponse.Data; } @@ -276,9 +284,10 @@ public async System.Threading.Tasks.TaskFiled on or after the given date (optional) /// Filed before or after the given date (optional) /// The number of results to return (optional, default to 100) + /// The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. (optional) /// Gets the next page of data from a previous API call (optional) /// Task of ApiResponse (ApiResponseOwnerInsiderTransactionFilings) - public async System.Threading.Tasks.Task> GetAllInsiderTransactionFilingsAsyncWithHttpInfo (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null) + public async System.Threading.Tasks.Task> GetAllInsiderTransactionFilingsAsyncWithHttpInfo (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null) { var localVarPath = "/insider_transaction_filings"; @@ -306,6 +315,7 @@ public async System.Threading.Tasks.Task /// Version of the package. - public const string Version = "5.18.0"; + public const string Version = "5.19.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -106,7 +106,7 @@ static Configuration() /// public Configuration() { - UserAgent = "Swagger-Codegen/5.18.0/csharp"; + UserAgent = "Swagger-Codegen/5.19.0/csharp"; BasePath = "https://api-v2.intrinio.com"; DefaultHeader = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -182,7 +182,7 @@ public Configuration( string dateTimeFormat = null, int timeout = 100000, bool allowRetries = true, - string userAgent = "Swagger-Codegen/5.18.0/csharp" + string userAgent = "Swagger-Codegen/5.19.0/csharp" // ReSharper restore UnusedParameter.Local ) { @@ -421,8 +421,8 @@ public static String ToDebugReport() String report = "C# SDK (Intrinio.SDK) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; - report += " Version of the API: 2.26.12\n"; - report += " SDK Package Version: 5.18.0\n"; + report += " Version of the API: 2.27.2\n"; + report += " SDK Package Version: 5.19.0\n"; return report; } diff --git a/src/Intrinio.SDK/Intrinio.SDK.csproj b/src/Intrinio.SDK/Intrinio.SDK.csproj index 672f760..ee7610f 100644 --- a/src/Intrinio.SDK/Intrinio.SDK.csproj +++ b/src/Intrinio.SDK/Intrinio.SDK.csproj @@ -4,7 +4,7 @@ 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.26.12 +OpenAPI spec version: 2.27.2 --> diff --git a/src/Intrinio.SDK/Intrinio.SDK.nuspec b/src/Intrinio.SDK/Intrinio.SDK.nuspec index 316c9ee..4b1099f 100644 --- a/src/Intrinio.SDK/Intrinio.SDK.nuspec +++ b/src/Intrinio.SDK/Intrinio.SDK.nuspec @@ -6,7 +6,7 @@ Intrinio - 5.18.0 + 5.19.0 Intrinio diff --git a/src/Intrinio.SDK/Model/ETFAnalytics.cs b/src/Intrinio.SDK/Model/ETFAnalytics.cs index e3a7a1d..1a4fb3c 100644 --- a/src/Intrinio.SDK/Model/ETFAnalytics.cs +++ b/src/Intrinio.SDK/Model/ETFAnalytics.cs @@ -25,6 +25,7 @@ public partial class ETFAnalytics : IEquatable, IValidatableObjec /// /// Initializes a new instance of the class. /// + /// The calendar date these analytics represent.. /// Highest trading price for the security in the preceding 52 weeks. /// Lowest trading price for the security in the preceding 52 weeks. /// The total quantity of shares traded on the latest trading day. @@ -34,8 +35,9 @@ public partial class ETFAnalytics : IEquatable, IValidatableObjec /// The market capitalization for the Exchange Traded Fund (ETF). /// The number of shares outstanding for the Exchange Traded Fund (ETF). /// Etf. - public ETFAnalytics(decimal? FiftyTwoWeekHigh = default(decimal?), decimal? FiftyTwoWeekLow = default(decimal?), decimal? VolumeTraded = default(decimal?), decimal? AverageDailyVolumeOneMonth = default(decimal?), decimal? AverageDailyVolumeThreeMonth = default(decimal?), decimal? AverageDailyVolumeSixMonth = default(decimal?), decimal? MarketCap = default(decimal?), decimal? SharesOutstanding = default(decimal?), ETFSummary Etf = default(ETFSummary)) + public ETFAnalytics(DateTime? Date = default(DateTime?), decimal? FiftyTwoWeekHigh = default(decimal?), decimal? FiftyTwoWeekLow = default(decimal?), decimal? VolumeTraded = default(decimal?), decimal? AverageDailyVolumeOneMonth = default(decimal?), decimal? AverageDailyVolumeThreeMonth = default(decimal?), decimal? AverageDailyVolumeSixMonth = default(decimal?), decimal? MarketCap = default(decimal?), decimal? SharesOutstanding = default(decimal?), ETFSummary Etf = default(ETFSummary)) { + this.Date = Date; this.FiftyTwoWeekHigh = FiftyTwoWeekHigh; this.FiftyTwoWeekLow = FiftyTwoWeekLow; this.VolumeTraded = VolumeTraded; @@ -47,6 +49,14 @@ public partial class ETFAnalytics : IEquatable, IValidatableObjec this.Etf = Etf; } + /// + /// The calendar date these analytics represent. + /// + /// The calendar date these analytics represent. + [DataMember(Name="date", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? Date { get; set; } + /// /// Highest trading price for the security in the preceding 52 weeks /// @@ -117,6 +127,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class ETFAnalytics {\n"); + sb.Append(" Date: ").Append(Date).Append("\n"); sb.Append(" FiftyTwoWeekHigh: ").Append(FiftyTwoWeekHigh).Append("\n"); sb.Append(" FiftyTwoWeekLow: ").Append(FiftyTwoWeekLow).Append("\n"); sb.Append(" VolumeTraded: ").Append(VolumeTraded).Append("\n"); @@ -160,6 +171,11 @@ public bool Equals(ETFAnalytics input) return false; return + ( + this.Date == input.Date || + (this.Date != null && + this.Date.Equals(input.Date)) + ) && ( this.FiftyTwoWeekHigh == input.FiftyTwoWeekHigh || (this.FiftyTwoWeekHigh != null && @@ -216,6 +232,8 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; + if (this.Date != null) + hashCode = hashCode * 59 + this.Date.GetHashCode(); if (this.FiftyTwoWeekHigh != null) hashCode = hashCode * 59 + this.FiftyTwoWeekHigh.GetHashCode(); if (this.FiftyTwoWeekLow != null) diff --git a/src/Intrinio.SDK/Model/OptionChainEod.cs b/src/Intrinio.SDK/Model/OptionChainEod.cs index 4c6a102..ef82e35 100644 --- a/src/Intrinio.SDK/Model/OptionChainEod.cs +++ b/src/Intrinio.SDK/Model/OptionChainEod.cs @@ -26,11 +26,11 @@ public partial class OptionChainEod : IEquatable, IValidatableO /// Initializes a new instance of the class. /// /// Option. - /// Prices. - public OptionChainEod(OptionEod Option = default(OptionEod), OptionPriceEod Prices = default(OptionPriceEod)) + /// Price. + public OptionChainEod(OptionEod Option = default(OptionEod), OptionPriceEod Price = default(OptionPriceEod)) { this.Option = Option; - this.Prices = Prices; + this.Price = Price; } /// @@ -40,10 +40,10 @@ public partial class OptionChainEod : IEquatable, IValidatableO public OptionEod Option { get; set; } /// - /// Gets or Sets Prices + /// Gets or Sets Price /// - [DataMember(Name="prices", EmitDefaultValue=false)] - public OptionPriceEod Prices { get; set; } + [DataMember(Name="price", EmitDefaultValue=false)] + public OptionPriceEod Price { get; set; } /// /// Returns the string presentation of the object @@ -54,7 +54,7 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class OptionChainEod {\n"); sb.Append(" Option: ").Append(Option).Append("\n"); - sb.Append(" Prices: ").Append(Prices).Append("\n"); + sb.Append(" Price: ").Append(Price).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -95,9 +95,9 @@ public bool Equals(OptionChainEod input) this.Option.Equals(input.Option)) ) && ( - this.Prices == input.Prices || - (this.Prices != null && - this.Prices.Equals(input.Prices)) + this.Price == input.Price || + (this.Price != null && + this.Price.Equals(input.Price)) ); } @@ -112,8 +112,8 @@ public override int GetHashCode() int hashCode = 41; if (this.Option != null) hashCode = hashCode * 59 + this.Option.GetHashCode(); - if (this.Prices != null) - hashCode = hashCode * 59 + this.Prices.GetHashCode(); + if (this.Price != null) + hashCode = hashCode * 59 + this.Price.GetHashCode(); return hashCode; } } diff --git a/src/Intrinio.SDK/Properties/AssemblyInfo.cs b/src/Intrinio.SDK/Properties/AssemblyInfo.cs index 10b1236..f0aa1c9 100644 --- a/src/Intrinio.SDK/Properties/AssemblyInfo.cs +++ b/src/Intrinio.SDK/Properties/AssemblyInfo.cs @@ -28,5 +28,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.18.0")] -[assembly: AssemblyFileVersion("5.18.0")] +[assembly: AssemblyVersion("5.19.0")] +[assembly: AssemblyFileVersion("5.19.0")]