Select Page

APIBridge Settings

What are Templates and how do they work?

A template is the complete “set of settings” from APIBridge. A template contains Symbol settings, Entry ,Exit and Square off time from UI Settings, API credentials and Signal Settings. You can add notes about each template by clicking Edit (for future…

What are Symbol Settings?

Input Symbol: This should be same as the symbol in your chart or other application such as Amibroker/MT4/Python/TradingView Exchange Symbol: Actual symbol for placing orders via API. Eg. NIFTY for Nifty index futures. Instrument Name: Should be selected…

What are Signal Rules or Signal Settings

Signal Rules help you avoid wrong order placement through strategy/button misfire. APIBridge allows deep level of control on how to process your Signals. You can manage Signal Rules by clicking on top Application Settings ->Signal Settings Avoid consecutive order…

What are Risk Management Settings?

APIBridge allows Risk Management at 3 different levels Preventing Strategy mis-fire through Signal RulesCapping Max Loss/Max Profit per tradeTime-based squareoff for intraday tradersMaxOrderPerMinute, MaxTradesPerDay, MaxSymPos, Daily Max Loss…

What are Modes – Paper Trading, PoupUp, Default

Mode (Default/PaperTrading): For placing live orders select Default or Pop Up mode. Paper Trading is available to test out functionality of Bridge without using any Broker API. However, Paper Trading mode has few limitations like unavailability of SquareOff, MaxLoss,…

How to set trade timings Entry From and Entry To

Entry From: You can set the time from which Trading will start, irrespective of your signals. For example, if you are trade intraday, and don’t want to trade in first 15 minutes after market open, you can change Entry From to 9:30 AM. Entry To: You can…

What are Full Logs, Application Logs and API Logs

The Bridge maintains logs at different levels for convenience and audit. You can find following five tabs for filtered logs on main window – All, Trading, Connectivity, Error, External Modules. All: This tab shows most relevant messages for user of all type. It…

What is Paper Trading? How is it different from Live Trading?

Paper trading allows you setup algo and test working of your trading system. But it is not substitute of live trading to check performance of your strategy. What works in APIBridge paper trading? All symbol settings except MaxProfit and MaxLossAll risk management…

How to manually create backup & restore of Templates

Do you need to migrate your complete settings (template) when you move from one PC to another? Or just save all settings somewhere safely for future re-use? Follow these steps: => From Root folder of Apibridge, Copy Settings.xml, RiskManagement.csv and…

How do I setup algo for multiple strategies?

APIBridge allows you to trade in multiple strategies in same stock or different stocks. For example, you can trade in NIFTY in 5-minute time frame and 15-minute time under different strategies. The positions of both strategies will be maintained separately. Further,…

How to setup algo on MAC or mobile?

You can setup algo on any device – including all components like APIBridge, TradingView, Amibroker etc. This requires two steps – first to setup algo on a Windows VPS, and second to use the VPS on your MAC or mobile. To setup a Windows VPS for trading, you…

Token Expired, User_target not logged in, Status not returned

When you Login to API, it creates a “session” with your Broker. After login, all request made to broker API- such as order placement, net positions etc. are made using “session token”. Once a session is created, its maintained for entire day….

Email and SMS notifications or alerts

You can setup email notifications in APIBridge for any signal received and order placed via gmail. This could be particularly helpful to supervise when you are not in front of your computer. Example: if you get notifications on Signal Received, but not order placed…

How to trade in multiple accounts using multiple instance

For various reasons, you may like to algo trade in multiple accounts on one computer. For example, you have family accounts or multiple strategy platforms. Trading in multiple accounts require minor code changes. As an example, we are here detailing only code changes…

Can I trade from TradingView and Amibroker at same time? Multi-platform support?

Consider this: you have a wonder Renko strategy in TradingView, and a backtested quant strategy in Amibroker. You may like to use multiple strategy platforms at same time, like TradingView, Amibroker, MT4 etc. Currently you cannot trade from multiple platforms using…

Signal Parameters, Format and Protocol in APIBridge

As per above process diagram, the sequence of Signal processing is as follows: Signal is received in BridgeValues are taken from Symbol Settings window by matching symbol given in Signal with “Input Symbol”Signal Setting rules are applied from Application Settings…

How to Import/Export Symbol Settings?

Import/Export Symbols: You can import/export all symbols from csv file. See video below for correct…

How to calculate Quantity dynamically from Exposure (Qty by Exposure)

Qty from Exposure: Exposure means the order value with which you want to take position. It’s calculated only for LE/SE signals. For LX/SX signals, qty is taken based on last sent LE/SE signal (regardless they are completed or not; Bridge not checks for NetPos…

How to calculate Quantity dynamically from Stoploss (Qty by SL)

Qty from SL: Calculated only for LE/SE signals. For LX/SX signals, qty is taken based on last sent LE/SE signal (regardless they are completed or not; Bridge does not checks for NetPos here)->RoundLotSize: for EQ segment should be given as 1->Risk is user…

How fast is order placement? What is the latency?

Super-fast order placement is the best part of APIBridge, and makes it stand apart from any other algo software. In the message window, you can see all messages upto millisecond time stamp. We want you to see what’s happening at millisecond level (1/1000th of a…

Tell me about latency in full detail

Are you an intraday trader cautious about trading super-fast? Even before we answer your question – the more important question is – should you be worried about a latency of 1-2 seconds. The surprising answer is NO! We first answer this part, and you can…

Signal with same params is ignored

If you see this message, it means the APIBridge just saved you from a duplicate trade! As per the Signal Rules, the APIBridge avoids consecutive order placement with repeated values. However, if you purposely want to send repeated orders with exactly same params, you…

Object Reference not set to any instance of any object

If you get this issue when sending Signal to APIBridge, it means you are sending something wrong in format of the Signal, which cannot be matched with Symbol Settings. To solve this issue: 1. Use only one or two rows in Symbol Settings, and check whether every value…

Position not found

APIBridge has smart risk management which avoids strategy misfire. If you see this message, it means your Signal Settings are turned on. Go To Application Settings-> Signal Settings You will see this rule ticked: LX/SX Send Quantity <= NetPos: This rule is…

Symbol Settings not found

If you see this message, it means your Symbol Settings are wrong. The Bridge needs some essential information for order placement. INPUT SYMBOL: this should be same as your chart symbol in TradingView, Amibroker, MT4 etc. If you accidentally add a character, or do not…

Broker did not respond – Order not placed

What if I place order with wrong values? If you give wrong orders parameters, broker api may not place your orders. For example, if expiry is wrong, broker api will give error. Also, if the combination of ordertypes is wrong, broker api will give error. Example,…

Known Bugs

Here are the list of Known Bugs in APIBridge. We are working to resolve them Qty from SL: when you send exit signal – SX – is not placing order if sent with ” 0 “ stop loss and generating error “error divide by zero” – ideally it should take qty…

API Errors

The Bridge connects with Broker API for functionality such as order placement, order management and trade management. Some of the Bridge features may not function, or malfunction, based on the Broker API. API errors can be seen under the Error tab for easy management…

What are the Signal Settings other than Signal Rules

Signal SourceIf the Signals are received from Local PC only via application such as Amibroker/MT4/Python, tick Local Computer. If you want to receive Signals from Admin, tick Admin. Admin here means a professional Investment Advisor (IA). If you are not taking…

How to setup positional, overnight or delivery algos?

Positional Template has set of rules which may work for positional traders. Here are few points to note: 1. In the product type, use NRML or CNC as given by broker. NRML is also equivalent to Delivery product type. 2. APIBridge does not maintains overnight positions….