General
What does the "Most likely due to a circular import" error mean in Python?
This error indicates that your Python code has a circular dependency—when two or more modules depend on each other directly or indirectly through import statements. This results in an import loop that Python cannot resolve during the execution of the ...
What should I do if the 'fyers-api' installation does not resolve my issue?
If installing the fyers-api package doesn't resolve your issue, the problem might be related to environment conflicts or outdated dependencies. Setting up a clean Python virtual environment often helps isolate and fix these issues. Steps to create a ...
What should I do if I encounter the error "No module named 'fyers_api'" on FYERS?
This error means that Python cannot find the fyers_api module in your environment. It usually occurs when the required package isn’t installed or is installed in the wrong environment. How to fix it? To install the package: pip install fyers-apiv3 ...
What is the maximum number of WebSocket connections a single user can have on FYERS?
It is recommended to limit WebSocket connections to a maximum of five per user for optimal performance. Exceeding this number can result in packet loss or delayed responses.
What distinguishes background from foreground files in the WebSocket API of FYERS?
In WebSocket API, the foreground file displays data in the terminal, whereas the background file records it in a logs file, catering to different data handling needs.
Why do I get "Invalid Inputs" or "Invalid Quantity" errors on FYERS?
These errors typically occur when the data submitted to the Order API is not in the expected format. Double-check your inputs for correct format compliance, and refer to this documentation for guidance.
What does a "Permission error" mean in the response attributes on FYERS?
A "Permission error" in response attributes indicates a lack of necessary permissions for the user to execute specific actions. This error can arise from restricted access to endpoints, order placement, or data retrieval. Ensure your account has the ...
How does the authentication and login flow work for user apps on FYERS?
The authentication process for user apps involves navigating to the Login API endpoint, followed by user redirection to the redirect URI with an auth_code after successful login. Use this auth_code along with appIdHash (SHA-256 of api_id + ...
What is the purpose of a redirect URI in FYERS' system?
The redirect URI is a crucial security component where users are redirected post-login using FYERS credentials. It should be a URL you control, as it contains sensitive information like the access token.
What is the process for creating a third-party app with FYERS?
To create a third-party app, kindly get in touch with us at api-support@fyers.in along with the required details.
What is the function of the refresh token in FYERS?
A refresh token in FYERS is used to generate a new access token when the previous one expires. It remains valid for 15 days, ensuring continued access without the need for frequent re-authentication.
What are the consequences if I exceed the per minute rate limit more than three times in a day?
If you exceed the per minute rate limit more than three times in a single day, your access will be blocked for the remainder of that day. This measure is in place to maintain system stability and fair usage.
How to revoke FYERS API Access?
If you want to cancel/delete the FYERS API access, you can do it by yourself in the My API Dashboard. Login to My API with your FYERS credentials and go to the Dashboard, you’ll be able to view all the APIs you’ve created along with all the FYERS ...
What is FYERS API?
We have launched FYERS trading API mainly to address the unique requirements of the Algo trading community and capital market startups that require trading related functionality without having to set up their own brokerage. With our API, you will be ...
How is FYERS API useful?
If you are building a trading/investing platform, FYERS API will solve the execution piece by enabling users to place orders and trade through us. You can also use the APIs to enable trading strategies with execution, manage portfolios and more. ...
Do I need regulatory approvals to plug-in FYERS API?
You don’t require regulatory approval to use FYERS API unless under special circumstances depending on your use case. As a brokerage, our platforms are approved by the exchanges. To know about the API usage and the Liability of the APIs, please read ...
What is Algo Trading?
Algo trading is a system of trading wherein simple or complex trading strategies are defined into algorithms which can then execute trades on the basis of the predefined parameters. It executes orders using automated or semi-automated pre-programmed ...
How do I get my API ID and Secret keys?
You can read about the API integration related information and create an App here. The API ID and Secret keys will be displayed in the API dashboard as soon as you create the App.
Does FYERS charge any subscription fees for Trading API?
No, it’s free. You can access our Trading APIs without incurring any fees whatsoever. You can also access Historical Data, Quotes and Market Data for free.
Do I need to pay for Datafeeds?
With FYERS API, you will be able to access the historical data, quotes and real-time data. This is available to all our clients at absolutely zero fees. In order to avail this feature, the user has to create an app here and provide the following ...
Does FYERS provide free trial access to APIs for developers?
As FYERS API is available for free to FYERS users there is no need for trial access. However, you must be adhering to these terms and conditions. You can refer to our API Docs and create an app here to access our API. If you’re not yet our client, ...
Does FYERS provide any support in setting up my Trading System or Algorithm for Individuals?
No, we do not provide support in terms of setting up a trading system or coding your algorithms. Since many users are equipped with either the knowledge required to it themselves or get this done from the software developers/coders, we stay away from ...
Can I place Basket Orders through FYERS API?
Yes, you can place basket orders through FYERS API. You can place up to 10 orders in 1 API call. These orders will be placed sequentially and the response of all the orders will be provided to you as a response in the same order. You can refer to the ...
Can I place BO/CO through FYERS API?
Yes, you can place all the types of Orders/Product available on our platform. For more information check out API Documentation.
Where can I read the Terms and Conditions for API usage?
You can read our Terms and Conditions for API usage here.
Popular Articles
How long does it take to process a withdrawal request on FYERS?
Timing matters when it comes to fund withdrawals. Depending on when and how you place your request—and how you added funds—this guide explains when you can expect the amount to be processed and credited to your bank account. Withdrawal Processing ...
What are the latest features in FYERS Web?
The latest TradingView library has been integrated on the FYERS Web and the following are the feature updates. New Features: 1. Icons have been provided for Exit positions, Fund Transfer, Basket Order, My Account, User Settings, Refresh Trading ...
Why do I see warning messages when trading stocks on FYERS?
When placing an order on FYERS, you might occasionally see a warning message such as “Regulatory Caution.” These alerts are shown for stocks that fall under one or more regulatory, risk, or trading restrictions. They’re meant to inform and protect ...
What is a Smart Limit Order?
A Smart Limit Order is an advanced type of limit order that allows users to set custom expiry times and actions, ensuring the expected execution of the order. It includes features like Market Protection Price (MPP) to safeguard against undesirable ...
Are there Annual Maintenance Charges (AMC) at FYERS?
No, FYERS does not levy any Annual Maintenance Charges (AMC) for maintaining your Demat or trading account. This makes FYERS cost-effective, especially for long-term investors who prefer to hold securities without frequent trading. What is AMC? AMC ...