Skip to main content

Fyers API Helper Package

Project description


Documentation Status License

Welcome to the Fyers API Helper, a Python library designed to streamline your interaction with the Fyers API effortlessly. This library is offered freely to the public under the MIT open-source license.

Features

  • Graphical interface for credential management: Fyers API Helper provides an intuitive graphical interface hosted locally. It allows you to easily store and retrieve credentials and access tokens with convenience.

  • Semi-automatic access token generation: Enjoy a straightforward semi-automatic process for generating and validating access tokens.

  • Symbol search with Text User Interface (TUI): Easily search for symbols using a clean Text User Interface based on their names.

  • Clean Historical Data function: Access a user-friendly and unlimited (exercise caution and adhere to Fyers API limits) historical data gathering feature.

Installation Guide

Step 1: Fyers Account Setup

Step 2: Create a New Fyers App

  • Create a new Fyers App and set the Redirect URL to 127.0.0.1:7000 (Ensure data access for optimal performance).

Create App Create App

Step 3: Install the Library

  • Open your terminal and run the following command:
pip install fyers-api-helper

Make sure Microsoft Visual Studio C++ 14.0 or above is installed.

Step 4: Configuration

  • In the terminal, execute:
fyersh config

This will open a new browser window to save configuration details.

Configuration

After saving, press Ctrl-C to continue.

Step 5: Generate Access Token

  • For generating a new access token, execute the following command in the terminal:
fyersh access

Access

Enter your login details and press Save to store the access token.

For more details, refer to the documentation.

Step 6: Basic Usage

from fyers_apiv3 import fyersModel
from fyers_api_helper import get_app_id, get_access_token

client_id = get_app_id()
access_token = get_access_token()

fyers = fyersModel.FyersModel(client_id=client_id, is_async=False, token=access_token, log_path="")

response = fyers.get_profile()

print(response)

Contribution Guidelines

We welcome contributions to the Fyers API Helper! If you wish to contribute, please follow these guidelines:

  1. Fork the repository and create your branch from main.
  2. Make sure your code adheres to the existing style and conventions.
  3. Ensure that your commits are clear and concise.
  4. Open a pull request, describing the changes you made and why.

Disclaimer

Fyers API Helper is not affiliated with or endorsed by Fyers. All trademarks and logos belong to their respective owners. Trading and investing in the stock market involve risk, and it is essential to conduct thorough research and seek professional advice. The authors and contributors of Fyers API Helper are not responsible for any financial losses or other damages resulting from the use of this library. Use it at your own risk.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fyers_api_helper-1.0.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fyers_api_helper-1.0.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file fyers_api_helper-1.0.0.tar.gz.

File metadata

  • Download URL: fyers_api_helper-1.0.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for fyers_api_helper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3ed3e636b32cc37c487ce7d03efbdbe65e4d507076175e873c91322e2c12f0e3
MD5 620f1c5d2f045c4e6fd1c61e388b30b2
BLAKE2b-256 9e54694b267984ce02aed693cd493aff4a53a45d16964c68a56c744a1da08e14

See more details on using hashes here.

File details

Details for the file fyers_api_helper-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fyers_api_helper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5595cb801276d3d4af62524cf4267a2b90870e19941bc62d2e3c5ca9bc895122
MD5 3d3c0a16682a62397c18481b28221a58
BLAKE2b-256 eba53d7bb6c0a19977fd121911461fdb7bc18d62861a6b21b700da81f8cb2b04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page