معرفی شرکت ها


fmpy-qi-0.1.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A python wrapper for the Financial Modeling Prep API
ویژگی مقدار
سیستم عامل -
نام فایل fmpy-qi-0.1.3
نام fmpy-qi
نسخه کتابخانه 0.1.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Nicolas THIERY <nicles.thiery@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/fmpy-qi/
مجوز -
# fmpy A python wrapper for the [Financial Modeling Prep](https://site.financialmodelingprep.com/) (FMP) API (unofficial). This package focus on providing a simple and powerful interface for the FMP API. For more information on subscription plans and obtaining an API key, please visit the [FMP website](https://site.financialmodelingprep.com/developer/docs/pricing/). ## Installation *** Install fmpy using the pip command: ``` $ pip install fmpy_qi ``` ## Usage *** To begin, you need to create an FmpClient object by passing your API key (provided by FMP) as parameter: ```python from fmpy.client import FmpClient client = FmpClient(api_key="YOU_API_KEY") ``` Note that fmpy allow you have to store your API key in as an environment variable under the name **FMP_API_KEY** (in that case no need to provide the *api_key* parameter for the FmpClient instantiation) FmpClient can be initialised with other parameters: rate_limit: number of call per minute tolerance (300 by default). This allow to not exceed the rate limit timeout: number of seconds to wait a request before raising a timeout (5 by default) request_retry: number of request retries before abording (5 by default) Here is an example: ```python from fmpy.client import FmpClient client = FmpClient(api_key="YOU_API_KEY", rate_limit=750, timeout=20, request_retry=1) # Will not make more than 750 requests per minute, # with 20s of timeout and a potential request retry limited to 1 ``` ## Historical data ```python from fmpy.client import FmpClient client = FmpClient(api_key="YOU_API_KEY") hist_data = client.get_historical_data('TSLA', period='1h', start='2020-01-02', end='2022-06-25') # Retreive historical 1h candles for Tesla stock between 2020-01-02 and 2022-06-25 ``` ## Licence *** © 2023 Nicolas Thiery This repository is licensed under the MIT license See LICENSE for details. Please note that this package is not endorsed, supported, or affiliated with FMP. We do not have any formal relationship with FMP, nor do we receive any financial compensation for developing or distributing this package.


نیازمندی

مقدار نام
>=1.23 urllib3
>=2.5.4.1 requests
>=2.0.0 pandas


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl fmpy-qi-0.1.3:

    pip install fmpy-qi-0.1.3.whl


نصب پکیج tar.gz fmpy-qi-0.1.3:

    pip install fmpy-qi-0.1.3.tar.gz