Git Product home page Git Product logo

fyers_api_helper's Introduction


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.

fyers_api_helper's People

Contributors

adityadkale avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.