معرفی شرکت ها


finter-0.0.9


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

FINTER API
ویژگی مقدار
سیستم عامل -
نام فایل finter-0.0.9
نام finter
نسخه کتابخانه 0.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Quantit <finter_support@quantit.io>
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/finter/
مجوز -
# Finter API client Package ## Overview *Python client SDK for finter platform* - You can get Authorization of finter API with authToken. - Type: API key - API key parameter name: Authorization - Location: HTTP header - This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project. - Please contact with [finter_support@quantit.io](finter_support@quantit.io) if you have any problems, troubles, ... etc. ## Requirements. Python 2.7 and 3.4+ ## Installation & Usage ```sh pip install finter ``` Then import the package: ```python import finter ``` ## Getting Started Please follow the installation procedure and then run the following: ### Get CM Example ```python from __future__ import print_function import time import finter from finter.rest import ApiException from pprint import pprint # Configure API key authorization: tokenAuth configuration = finter.Configuration() # Token-based authentication with required prefix "Token" configuration.api_key['Authorization'] = 'Token YOUR_API_KEY' # prefix "Token" is required # create an instance of the API class api_instance = finter.ContentApi(finter.ApiClient(configuration)) code_format = 'code_format_example' # str | data column code format (optional) end = 'end_example' # str | data end date (optional) identity_name = 'identity_name_example' # str | content model identity name (required) tail = 56 # int | data tail row number (optional) try: api_response = api_instance.content_model_retrieve(code_format=code_format, end=end, identity_name=identity_name, tail=tail) pprint(api_response) except ApiException as e: print("Exception when calling ContentApi->content_model_retrieve: %s\n" % e) ``` - Convert to Pandas DataFrame ```python import finter json_response = api_response.to_dict()['cm'] df = finter.to_dataframe(json_response) ``` ### Get Calendar Example ```python from __future__ import print_function import time import finter from finter.rest import ApiException from pprint import pprint # Configure API key authorization: tokenAuth configuration = finter.Configuration() configuration.api_key['Authorization'] = 'Token YOUR_API_KEY' # prefix "Token" is required # create an instance of the API class api_instance = finter.CalendarApi(finter.ApiClient(configuration)) date_type = 1 # int | 0:all day 1: trading day, 2: closed day, 3: weekends (optional, default: 0) start_date = 'start_date_example' # str | (required) end_date = 'end_date_example' # str | (required) exchange = 'exchange_example' # str | (optional) try: api_response = api_instance.calendar_retrieve(date_type=date_type, end_date=end_date, exchange=exchange, start_date=start_date) pprint(api_response) except ApiException as e: print("Exception when calling CalendarApi->calendar_retrieve: %s\n" % e) ``` ### Get Metafund Model Example ```python from __future__ import print_function import time import finter from finter.rest import ApiException from pprint import pprint # Configure API key authorization: tokenAuth configuration = finter.Configuration() configuration.api_key['Authorization'] = 'Token YOUR_API_KEY' # prefix "Token" is required # create an instance of the API class api_instance = finter.MetafundApi(finter.ApiClient(configuration)) code_format = 'code_format_example' # str | data column code format (optional) forward_fill = True # bool | (optional) metafund_name = 'metafund_name_example' # str | (required) try: api_response = api_instance.metafund_model_retrieve(code_format=code_format, forward_fill=forward_fill, metafund_name=metafund_name) pprint(api_response) except ApiException as e: print("Exception when calling MetafundApi->metafund_model_retrieve: %s\n" % e) ``` **You can apply same code frame to use other endpoints.** api_instance | module name | Api url ---- | ------ | ----- ContentApi | content_identities_retrieve | content/identities | | content_model_retrieve | content/model | | ews_retrieve | ews/ AlphaApi | alpha_identities_retrieve | alpha/identities | | alpha_model_retrieve | alpha/model PortfolioApi | portfolio_identities_retrieve | portfolio/identities | | portfolio_model_retrieve | portfolio/model FundApi | fund_identities_retrieve | fund/identities | | fund_model_retrieve | fund/model FlexibleFundApi | flexiblefund_identities_retrieve | flexiblefund/identities | | flexiblefund_model_retrieve | flexiblefund/model MetafundApi | metafund_list_retrieve | metafund/list | | metafund_model_retrieve | metafund/model | | metafund_performance_retrieve | metafund/performance Calendar | calendar_retrieve | calendar/ **Finter Utils** name | description ---- | ---- to_dataframe | convert json-formed data to dataframe


نیازمندی

مقدار نام
>=1.15 urllib3
>=1.10 six
- certifi
- python-dateutil


نحوه نصب


نصب پکیج whl finter-0.0.9:

    pip install finter-0.0.9.whl


نصب پکیج tar.gz finter-0.0.9:

    pip install finter-0.0.9.tar.gz