Skip to main content

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.

Metadata

Release files for fyers-api-helper 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fyers-api-helper 1.0.0
File Size Uploaded Provenance Actions
fyers_api_helper-1.0.0.tar.gz 11.8 kB Without provenance Details for fyers_api_helper-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fyers-api-helper 1.0.0
File Interpreter ABI Platform Actions
fyers_api_helper-1.0.0-py3-none-any.whl Python 3 none any Details for fyers_api_helper-1.0.0-py3-none-any.whl

Total release size: 26.4 kB

Release files / fyers_api_helper-1.0.0.tar.gz

Download URL fyers_api_helper-1.0.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3ed3e636b32cc37c487ce7d03efbdbe65e4d507076175e873c91322e2c12f0e3
BLAKE2b-256 checksum
How to use checksums
9e54694b267984ce02aed693cd493aff4a53a45d16964c68a56c744a1da08e14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / fyers_api_helper-1.0.0-py3-none-any.whl

Download URL fyers_api_helper-1.0.0-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5595cb801276d3d4af62524cf4267a2b90870e19941bc62d2e3c5ca9bc895122
BLAKE2b-256 checksum
How to use checksums
eba53d7bb6c0a19977fd121911461fdb7bc18d62861a6b21b700da81f8cb2b04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for fyers-api-helper 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page