How to change/modify Application Settings in FYERS API Bridge?

How to change/modify Application Settings in FYERS API Bridge?

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 be shared with anyone.

If Login To API is failed due to wrong credentials, you will get an additional dialogue box “Troubleshoot This”. It helps you diagnose broker specific API issues

Signal Settings:

A. Signal Rules

1.Avoid consecutive order placement with the same values.

2.  LE (SE) cancels order from prev LE/LX (SE/SX): This rule can be used to manage open/pending/trig pending orders.  

Example: Bridge places Limit order based on LE, but it does not get filled. When a new LE signal is received (which could be at more opportunistic price), it will cancel the open Limit order sent via LE.

3. LX (SX) cancels order from prev LE/LX (SE/SX): Similar to above rule used for order management based on LX/SX. 

 Example: Bridge places Limit order based on LE, but it does not get filled. When a new LX signal is received, it will cancel the open Limit order sent via LE.

4. LX/SX Send Quantity <= NetPos: This is a very important rule to prevent wrong trades.

Example: Bridge places Limit order based on LE, but it does not get filled. When a new LX signal is received, it will NOT send Sell order for LX, because the current NetPos is zero. If the order sent via LE was only partially filled, it will send LX with partial quantity only.

5. LE place order only in NetPos <=0 & LE place order only in NetPos <=0: This is another important rule to prevent wrong trades. Suppose your trading strategy misfires and you are sending repeated LE trades. It will not process the consecutive LE when NetPos reaches more than 0. However, you can keep this rule un-checked if you want to scale-in to your trades.

6. MaxProfit squares current position and cancels all open orders in particular symbol: Applicable only when MaxProfit is setup in Symbol Settings window. MaxProfit square-off is based on the Unrealized MTM received via API.

Note that MaxProfit does not stop trading; if fresh signals are received, they will be processed.

7. MaxLoss squares current position and cancels all open orders in particular symbol: Applicable only when MaxLoss is setup in Symbol Settings window. MaxLoss square-off is based on the Unrealized MTM received via API.

Note that MaxLoss does not stop trading; if fresh signals are received, they will be processed.

8. SquareOff All button cancels all open orders: SquareOffAll is a panic button which squares off all positions, cancels all open orders (sent via Bridge) and stops receiving any new signals.

9.  Time-Based SquareOff cancels all open orders: it squares off all positions, cancels all open orders (sent via Bridge) and stops receiving any new signals.
Important: The signal rules may or may not be available based on the functionality provided by your Broker API. For details see API Errors.

B. Signal Source

If the Signals are received from Local PC only via an application such as Amibroker/MT4/Python, tick Local Computer. If you want to receive Signals from Admin, tick Admin.

C. Select Amibroker Path

Only if you are receiving Signals via Amibroker, you can set here the path for Amibroker.exe

D. Symbol Settings

Enter Default Strategy Tags: Only if you are trading in multiple strategies, enter comma-separated tags. Example: STG2,STG3,STG4

Select Columns to be Displayed: applicable for the Symbol Settings window

ELicense

Shows any strategy tags assigned by Admin for sending signals (listed under features). Also, you can see the type of license allowed with the expiry date.

F. Security

Change your password here – we recommend you to use a secure password

G. Backup and Restore

You can backup all your data (example when shifting to another computer). The automatic restore functionality is currently unavailable.

    • Related Articles

    • How to change/modify Symbol Settings in FYERS API Bridge?

      Symbol Settings The FYERS API Bridge works based on “Signals”. A Signal is basically an indication (not decision) to Buy or Sell with specific conditions. The Bridge processes 4 types of Signals: Long Entry (LE): Equivalent to fresh Buy for creating ...
    • How to change/modify Risk Management settings in FYERS API Bridge?

      Risk management allows you to manage risk both at the strategy level and global (account level). You will see here rows based on the strategy tags added under Application Settings -> Symbol Settings. When you click on any row, it shows you the ...
    • What is the FYERS API Bridge?

      FYERS API Bridge is a lightweight and easy to use portable application. It can be integrated with the FYERS order management engine through our Trading API to place orders or requests from the front-end charting/Algo platform. For more information, ...
    • How to integrate FYERS API Bridge with front-end platforms?

      You can send Signals in FYERS API Bridge through an external program such as Amibroker/MT4/TradingView/Python/C# etc. Understanding How Signals Work: The FYERS API Bridge works based on “Signals”. A Signal is basically an indication (not decision) to ...
    • How to integrate FYERS API Bridge with Amibroker?

      Integrating FYERS API Bridge with Amibroker is extremely simple, watch the following video for complete integration. Amibroker Autotrade AFL Toolkit contains a set of AFLs for automating/modifying your strategy. You can use these set of AFLs to ...