General
What does the "Most likely due to a circular import" error mean in Python?
This error in Python signifies a circular dependency among two or more modules, where they try to import each other, creating an infinite loop and leading to the error. It's important to restructure your code to avoid such circular dependencies.
What should I do if the 'fyers-api' installation does not resolve my issue?
If the 'fyers-api' installation doesn't fix the problem, try creating a virtual environment for your project using Python. Use the commands 'python3 -m venv env', 'source env/bin/activate', and 'pip install fyers-apiv3' to set up and install the ...
What should I do if I encounter the error "No module named 'fyers_api'" on FYERS?
This error typically indicates the 'fyers-apiv3' package is not installed. You can resolve this by installing the package using the command '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?
Upon placing a withdrawal request with FYERS, here's what you need to know: Same-day Processing: If you make a request between 5:00 AM and 5:00 PM, we process it on the same day. However, if you have open commodity positions/orders in the MCX ...
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 am I getting an error stating 'This scrip is marked under ASM/GSM by the exchange'?
The error 'This scrip is marked under ASM/GSM by the exchange' pops up when you attempt to place orders in securities listed under Additional Surveillance Measures (ASM) or Graded Surveillance Measures (GSM) by the exchange. Why are ASM/GSM ...
What is GTT? Can I place a GTT order in FYERS?
Good Till Trigger (GTT) is an order type where you can set a Target or Stop-Loss, remaining valid for up to one year from its placement. In essence, you determine a price to Buy or Sell a particular scrip, and this order remains active until that ...
Are there Annual Maintenance Charges (AMC) at FYERS?
No, there are no Annual Maintenance Charges (AMC) at FYERS.