Select Page

Risk Management Backtesting in TradingView

APIBridge allows you three levels of risk management, for instance you can see the details here. Although we cannot emphasize more how risk management is essential for profitable trading. However in this article, we will show you how very simple risk management...

Automating Alerts with Pinescript

If you are an active trader Automating Alerts with Pinescript could be helpful for generating alerts for APIBridge completely. The standard practice is to type every time alert details like TYPE, PRICE, SL, SYMBOL etc. In other words we can easily fully automate it in...

Trade History in APIBridge

Trade History shows you all details about an order which are important for system trading. It has additional details like ID, Strategy Tag (Stag), Signal Type (SigType), Cumulative PnL and Holding Time. Columns marked with * are in beta mode. Trade statistics like...

Creating Excel strategy with live data

Creating Excel strategy with live data can be easily done, here is how you can create your first Excel Strategy. If you are already using Excel for Analysis, you can merge your existing sheet for deploying strategies in Technical Analysis, Option Chain Analysis, Pair...

AntiVirus Settings for APIBridge

In case you are getting errors with AntiVirus Settings for APIBridge, here is how you can resolve this issue. On a usual personal computer, Antivirus will not interfere because APIBridge has signed a Microsoft certificate. However, on VPS or Organization PCs, you may...

Firewall Settings for APIBridge

Firewall settings for APIBridge play a very important role therefore it could alter your connection which could lead to errors while trading. During First Run.IF you do not allow it during the first run.APIBridge Extension (TradingView) Disconnection.Opening port for...

Python Sample Code for Sending Signals

You can use Python Sample Code for Sending Signals. Therefore Integrating Python with APIBridge is extremely easy. You just need to execute the following Pyhton v3 code for placing orders. For the syntax/protocol/parameters sent to APIBridge, Please refer...

APIBridge Error Code 3410 DailyMaxLoss

Error 3410 indicates that DailyMaxLoss limit is reached, which you can change from Risk Management tab. If Realized MTM loss is greater than this limit, new LE/SE signals will be ignored. Note this limit is NOT based on Unrealized MTM. This feature uses Cumulative P/L...

APIBridge Error Code 3409 MaxSymPos

There might be time when while using APIBridge you have faced an error of any kind. When trader reaches his daily MAximum Pos limit then he might see an Error names Error code 3409. When we reach MAximum Pos limit, we see an Error Code 3409. However we can change it...

APIBridge Error Code 3408 MaxTradesPerDay

Error 3408 indicates that MaxTradesPerDay limit is reached, which you can change from Risk Management tab. This limit applies on maximum Signals (LE or SE) which will be allowed per day. LX/SX signals which are used only to exit a position are not counted in Max...

APIBridge Error Code 3407 MaxOrderPerMinute

Error 3407 indicates that MaxOrderPerMinute limit is reached, which you can change from Risk Management tab. This limit applies on maximum Signals (LE, LX, SE or SX) which will be allowed per minute. By ignoring signals which exceed per minute interval, the Bridge...

APIBridge Error Code 3406 Position Already Exists

The rule under Application Settings-> Signal Settings which says LE/SE place order only… protects from unwanted adding to existing positions. In this case, Bridge gives error 3406. Important: If you intently want to scale-in to a position, you should untick this...

APIBridge Error Code 3405 Net Position Not Found

The rule under Application Settings-> Signal Settings which says LX/SX send Quantity <= NetPos block exit trades if there is no net position. In this case, Bridge gives error 3405. Important: If APIBridge is not correctly displaying NetPos because of Broker API...

APIBridge Error Code 3403 MaxOpenPosition Violated

MaxOpenPosition is the limit for Maximum allowed position for Long or Short trades. Eg., if you provide 100, it will reject new LE/SE signals if they can increase NetPos more than 100. It works for both Long and Short positions. This field is optional. When Max Open...

APIBridge Error Code 3402 Entry To Time Violated

Bridge allows you to define trade timings Entry From and Entry To. Unless you provide values for both these times, they are not applied. If Signal is received and Entry to time is violated, it will give Error Code 3402. You can change your time as per your trading...

APIBridge Error Code 3401 Entry From Time Violated

Bridge allows you to define trade timings Entry From and Entry To. Unless you provide values for both these times, they are not applied. If Signal is received and Entry From time is violated, it will give Error Code 3401. You can change your time as per your trading...

APIBridge Error Code 3318 Wrong Option Type

Option Type is a mandatory column for OPTIDX/OPTSTK symbols. Only two selection of Option Type are available in Symbol Settings – CE and PE However, if you send through Signal any Option Type other than CE and PE, the Bridge will show error 3318. To read about...

APIBridge Error Code 3319 Wrong Signal ID

Signal ID is the first parameter sent to APIBridge. It should be a counter number to track different signals, like 1,2,3 etc. If you get error 3319, it means you are sending null or wrong value in Signal ID To read about all parameters in Signal Received in Bridge,...

APIBridge Error Code 3315 Wrong Strategy Tag

3315 Indicates that Strategy Tag in Symbol Settings does not match with Strategy Tag received in signal from thrid-party-application. STG1 is the default strategy tag. See solution below fror TradingView, MT4 and Amibroker. Solution for TradingView You can change...

APIBridge Error Code 3317 Wrong Instrument Name

3317 Indicates that Instrument Name in Symbol Settings does not match with Instrument reveived in signal from thrid-party-application. See solution below fror TradingView, MT4 and Amibroker. Solution for TradingView In usual case, your each input symbol will be unique...

APIBridge Error Code 3312 Wrong Quantity

Quantity need to be defined as integer value in Signal for all order types and product types. Null Qty is also accepted. Quantity in Settings has precedence over Quantity sent in Signal. If you just want to send Qty dynamically from Signal, leave the Qty blank in...

APIBridge Error Code 3310 Wrong Trailing Ticks

Trailing Ticks is optional parameter for BO. Trail Stop feature is available with only few Broker APIs. For other order types and product types, it is complete ignored. Example – Signal with Trailing Ticks = 50: AlgoJi_Signal(“8”,...