The FYERS API Bridge connects you to our Trading API for functionality such as order placement, order management and trade management. API errors can be seen under the Error tab for easy management and resolution.
Refer a list of communication between FYERS API Bridge and Trading API:
Login & Authentication Your login credentials are not read/processed by Bridge. Usually, the Trading API invokes account login form in a browser. If the login fails for any reason, you will receive a Troubleshoot pop-up with API Specific details.
After login, the API allows you to communicate during a “session”. This session automatically expires at the end of the trading day. This effectively means you need to log in every day to “start session”. The session may also expire if you log in to API from another device.
Order Placement Order Placement is the most critical part. FYERS has specified limits w.r.t. order placement such as: margin limit, price band limit, trading symbol limit, time limits etc. The Trading API may give an error if the order is placed with wrong parameters. You can see rejection reason under OrderHistory and the error in Message window.
Get Order Status NetPositions (and Signal Rules) can malfunction if proper Order Status is not received from Trading API. For example, if there is no information about the order is executed or not, the NetPosition cannot be updated. To resolve this error, you can check the Error tab for technical details to report us.
Order Cancellation Order Cancellation based on Signal Rules will not work if the proper status is not returned by Trading API. To resolve this error, you can check the Error tab for technical details to report to us.
Get Unrealized MTM MaxProfit and MaxLoss based on Symbol Settings will not work if Unrealized MTM is not received from Trading API. To resolve this error, you can check the Error tab for technical details to report to us.
If you have any specific query about API Error do write us to [email protected].
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.
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 ...
You can access the detailed documentation for Application settings in Help section. Application Settings: API Credentials Put here FYERS Trading API credentials such as App ID/Secret ID and Redirect URL. This is your confidential data and should not ...
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 ...
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. ...