Skip to content

Commit

Permalink
No release notes for this build
Browse files Browse the repository at this point in the history
  • Loading branch information
ssnyder-intrinio committed Jun 25, 2024
1 parent d62459c commit 5a68225
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
6 changes: 4 additions & 2 deletions docs/SecurityApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ Name | Type | Description | Notes

[//]: # (START_OVERVIEW)

> ApiResponseSecurityIntervalPrices get_security_interval_prices(identifier, interval_size, source=source, start_date=start_date, start_time=start_time, end_date=end_date, end_time=end_time, timezone=timezone, page_size=page_size, next_page=next_page)
> ApiResponseSecurityIntervalPrices get_security_interval_prices(identifier, interval_size, source=source, start_date=start_date, start_time=start_time, end_date=end_date, end_time=end_time, timezone=timezone, page_size=page_size, split_adjusted=split_adjusted, next_page=next_page)
#### Interval Stock Prices for Security

Expand Down Expand Up @@ -1009,9 +1009,10 @@ end_date = '2023-02-01'
end_time = ''
timezone = 'UTC'
page_size = 100
split_adjusted = False
next_page = ''

response = intrinio.SecurityApi().get_security_interval_prices(identifier, interval_size, source=source, start_date=start_date, start_time=start_time, end_date=end_date, end_time=end_time, timezone=timezone, page_size=page_size, next_page=next_page)
response = intrinio.SecurityApi().get_security_interval_prices(identifier, interval_size, source=source, start_date=start_date, start_time=start_time, end_date=end_date, end_time=end_time, timezone=timezone, page_size=page_size, split_adjusted=split_adjusted, next_page=next_page)
print(response)

# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Expand All @@ -1036,6 +1037,7 @@ Name | Type | Description | Notes
**end_time** | str| Return intervals stopping at the specified time on the `end_date` (24-hour in 'hh:mm:ss' format) | [optional]  
**timezone** | str| Returns trading times in this timezone | [optional] [default to UTC]  
**page_size** | int| The number of results to return | [optional] [default to 100]  
**split_adjusted** | bool| Whether to return the values adjusted for splits or not. Default is False. | [optional] [default to False]  
**next_page** | str| Gets the next page of data from a previous API call | [optional]  
<br/>

Expand Down
6 changes: 4 additions & 2 deletions docs/StockExchangeApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ Name | Type | Description | Notes

[//]: # (START_OVERVIEW)

> ApiResponseStockExchangeRealtimeStockPrices get_stock_exchange_realtime_prices(identifier, source=source, active_only=active_only, page_size=page_size, next_page=next_page)
> ApiResponseStockExchangeRealtimeStockPrices get_stock_exchange_realtime_prices(identifier, source=source, active_only=active_only, page_size=page_size, tickers=tickers, next_page=next_page)
#### Realtime Stock Prices by Exchange

Expand All @@ -380,9 +380,10 @@ identifier = 'USCOMP'
source = ''
active_only = ''
page_size = 100
tickers = ['']
next_page = ''

response = intrinio.StockExchangeApi().get_stock_exchange_realtime_prices(identifier, source=source, active_only=active_only, page_size=page_size, next_page=next_page)
response = intrinio.StockExchangeApi().get_stock_exchange_realtime_prices(identifier, source=source, active_only=active_only, page_size=page_size, tickers=tickers, next_page=next_page)
print(response)

# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Expand All @@ -402,6 +403,7 @@ Name | Type | Description | Notes
**source** | str| Return realtime prices from the specified data source. If no source is specified, all sources are used. | [optional] &nbsp;
**active_only** | bool| Returns prices only from the most recent trading day. | [optional] &nbsp;
**page_size** | int| The number of results to return | [optional] [default to 100] &nbsp;
**tickers** | [**list[str]**](str.md)| The list of ticker symbols to filter to. | [optional] &nbsp;
**next_page** | str| Gets the next page of data from a previous API call | [optional] &nbsp;
<br/>

Expand Down
6 changes: 5 additions & 1 deletion intrinio_sdk/api/security_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,7 @@ def get_security_interval_prices(self, identifier, interval_size, **kwargs): #
:param str end_time: Return intervals stopping at the specified time on the `end_date` (24-hour in 'hh:mm:ss' format)
:param str timezone: Returns trading times in this timezone
:param int page_size: The number of results to return
:param bool split_adjusted: Whether to return the values adjusted for splits or not. Default is false.
:param str next_page: Gets the next page of data from a previous API call
:return: ApiResponseSecurityIntervalPrices
If the method is called asynchronously,
Expand Down Expand Up @@ -1256,13 +1257,14 @@ def get_security_interval_prices_with_http_info(self, identifier, interval_size,
:param str end_time: Return intervals stopping at the specified time on the `end_date` (24-hour in 'hh:mm:ss' format)
:param str timezone: Returns trading times in this timezone
:param int page_size: The number of results to return
:param bool split_adjusted: Whether to return the values adjusted for splits or not. Default is false.
:param str next_page: Gets the next page of data from a previous API call
:return: ApiResponseSecurityIntervalPrices
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['identifier', 'interval_size', 'source', 'start_date', 'start_time', 'end_date', 'end_time', 'timezone', 'page_size', 'next_page'] # noqa: E501
all_params = ['identifier', 'interval_size', 'source', 'start_date', 'start_time', 'end_date', 'end_time', 'timezone', 'page_size', 'split_adjusted', 'next_page'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand Down Expand Up @@ -1309,6 +1311,8 @@ def get_security_interval_prices_with_http_info(self, identifier, interval_size,
query_params.append(('interval_size', params['interval_size'])) # noqa: E501
if 'page_size' in params:
query_params.append(('page_size', params['page_size'])) # noqa: E501
if 'split_adjusted' in params:
query_params.append(('split_adjusted', params['split_adjusted'])) # noqa: E501
if 'next_page' in params:
query_params.append(('next_page', params['next_page'])) # noqa: E501

Expand Down
7 changes: 6 additions & 1 deletion intrinio_sdk/api/stock_exchange_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ def get_stock_exchange_realtime_prices(self, identifier, **kwargs): # noqa: E50
:param str source: Return realtime prices from the specified data source. If no source is specified, all sources are used.
:param bool active_only: Returns prices only from the most recent trading day.
:param int page_size: The number of results to return
:param list[str] tickers: The list of ticker symbols to filter to.
:param str next_page: Gets the next page of data from a previous API call
:return: ApiResponseStockExchangeRealtimeStockPrices
If the method is called asynchronously,
Expand All @@ -491,13 +492,14 @@ def get_stock_exchange_realtime_prices_with_http_info(self, identifier, **kwargs
:param str source: Return realtime prices from the specified data source. If no source is specified, all sources are used.
:param bool active_only: Returns prices only from the most recent trading day.
:param int page_size: The number of results to return
:param list[str] tickers: The list of ticker symbols to filter to.
:param str next_page: Gets the next page of data from a previous API call
:return: ApiResponseStockExchangeRealtimeStockPrices
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['identifier', 'source', 'active_only', 'page_size', 'next_page'] # noqa: E501
all_params = ['identifier', 'source', 'active_only', 'page_size', 'tickers', 'next_page'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand Down Expand Up @@ -532,6 +534,9 @@ def get_stock_exchange_realtime_prices_with_http_info(self, identifier, **kwargs
query_params.append(('active_only', params['active_only'])) # noqa: E501
if 'page_size' in params:
query_params.append(('page_size', params['page_size'])) # noqa: E501
if 'tickers' in params:
query_params.append(('tickers', params['tickers'])) # noqa: E501
collection_formats['tickers'] = 'csv' # noqa: E501
if 'next_page' in params:
query_params.append(('next_page', params['next_page'])) # noqa: E501

Expand Down

0 comments on commit 5a68225

Please sign in to comment.