### Install Finazon Python gRPC Client Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Install the library using pip. For Pandas support, use the [pandas] extra. ```shell pip install finazon-grpc-python ``` ```shell pip install finazon-grpc-python[pandas] ``` -------------------------------- ### Clone Repository Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Clone the project repository to start contributing. This command downloads the entire project to your local machine. ```bash $ git clone https://github.com/finazon-io/finazon-grpc-python.git ``` -------------------------------- ### Install Finazon Python gRPC Client with Poetry Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Add the Finazon Python gRPC Client to your project using the poetry package manager. ```shell poetry add finazon-grpc-python ``` -------------------------------- ### Convert Time Series Data to Pandas DataFrame Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Fetch time series data and convert the response into a Pandas DataFrame for analysis. Requires the package to be installed with pandas support. ```python from finazon_grpc_python.time_series_service import TimeSeriesService, GetTimeSeriesRequest from finazon_grpc_python.common.errors import FinazonGrpcRequestError from finazon_grpc_python.common.utils import convert_response_to_pandas service = TimeSeriesService('your_api_key') try: request = GetTimeSeriesRequest(ticker='AAPL', dataset='us_stocks_essential', interval='1h', page_size=50) response = service.get_time_series(request) df = convert_response_to_pandas(response) print(df.describe()) ``` -------------------------------- ### Get Time Series Data Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Fetch hourly time series data for a given ticker and dataset. Handles potential API errors. ```python from finazon_grpc_python.time_series_service import TimeSeriesService, GetTimeSeriesRequest from finazon_grpc_python.common.errors import FinazonGrpcRequestError service = TimeSeriesService('your_api_key') try: request = GetTimeSeriesRequest(ticker='AAPL', dataset='sip_non_pro', interval='1h', page_size=10) response = service.get_time_series(request) print('Last OHLCV data\n') for item in response.result: print(f'{item.timestamp} - {item.open}, {item.high}, {item.low}, {item.close}, {item.volume}') except FinazonGrpcRequestError as e: print(f'Received error, code: {e.code}, message: {e.message}') ``` -------------------------------- ### Get Moving Average (MA) for Time Series Data Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Calculate the moving average for a given time series request with a specified time period. Handles potential API errors. ```python from finazon_grpc_python.time_series_service import TimeSeriesService, GetTimeSeriesMaRequest, GetTimeSeriesRequest from finazon_grpc_python.common.errors import FinazonGrpcRequestError service = TimeSeriesService('your_api_key') try: request = GetTimeSeriesMaRequest( time_series=GetTimeSeriesRequest(ticker='AAPL', interval='1h', dataset='sip_non_pro', page_size=10), time_period=100, ) response = service.get_time_series_ma(request) print(response.result) ``` -------------------------------- ### Initialize Service and Make RPC Call Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Instantiate a service client with an API key and make a sample RPC call. Ensure you replace 'your_api_key', 'ServiceNameService', and 'RpcNameRequest' with actual values. ```python service = ServiceNameService('your_api_key') response = service.rpc_name(RpcNameRequest()) ``` -------------------------------- ### Create Project Virtual Environment Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Set up a new project directory and create a Python virtual environment. ```shell mkdir hello-finazon && cd hello-finazon python3 -m venv .venv ``` ```shell source .venv/bin/activate ``` ```shell \.venv\Scripts\activate.bat ``` -------------------------------- ### BenzingaService.getIPO Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Returns IPO data from Benzinga. ```APIDOC ## BenzingaService.getIPO ### Description Returns IPO data from Benzinga. ### Service BenzingaService ### RPC getIPO ``` -------------------------------- ### Import Service and Request Objects Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Import the necessary service and request objects from the Finazon gRPC Python library. This is a prerequisite for interacting with any RPC service. ```python from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest ``` -------------------------------- ### SipService.getMarketCenter Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Returns a list of market centers. ```APIDOC ## SipService.getMarketCenter ### Description Returns a list of market centers. ### Service SipService ### RPC getMarketCenter ``` -------------------------------- ### Create a New Branch Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Navigate into the cloned repository and create a new branch for your feature development. This isolates your changes from the main codebase. ```bash $ cd finazon-grpc-python && git checkout -b my-feature ``` -------------------------------- ### ExchangeService.getMarketsCrypto Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Returns a list of supported crypto markets. ```APIDOC ## ExchangeService.getMarketsCrypto ### Description Returns a list of supported crypto markets. ### Service ExchangeService ### RPC getMarketsCrypto ``` -------------------------------- ### ExchangeService.getMarketsStocks Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Returns a list of supported stock markets. ```APIDOC ## ExchangeService.getMarketsStocks ### Description Returns a list of supported stock markets. ### Service ExchangeService ### RPC getMarketsStocks ``` -------------------------------- ### DatasetsService.getDatasets Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves a list of all datasets available at Finazon. ```APIDOC ## DatasetsService.getDatasets ### Description Get a list of all datasets available at Finazon. ### Service DatasetsService ### RPC getDatasets ``` -------------------------------- ### Update Finazon Python gRPC Client Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Update the library to the latest version using pip or poetry. ```shell pip install -U finazon-grpc-python ``` ```shell poetry add finazon-grpc-python@latest ``` -------------------------------- ### BenzingaService.getEarningsCalendar Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Returns the earnings calendar data from Benzinga. ```APIDOC ## BenzingaService.getEarningsCalendar ### Description Returns the earnings calendar from Benzinga. ### Service BenzingaService ### RPC getEarningsCalendar ``` -------------------------------- ### ForexService.getTimeSeries Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for a given forex ticker. ```APIDOC ## ForexService.getTimeSeries ### Description Get time series data for any given ticker. ### Service ForexService ### RPC getTimeSeries ``` -------------------------------- ### BenzingaService.getNews Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Returns news articles from Benzinga. ```APIDOC ## BenzingaService.getNews ### Description Returns the news articles from Benzinga. ### Service BenzingaService ### RPC getNews ``` -------------------------------- ### ApiUsageService.getApiUsage Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves a list of products along with their quota limits and current usage. ```APIDOC ## ApiUsageService.getApiUsage ### Description Get a list of products with quota limit/usage. ### Service ApiUsageService ### RPC getApiUsage ``` -------------------------------- ### BinanceService.getTimeSeries Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data without technical indicators from Binance. ```APIDOC ## BinanceService.getTimeSeries ### Description Get time series data without technical indicators. ### Service BinanceService ### RPC getTimeSeries ``` -------------------------------- ### SnapshotService.getSnapshot Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md This endpoint returns a combination of different data points, such as daily performance, last quote, last trade, minute data, and previous day performance. ```APIDOC ## SnapshotService.getSnapshot ### Description This endpoint returns a combination of different data points, such as daily performance, last quote, last trade, minute data, and previous day performance. ### Service SnapshotService ### RPC getSnapshot ``` -------------------------------- ### PublisherService.getPublishers Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves a list of all publishers available at Finazon. ```APIDOC ## PublisherService.getPublishers ### Description Get a list of all publishers available at Finazon. ### Service PublisherService ### RPC getPublishers ``` -------------------------------- ### CryptoService.getTimeSeries Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for a given crypto ticker. ```APIDOC ## CryptoService.getTimeSeries ### Description Get time series data for any given ticker. ### Service CryptoService ### RPC getTimeSeries ``` -------------------------------- ### SecService.getFilings Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Provides real-time and historical access to all forms, filings, and exhibits directly from the SEC's EDGAR system. ```APIDOC ## SecService.getFilings ### Description Real-time and historical access to all forms, filings, and exhibits directly from the SEC's EDGAR system. ### Service SecService ### RPC getFilings ``` -------------------------------- ### SipService.getTrades Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Returns detailed information on trades executed through the Securities Information Processor (SIP). ```APIDOC ## SipService.getTrades ### Description Returns detailed information on trades executed through the Securities Information Processor (SIP). ### Service SipService ### RPC getTrades ``` -------------------------------- ### BenzingaService.getDividentsCalendar Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Returns the dividends calendar data from Benzinga. ```APIDOC ## BenzingaService.getDividentsCalendar ### Description Returns the dividends calendar from Benzinga. ### Service BenzingaService ### RPC getDividentsCalendar ``` -------------------------------- ### TickersService.findTickersForex Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md This API call returns an array of forex tickers available at Finazon Data API. This list is updated daily. ```APIDOC ## TickersService.findTickersForex ### Description This API call returns an array of forex tickers available at Finazon Data API. This list is updated daily. ### Service TickersService ### RPC findTickersForex ``` -------------------------------- ### TickersService.findTickersCrypto Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md This API call returns an array of crypto tickers available at Finazon Data API. This list is updated daily. ```APIDOC ## TickersService.findTickersCrypto ### Description This API call returns an array of crypto tickers available at Finazon Data API. This list is updated daily. ### Service TickersService ### RPC findTickersCrypto ``` -------------------------------- ### TimeSeriesService.getTimeSeriesObv Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for the OBV (On-Balance Volume) technical indicator. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeriesObv ### Description Get time series data for Obv technical indicator. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeriesObv(request) ``` ### Response Not specified ``` -------------------------------- ### TickersService.findTickersStocks Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md This API call returns an array of stocks tickers available at Finazon Data API. This list is updated daily. ```APIDOC ## TickersService.findTickersStocks ### Description This API call returns an array of stocks tickers available at Finazon Data API. This list is updated daily. ### Service TickersService ### RPC findTickersStocks ``` -------------------------------- ### TimeSeriesService.getTimeSeriesBBands Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for the BBands (Bollinger Bands) technical indicator. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeriesBBands ### Description Get time series data for BBands technical indicator. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeriesBBands(request) ``` ### Response Not specified ``` -------------------------------- ### TradeService.getTrades Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Returns general information on executed trades. This method is part of the TradeService. ```APIDOC ## TradeService.getTrades ### Description Returns general information on executed trades. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTrades(request) ``` ### Response Not specified ``` -------------------------------- ### TickersService.findTickersUS Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md This API call returns an array of US tickers available at Finazon Data API. This list is updated daily. ```APIDOC ## TickersService.findTickersUS ### Description This API call returns an array of US tickers available at Finazon Data API. This list is updated daily. ### Service TickersService ### RPC findTickersUS ``` -------------------------------- ### TimeSeriesService.getTimeSeries Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data without technical indicators. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeries ### Description Get time series data without technical indicators. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeries(request) ``` ### Response Not specified ``` -------------------------------- ### TimeSeriesService.getTimeSeriesStoch Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for the Stoch (Stochastic Oscillator) technical indicator. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeriesStoch ### Description Get time series data for Stoch technical indicator. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeriesStoch(request) ``` ### Response Not specified ``` -------------------------------- ### TimeSeriesService.getTimeSeriesIchimoku Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for the Ichimoku technical indicator. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeriesIchimoku ### Description Get time series data for Ichimoku technical indicator. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeriesIchimoku(request) ``` ### Response Not specified ``` -------------------------------- ### TimeSeriesService.getTimeSeriesMa Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for the MA (Moving Average) technical indicator. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeriesMa ### Description Get time series data for Ma technical indicator. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeriesMa(request) ``` ### Response Not specified ``` -------------------------------- ### TimeSeriesService.getTimeSeriesMacd Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for the MACD (Moving Average Convergence Divergence) technical indicator. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeriesMacd ### Description Get time series data for Macd technical indicator. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeriesMacd(request) ``` ### Response Not specified ``` -------------------------------- ### TimeSeriesService.getTimeSeriesAtr Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for the ATR (Average True Range) technical indicator. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeriesAtr ### Description Get time series data for ATR technical indicator. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeriesAtr(request) ``` ### Response Not specified ``` -------------------------------- ### TimeSeriesService.getTimeSeriesRsi Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for the RSI (Relative Strength Index) technical indicator. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeriesRsi ### Description Get time series data for Rsi technical indicator. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeriesRsi(request) ``` ### Response Not specified ``` -------------------------------- ### TimeSeriesService.getTimeSeriesSar Source: https://github.com/finazon-io/finazon-grpc-python/blob/main/README.md Retrieves time series data for the SAR (Stop and Reverse) technical indicator. This method is part of the TimeSeriesService. ```APIDOC ## TimeSeriesService.getTimeSeriesSar ### Description Get time series data for Sar technical indicator. ### Method Not specified (gRPC method) ### Endpoint Not specified (gRPC service) ### Parameters Not specified ### Request Example ```python # Example usage (assuming request object is defined) # from finazon_grpc_python.service_name_service import ServiceNameService, RpcNameRequest # service = ServiceNameService() # request = RpcNameRequest(...) # response = service.getTimeSeriesSar(request) ``` ### Response Not specified ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.