Symbol Settings / Symbol Mapping with Stoxxo Intelligent Trading Bridge

Requirement
It is not a surprise if you wonder what purpose does the symbol mapping serve?
This question crosses the minds of many first time users of bridges.
Trading Applications such as AmiBroker, MetaTrader etc are getting data from external data vendors
whose Symbols more often than not are different to your broker’s.
Example1: In case of futures and options TradingView symbols are different from Zerodha. To Bridge
between two different systems, bridging software should be in position to handle these differences.
Example data provider symbols can be NIFTY-I/NIFTY_I/FIFTY_FUT whereas no such symbol exists with
any broker.
Moreover, by providing symbol mapping, bridges can also provide some advanced functionalities like
taking care of Targets, Stoplosses etc. Apart from this bridge also provides effective strategy and risk
management by using symbol settings. Based on your settings, the bridge can also manage your position
sizing.
Intelligent Settings
Disclaimer : These fields are optional and are dependent upon many factors like Broker’s feed
speed, accuracy, reliable internet connectivity etc. Bridge is only providing technical possibility,
using provisions of broker API functions, without taking any responsibility. Use these features at
your own risk.
Each field of Intelligent Settings is described below. It is most important to understand that many of these
settings are implemented at bridge level by using provided API Functions. These features are dependent
upon many factors like broker feed, reliable internet stable hardware etc.
Example: To check if target is achieved or not? bridge needs LTP data from broker API and in case of
internet disconnect bridge unable to get latest LTP and of course it won’t be able to take dependent action
and functionalities can misbehave.
However these are very powerful and most demanded features by traders. We tried our best to provide as
much stability as possible, In the event of internet disconnection bridge will try to reconnect itself
whenever connectivity resumes. These are being provided without taking any responsibility. You’re free to
use at your own risk.
With intelligent features, you can specify Target and Stoploss even with Simple Orders .
(Intelligent Trading Bridge as the name Goes It Can handle extreme volatility situations when your broker
denies BO & CO orders, we got your back covered with MIS Intelligent Order Management System, The
First in Category To Offer This Feature)
Not Just Above We even amplified your trading magnitude with CO orders Too, You can now specify
Target for CO Orders as well .
Need More? Does Your strategy demand the next level?
Not To Mention, Stoxxo is also ready with it and you can now specify Trailing for Targets and Stoploss.
You can also set Multiple Targets for the same order by specifying the Qty you wish to exit when every
target achieved.
ANY OPTIONAL FIELD CAN BE LEFT BLANK OR FILLED WITH ZERO. THAT WILL ONLY BE CONSIDERED WHEN THAT IS
MORE THAN ZERO.
Soon we would be adding a few more very exciting features. Keep Checking for updates.
SYMBOL MAPPING PARAMETERS

S.NO PARAMETER VALID
INPUT
DESCRIPTION REMARKS / EXAMPLE
1 Is Enabled Tick Box You can enable / disable Symbol
Mapping. Bridge will check for
enabled symbols only.
For best performance it is
strongly recommended that
enable symbols which are
really required for that trading
day.
2 Source
Symbol
Alpha
Numeric
Text
This is the symbol which will be
coming from AFL, MQL,
NinjaScript, TradingView, Excel
etc. This is generally a symbol
from your chart.
Wildcard Character (*)
For advanced users, IAB has a
very powerful feature of Wildcard
characters. Please see the
section How to use Wildcard
Character.
NIFTY-I, ACC-I, SBIN, PNB etc.
3 Data Provider Drop Down
Box
(Others,
Accelpix,
TrueData,
GDFL)
You can select the appropriate
data provider.
This works best in combination
with Wildcard characters. For
more information, Please see the
section How to use Wildcard
Character.
Name of the provider doesn’t
matter, Symbol Formatting is what
actually matters.
If your data provider name is not
here but its Symbol naming
conventions match with any of
listed providers, then you can
select that.
4 Mapping
Type
Drop Down
Box
Type of mapping between the
Source Symbol and Exchange
Symbol. With IAB even you can
map equity Symbol to Options
and Future dynamic symbols.
Each mapping type is described in
the below table for better
clarifications.
5 Exchange Drop Down
Box
(NSE, BSE,
NFO, MCX,
CDS)
Exchange of the selected
symbol.
You may select the appropriate
exchange from the Drop down
list.
For Equity: NSE
For Futures and Options: NFO
For Commodities: MCX
For Currency: CDS
6 Exchange
Symbol
Alpha
Numeric
Text
This is the symbol which is
recognised by the selected
Broker / Exchange.
Bridge will suggest possible
stock symbols while you typing
For Simple Mapping Type , you
need to type the whole Symbol
including Expiry etc in case of
Futures and Options Eg.
ACC20OCTFUT,
NIFTY20SEP10850CE etc.
For other mapping types you only
need to enter Symbol Name, the
rest part will be taken care by the
bridge. Eg ACC, NIFTY etc.
7 Option Type Drop Down
Box
(CE, PE)
You may select the appropriate
option of CE, PE from the Drop
down list. This will be used to
calculate Options Symbol.
This will only be visible for below
mapping types.
➢ At The Money Opt
➢ In The Money Opt
➢ Out The Money Opt
➢ Manual Opt Strike
For other Mapping Types such as
Simple, FUT etc it will be in a
hidden stage.
8 Options
Expiry
Drop Down
Box
(Weekly,
Monthly)
You may select the appropriate
Options Expiry of Weekly,
Monthly from the Drop down list.
This is used to calculate Options
Symbol.
Weekly Options are only
available with NIFTY and
BANKNIFTY.
This will only be visible for below
mapping types.
➢ At The Money Opt
➢ In The Money Opt
➢ Out The Money Opt
For other Mapping Types such as
Simple, FUT etc it will be in a
hidden stage.
9 Options
Depth
Number If you selected the mapping type
as In The Money or Out The
Money, then Options Depth will
specify the difference of the
selected tricker from At The
Money options.
Please check the Mapping Type
Table for more details with
examples.
10 Use FUT
Price to
Calculate
Options
Strike
Tick Box In case of At-The-Money,
In-The-Money, Out-The-Money
options bridge needs to fetch the
LTP to calculate the Strike Price.
This Strike Price is generally
calculated based on Stock’s Spot
Price, However few traders wish
to calculate strike based on
Stock’s Current Month’s Future
Price.
If this is tick, Then IAB will take
Future LTP for Strike Calculation.
11 Use Round
values for
Strike
Calculation
Tick Box Assume NIFTY Spot price is
10120 then as per Options chain
logic, for CE 10100 will be the
At-The-Money and for PE 10150
will be At-The-Money.
But in cases user may want to
use same value for CE and PE.
If this is Tick, then In above
example 10120 will be rounded by
50 to nearest 10100 and
At-The-Money CE and PE will be at
10100.
If this is UnTick, then
In-The-Money CE will be at 10100
and PE will be at 10150 as per
option chain logic.
12 Options
Strike
Number Shown only If you selected
mapping type as Manual Opt
Strike.
You can specify the Strike Price
here in that case.
This will be used to calculate
Option Symbol.
For Nifty 11500 can be a valid strike
price.
For ACC 1100 can be a valid strike
price.
13 Options
Expiry Date
Date
Calendar
Shown only If you selected
mapping type as Manual Opt
Strike.
You can specify the Expiry Date
here in that case.
This will be used to calculate
Option Symbol.
Eg 29-10-2020
14 Product Type Drop Down
Box
(MIS,
NRML,
CNC, BO,
CO)
You can select the appropriate
option from the provided drop
down.
Bridge selects the order variety
depending upon Product Type
selection. If the product type is
MIS, CNC or NRML then IAB will
place a Simple Order and If
Product Type is CO, BO then IAB
will place CO, BO Order.
Example MIS, CO, BO etc.
Bridge is capable of handling BO
and CO orders with their exits
properly.
15 Entry Order Drop Down
Box
(MARKET,
LIMIT, SL,
SL-M)
You can select the appropriate
option from the provided drop
down. Example Market, Limit etc.
Entry Order options are available
as per the Selection of Product
Type.
16 Exit Order Drop Down
Box
You can select the appropriate
option from the provided drop
down. Example Market, Limit etc.
Exit Order options are available
as per the Selection of Product
Type.
For BO and CO Orders, it can only
be Exit BO / Exit CO.
17 Strategy Tag Drop Down You can select one or more
Strategy from the Drop Down. If
required, You can create
additional strategies from the
Strategy Tags Tab.
Each symbol mapping is linked with
one or more strategies and it will
only be used if a trade signal is
coming from the respective
strategy.
18 Quantity
Type
Drop Down
(Fixed Qty,
By Stop
Loss,
By
Exposure)
You can specify Quantity for
trading in Multiple ways.
Fixed Qty
You can mention the fixed
quantity. For future and options,
this will be in lots.
By Stop Loss
You need to specify the Max
Amount which you would like to
put on Risk for given trade. It is
mandatory to set the SL or SL
needs to send with signal. In this
case bridge will automatically
calculate the Quantity depending
upon your Stop Loss and Amount
you mentioned here.
By Exposure
You need to specify the Max
Amount which you would like to
trade for given trade. To
calculate the quantity, IAB will
check the Last Day Close and
divide the provided exposure
value by Last Day Close.If in case the last day close is not
available, then Intelligent Bridge
will use LTP.
IMPORTANT: For future and
options, Please specify quantity in
Lots. IAB will internally convert Lot
to quantity. Eg if you mentioned 1
as a quantity for NIFTY Future,
internally it will be converted into 75
which is current NIFTY lot size
If you always wanted to trade 100
shares then select this option and
Enter Quantity Value as 100.
For the future and options, it will be
in lots. Eg if you enter 2 for NIFTY
then it will internally convert into
(75×2) = 150.
If you had mentioned Stop Loss
amount as 1000 and either you had
set SL as 5 or sent with signal, then
IAB will calculate 1000 / 5 = 200
Qty.
In the case of Futures and Options,
If calculated quantity is not in
multiple of Lot Size then it will be
rounded to lower value, Example if
quantity for Nifty came to 100 which
is not in multiple of Lot Size of 75
then IAB will take 75 (1 Lot) as a
quantity. If Quantity Comes to 120,
then IAB will take 150 (2 lots). In
Other words, basically IAB will
round the lots and then calculate
the Quantity.
If you had mentioned the Exposure
amount as 100000 and Last Day
Close of the stock is 500 then
Quantity will be 100000 / 500 = 200.
In the case of Futures and Options,
If calculated quantity is not in
multiple of Lot Size then it will be rounded to lower value, Example if
quantity for Nifty came to 100 which
is not in multiple of Lot Size of 75
then IAB will take 75 (1 Lot) as a
quantity. If Quantity Comes to 120,
then IAB will take 150 (2 lots). In
Other words, basically IAB will
round the lots and then calculate
the Quantity.
19 Quantity
Value
Number Value for the selected Quantity
Type.
20 Max Quantity
(Optional)
Number If Set, Bridge will not place any
order above this quantity. For
Future and Options you need to
mention actual quantity here.
In many cases you may
encounter a situation where you
wish to keep a limit of Maximum
Quantity per trade. In that case
you can use this.
Let’s assume, your quantity
calculation is based on Stop loss
and due to any reason stoploss
gets calculated at 0.05 paisa and
quantity was calculated to 10000.
You do not want to trade with this
much quantity.
To avoid this kind of situation, You
can set Max Quantity. Assume you
set Max Quantity as 1000.
Now when the quantity
calculated below the 1000 then
bridge will take the actual
quantity.
If the calculated quantity goes
above 1000 (which is max
quantity) then the bridge will
take 1000 as Quantity.
To summarize, Max quantity is a
safety filter that overrides SL based
quantity to prevent placement
abnormal quantity based on SL.
21 Max Open
Positions
(Optional)
Number If Specified, Bridge will not place
a new order if the total quantity of
open position is going to cross
this value.
Assume Max Open Position set as
100, and an order for 50 qty is
already placed and position is still
opened.
Now the next LE (long) signal is
coming with Qty of 60, it will be
rejected by the bridge as it is
crossing Max Open Positions.
However if the previous position
was cleared due to Exit / SL /
Target then the bridge will place
new order.
22 Max Trades
(Optional)
Number Maximum number of trades
allowed for the day.
Assume this is mentioned as 5,
then bridge will not place 6th order
for this symbol mapping.
23 Max Profit
Per Trade
(Optional)
Number If any placed order related to this
mapping moved into favour more
than the mentioned amount, then
it will be Exited / Squared off by
the bridge.
It won’t stop the trading.
If specified, it may exit the trade
even before reaching the Target.
System will check for the MTM for
the order and exit the position if the
profit crossed Max Profit value.
If you don’t want to use this, then
leave empty or fill with Zero. If this
is 0 then bridge will ignore this field.
24 Max Loss Per
Trade
(Optional)
Number If any placed order related to this
mapping moved against for more
than the mentioned amount will
be Exited / Squared off by the
bridge.
It won’t stop the trading.
If specified, it may exit the trade
even before reaching the Stop loss.
System will check for the MTM for
the order and exit the position if the
loss crossed Max Loss value.
This is duplicate to the settings
under USER. Value specified in
user settings will take priority
over this.
It is important to note that this
setting applies to this particular
trade for all the users, however user settings will be applied to
the specific user.
25 Max Signal
Per Minute
(Optional)
Number Very useful for stopping strategy
misfire. If specified, Bridge will
only place the mentioned number
of orders in the next one minute.
Applicable for Entry Signals
Only.
Assume, It is set as 1 and first order
came at 09:19:30 and got
processed, now the next order
came at 09:20:02, Bridge will not
process this order as it is in one
minute limit and MaxOrderPerMinue
was set to one.
26 No New
Orders For
Next
Seconds
(Optional)
Numer Very useful for stopping strategy
misfire. If specified, Bridge will
not process new orders till
mentioned seconds passed.
Applicable for Entry Signals
Only.
Assume, it is set as 20 and bridge
received a signal at 9.20.15 then
any signal for same symbol
mapping would not be accepted till
9.20.35
27 Stoploss
Required for
BO / CO
Optional for
others
Decimal or
Percentage
You can specify the Stop Loss
value here.
Bridge will also take care of Stop
Loss even in case of Simple
Orders, if feed is available from
the broker.
Example: 7 or 1.5%
If you want to specify points then
just fill the value and if you want to
specify in percentage then put a %
sign after value Eg 1.5%.
For MIS etc, if you do not want
28 Stoploss
Trailing
(Optional)
Decimal or
Percentage
For BO Order, It will be sent as a
Trailing SL parameter.
For other types of orders it is
observed by the Bridge.
For using stop loss trailing, It is
mandatory to set Stop Loss.
Let’s say it is set as 0.20%. Now
whenever trade moves into your
favour by 0.20%, Bridge will move
the SL Price by 0.20%. Once
Trailing moves forward, it never
comes back even as the last trade
price starts reducing.
Described using below table.
Assume Current LTP = 102, Buy
Price = 102, Stoploss = 98, SL
Trailing = 1
LTP moved to 103 then Stop Loss
will be moved to 99
Now LTP becomes 103.5, Stop
Loss will still remain at 99
LTP moves to 104, SL will be
moved to 100
LTP reduced to 102, but SL will
remain at 100
If you want to specify in points then
just fill the value and if you want to
specify in percentage then put %
sign after value Eg 0.50%.
29 Target
Required for
BO
Optional for
CO, MIS and
others
Decimal or
Percentage
You can specify the Target .
Squareoff value here.
Bridge will also take care of
Target for CO and even in case
of Simple Orders too, if feed is
available from the broker.
Example: 10 or 2.50%
If you want to specify points then
just fill the value and if you want to
specify in percentage then put a %
sign after value Eg 1.5%.
30 Target
Trailing
(Optional)
Decimal or
Percentage
Once the price reaches your
target, Bridge will keep your
position open and wait for the
price to give more movement.
To achieve this goal, a complex
logic is implemented in bridge.
In uncommon scenarios it is
possible your trade may get exit
below then the Target specified.
It is mandatory to set the Target
for using this field.
Never specify any big value for
Target Trailing. It is suggested to
set between 10 to 30% of original
target value. Eg if Target is 5% then
Trailing can be 1%.
It is important to note that bridge
has to give some space for price
fluctuations because price never
goes simply in one direction, so in
certain conditions your target may
be hit lower than Target specified.
This feature will not work with
BO as Target is already supplied
to the broker while placing the
Order.
If you want to specify in points then
just fill the value and if you want to
specify in percentage then put %
sign after value Eg 0.30%.
31 Break Even
Point
(Optional)
Decimal or
Percentage
Once price reaches the
mentioned value in break even
point, Bridge will modify the
Stoploss to Avg Price + 0.05%
which is approximately break
even point after deducting the
brokerage and taxes.
It is Important to note that, if you
had also set for Stop Loss
trailing, it will be still continuing
and whenever trailing
calculations cross the modified
stop loss it will start trailing again.
Example: You set a value of 0.25%
in break even point for a buy trade.
Now whenever price will reach the
Avg Buy Price + 0.25%, IAB will
modify the Stoploss to Avg Buy
Price + 0.05%.
If you want to specify in points then
just fill the value and if you want to
specify in percentage then put %
sign after value Eg 0.50%.
32 Max LTP Diff
(Optional)
Decimal or
Percentage
Data vendors and brokers both
are different and there are
occasions where prices can be
different between data vendors
and the broker.
This is a common situation for
options / derivative traders.
If this is set and Charting LTP
(Signal LTP) is provided with
signal then bridge will match the
Broker LTP with Charting LTP
and if it is in mentioned range,
then only it will allow the order.
If no Charting LTP was provided
with a signal, then this cannot be
validated and this field will be
ignored.
Example: You set a value of 0.10%
and Signal is having LTP of 101 but
the Broker LTP is 100.50, then
bridge will reject this order as LTP
Difference is higher then the set
limit.
If you want to specify in points then
just fill the value and if you want to
specify in percentage then put %
sign after value Eg 0.50%.
33 Price Spread
(Optional)
Decimal or
Percentage
There are occasions where you
want to place LIMIT, SL order
with respect to current LTP.
In other means, a trader doesn’t
want to place a market order as it
can be executed way beyond his
expected price. So he can set
Price Spread with Limit Order so
that he need not to worry for any
unexpected price.
For Limit and SL orders Limit price
needs to be fed with the order as a
mandatory parameter. Bridge is
providing 2 ways to provide the
price required for LIMIT / SL
Orders.
You can supply the Price with
the Signal and the same will be
sent as Price for Limit / SL
orders.Or you can mention the Price
Spread field which will
calculate the price based on
current LTP of the stock and
will be sent as a price for Limit /
SL orders.
If Price was supplied with the
signal, then that will be used as it is.
In that case this field doesn’t have
any impact.
Example: You set a value of 0.50%
and current LTP is 100 then bridge
will send the Price as 100.50 for
LIMIT, SL Order.
If you want to specify in points then
just fill the value and if you want to
specify in percentage then put %
sign after value Eg 0.50%.
34 Trigger
Spread
(Optional)
Decimal or
Percentage
Likewise Price Spread, Trigger
spread can also be set.
Remember to give proper values
to both. Trigger Spread should
be lesser than or equal to the
price spread.
If Trigger was supplied with
signal, then that will be used as it
is. In that case this field doesn’t
have any impact.
Suppose, You set a value of 0.40%
and current LTP is 100 then IAB will
send the Trigger Price as 100.40 for
Sl-Market, SL Orders.
If you want to specify in points then
just fill the value and if you want to
specify in percentage then put %
sign after value Eg 0.40%.
35 Cancel If Not
Complete In
Seconds
(Optional)
Number There are occasions where you
want to cancel an order which
was left uncompleted for a
certain period of time. Here you
can set time in seconds and the
bridge will check order status
after time elapses and if found
open then order will be
cancelled.
Minimum value for this is 5
Seconds.
Example: a limit buy order placed
with a price of 100 but price kept
moving upward and this order was
left open.
Now after 2 hours, stock takes
bearish movement and now coming
back to 100 and order will get
executed then.
This field can be used to save from
these kinds of situations.
36 Multi Target
Exit
(Optional)
Decimal or
Percentage
Here you can specify Exits based
on multiple targets. You can
specify values in Points as well
as in Percentage.
If Target & Trailing Targets are
specified, then those will be
ignored and only Multi targets
will be taken care.
This will NOT work with CO
and BO Orders.
Example: User wants to exit his
50% Quantity when 1% is achieved,
next 25% when 1.5% Target and
rest 25% on 2%. In this case he can
Fill as below.
➢ Target1 = 1%, ExitQty1 = 50%
➢ Target2 = 1.5%, ExitQty2 =
25%
➢ Target3 = 2%, ExitQty3 = 25%
In the given example, It is important
to understand that if the price went
up to 1.1% due to which Target1
executed but then price reduced. In
this case your Target 2 and 3 will be
left open. In this case Break Even
point and Trailing stop loss would
be usable.
Specify the targets and Exit Qty
carefully, Target and Exit Quantity
always calculates in respect of
original value.
Can be specified in Points and in
percentage. If you want to specify
points then just fill the value and if
you want to specify in percentage
then put a % sign after value Eg
1.5%.

SYMBOL MAPPING TYPES


For more and better clarity, please also look at the detailed examples of each mapping type in the next
table.

S.NO OPTION DESCRIPTION EXAMPLE
1 Simple It is One to One Mapping. IAB
will use the exact symbol mentioned in
ExchangeSymbol.
In SourceSymbol you had mentioned ACC-I
and in ExchangeSymbol you mentioned ACC In this case whenever any trade signal will
come for ACC-I, it will be mapped to ACC.
In SourceSymbol you had mentioned ACC-I
and in ExchangeSymbol you mentioned
ACC20SEPFUT, In this case whenever any
trade signal will come for ACC-I, it will be
mapped to ACC20SEPFUT.
In SourceSymbol you had mentioned ACC-I
and in ExchangeSymbol you mentioned SBIN,
In this case whenever any trade signal will
come for ACC-I, it will be mapped to SBIN and
trade will be done in SBIN.
2 Current Month
Fut
In this case IAB will
dynamically create the
Coming Expiry Future Symbol
depending upon the selected
broker. This feature you can
utilize to trade from Equity
charts to Future.
In ExchangeSymbol you only
need to mention the Stock
Symbol, IAB will automatically
create the Coming Future
Symbol. It will automatically
select the next month expiry
after last thursday of the
month.
Let’s say today is 15-Sep-2020 and in
SourceSymbol you had mentioned ACC-I and
in ExchangeSymbol you mentioned ACC, In
this case whenever any trade signal will come
for ACC-I, it will be mapped to
ACC20SEPFUT.
Let’s say today is 28-Sep-2020 (Friday) and in
SourceSymbol you had mentioned ACC-I and
in ExchangeSymbol you mentioned ACC, In
this case whenever any trade signal will come
for ACC-I, it will be mapped to
ACC20OCTFUT.
Let’s say today is 15-Sep-2020 and in
SourceSymbol you had mentioned ACC-I and
in ExchangeSymbol you mentioned SBIN, In
this case whenever any trade signal will come
for ACC-I, it will be mapped to
SBIN20SEPFUT.
3 Next Month Fut In Current Month Fut above
IAB was selecting the Coming
Expiry Future, likewise in Next
Month Fut IAB will convert
signal into Next Expiry Future.
Let’s say today is 15-Sep-2020 and in
SourceSymbol you had mentioned ACC-I and
in ExchangeSymbol you mentioned ACC, In
this case whenever any trade signal will come
for ACC-I, it will be mapped to
ACC20OCTFUT.
Let’s say today is 28-Sep-2020 (Friday) and in
SourceSymbol you had mentioned ACC-I and
in ExchangeSymbol you mentioned ACC, In
this case whenever any trade signal will come
for ACC-I, it will be mapped to
ACC20NOVFUT.
4 At The Money
Opt
If you’re an option trader, you
must be aware of the issues
in selecting the correct option
strike price from Equity /
Futures chart. IAB makes this
job very easy for you.
If this mapping is selected
then your selected stock
symbol will be converted to At
The Money option symbol as
per the LTP. You need not to
worry about writing extra logic
to calculate symbols.
For using this, you need to
select for OptionType and
OptionExpiry as detailed in
the points below.
Let’s say OptionStype is CE, OptionExpiry is
Monthly and Date is 15-Sep-2020. In
SourceSymbol you had mentioned NIFTY-I
and in ExchangeSymbol you mentioned
NIFTY.
In this case IAB will first check for NIFTY
SPOT LTP let’s say it is 11124. Now IAB will
calculate the At The Money CE which is 11100
and creates the Option symbol as per selected
broker. Eg NIFTY20SEP11100CE for
Zerodha.
In the above example, if you had selected a
weekly expiry, in that case IAB will create the
weekly option symbol.
5 In The Money
Opt
Please read At The Money in
above point. To calculate In
The Money, IAB Uses the
OptionsDepth field.
IAB first calculates the At The
Money Option, and then it
moves the price In The Money
depending upon
OptionsDepth Value.
Let’s say OptionStype is CE, OptionExpiry is
Monthly and Date is 15-Sep-2020,
OptionsDepth is 5. In SourceSymbol you had
mentioned NIFTY-I and in ExchangeSymbol
you mentioned NIFTY.
In this case IAB will first check for NIFTY
SPOT LTP let’s say it is 11124. Now IAB will
calculate the At The Money CE which is
In this example Depth is 5 So, In The
Money will be 5 steps deeper than At The
Money.
Nifty Strike Spread is 50. So, In The Money
will be 11100 – 250 = 10850. IAB will then
create the Option symbol as per selected
broker. Eg NIFTY20SEP10850CE for
Zerodha.
6 Out The Money
Opt
Please Read at In The
Money. In this option depth
will be added into At the
Money Price.
In above example In The Money was calculated as
11100 – 250 = 10850, For Out The Money it will be
11100 + 250 = 11350
7 Manual Opt
Strike
There are cases where you
wish to use a specific option
strike and expiry date. In that
case you can use this option
and can specify the Expiry
Date and Strike Price. IAB will create the Symbol
accordingly.
8 Synthetic
Futures

EXAMPLES OF SYMBOL MAPPINGS TYPES

Simple

SNO Source
Symbol
Exchange Exchange Symbol Converted Symbol Transmitted to your
Broker (Ex. Zerodha)
1 PNB NSE PNB PNB
2 ACC_I NFO ACC20OCTFUT ACC20OCTFUT
3 ICICI NSE ICICIBANK ICICIBANK

Current Month Fut

SNO Source
Symbol
Exchange Exchange
Symbol
Today’s Date Converted Symbol Transmitted
to your Broker (Ex. Zerodha)
1 PNB NFO PNB 10-Oct-2020 PNB20OCTFUT
2 ACC_I NFO ACC 10-Oct-2020 ACC20OCTFUT
3 ICICI NFO ICICIBANK 30-Oct-2020
(after last Thursday)
ICICIBANK20NOVFUT

Next Month Fut

SNO Source
Symbol
Exchange Exchange
Symbol
Today’s Date Converted Symbol Transmitted
to your Broker (Ex. Zerodha)
1 PNB NFO PNB 10-Oct-2020 PNB20NOVFUT
2 ACC_I NFO ACC 10-Oct-2020 ACC20NOVFUT
3 ICICI NFO ICICIBANK 30-Oct-2020
(after last Thursday)
ICICIBANK20NOVFUT

At The Money Opt

SNO Source
Symbol
Exchange
Symbol
Option
Type
Option
Expiry
Spot
Price at
time of
Signal
ATM Strike
(Auto
calculated
by IAB)
Converted Symbol Transmitted
to your Broker (Ex. Zerodha)
1 NIFTY-I NIFTY CE Weekly 11224 11200 NIFTY20O0111200CE
2 NIFTY-I NIFTY CE Weekly 11224 11250 NIFTY20O0111250PE
3 NIFTY-I NIFTY CE Monthly 11224 11200 NIFTY20O0111200CE
3 ACC ACC CE Monthly 1245 1240 ACC20OCT1240CE

In The Money Opt

SN
O
Source
Symbol
Exchan
ge
Symbol
Option
Type
Option
Expiry
Option
Depth
Spot
Price at
time of
Signal
ATM
Strike
(calculat
ed by
IAB)
ITM
Strike
Calculat
ed
Converted Symbol
Transmitted to your
Broker (Ex. Zerodha)
1 NIFTY-I NIFTY CE Weekly 3 11224 11200 11050 NIFTY20O0111050CE
2 NIFTY-I NIFTY PE Weekly 2 11224 11250 11350 NIFTY20O0111350PE
3 NIFTY-I NIFTY CE Monthly 5 11224 11200 10950 NIFTY20OCT10950CE
3 ACC ACC CE Monthly 4 1245 1240 1160 ACC20OCT1160CE

Out The Money Opt

SN
O
Source
Symbol
Exchan
ge
Symbol
Option
Type
Option
Expiry
Option
Depth
Spot
Price at
time of
Signal
ATM
Strike
(calculat
ed by
IAB)
ITM
Strike
Calculat
ed
Converted Symbol
Transmitted to your
Broker (Ex. Zerodha)
1 NIFTY-I NIFTY CE Weekly 3 11224 11200 11350 NIFTY20O0111350CE
2 NIFTY-I NIFTY PE Weekly 2 11224 11250 11150 NIFTY20O0111150PE
3 NIFTY-I NIFTY CE Monthly 5 11224 11200 11450 NIFTY20OCT11450CE
3 ACC ACC CE Monthly 4 1245 1240 1320 ACC20OCT1320CE

Manual Opt Strike

SNO Source
Symbol
Exchange
Symbol
Option
Type
Option Expiry
Date
Strike Price Converted Symbol
Transmitted to your Broker
(Ex. Zerodha)
1 NIFTY-I NIFTY CE 01-Oct-2020 11350 NIFTY20O0111350CE
2 NIFTY-I NIFTY PE 01-Oct-2020 11150 NIFTY20O0111150PE
3 NIFTY-I NIFTY CE 29-Oct-2020 11450 NIFTY20OCT11450CE
3 ACC CE 29-Oct-2020 1320 ACC20OCT1320CE

Synthetic Futures

HOW TO USE WILDCARD CHARACTER

A wildcard character is a special character that represents one or more other characters. A
wildcard character is used to substitute one or more characters in a text.
? – mean any one character (one and only one for each ?)

  • – means any number of any characters (zero or more characters)
    This may look difficult initially but once you understand the concept, this will perform amazingly. Wildcard
    characters are not Limited to IAB, these are used everywhere even in your Computer File Search.
    Example if you want to search all PDF in computer just mention *.pdf, where * means whatsoever
    character just search and pdf says that only PDF files.
    Let’s try to understand with few examples:
    ● A* : It means any text which starts with A, as * is placed after A which means anything and any
    number of characters after A.
    Below are few A* Examples with their results:
    ○ Apple – Valid
    ○ ACC – Valid
    ○ ABB – Valid
    ○ Amazon – Valid
    ○ Mumbai – Invalid
    ○ Punjab – Invalid
    ○ Reliance – Invalid
    SNO Source
    Symbol
    Exchange
    Symbol
    Option
    Type
    Option
    Expiry
    Spot
    Price at
    time of
    Signal
    ATM Strike
    (Auto
    calculated
    by IAB)
    Converted Symbol Transmitted
    to your Broker (Ex. Zerodha)
    ● A*E : Now try to understand what this says? Any Text which is starting with A and ending with E
    and * in middle means no matter whatever is in the middle.
    Below are few A*E Examples with their results:
    ○ Apple – Valid
    ○ ACC – Invalid
    ○ ABB – Invalid
    ○ Abide – Valid
    ○ Acclimatize – Valid
    ○ Shame – Invalid
    ● A?? : As specified above, ? means there can be any but max 1 character for each ?. As we had
    mentioned two question marks, then there can be exact two different characters. Any Text which is
    starting with A and length of 3 will only pass this.
    Below are few A?? Examples with their results:
    ○ Apple – Invalid
    ○ ACC – Valid
    ○ ABB – Valid
    ○ Abide – Invalid
    ○ Acclimatize – Invalid
    ○ ACE – Valid
    ● NIFTY20???FUT : Now, try to understand what is the expectation from this? Any text which is
    starting with NIFTY20 and then any 3 characters and then ending with FUT.
    It means select any future, month does not matter here. For month we allowed exactly any 3
    characters. This is possible to write using the * as well like this NIFTY20FUT. Below are few NIFTY20???FUT Examples with their results: ○ NIFTY20NOVFUT – Valid ○ NIFTY20DECFUT – Valid ○ NIFTY21JANFUT – Invalid ○ NIFTY21FEBFUT – Invalid ● If you want to accept the 2021 as well, so hopefully you get to know what you need to change? You can do it using two ways. ○ NIFTY?????FUT or ○ NIFTYFUT
    Intelligent Bridge supports Asterisk / Star (*) and Question Mark (?) as a wildcard character for
    Source Symbol and Exchange Symbol. Read it carefully before using * in your symbol mapping.
    If you wanted to match multiple Signal Symbols for one Symbol Mapping, there you can use * to achieve
    this goal. If * is mentioned in the source symbol then the bridge will only match the starting text of the
    source symbol with the symbol coming in signal. It will be clarified in a more appropriate way by using an
    example.
    For using *, there are three rules.

  1. You can create multiple entries, however the system will first check for most accurate and
    then less accurate .
    Example:
    Symbols mapped in IAB:
    1) N*
    2) NIFTY*
    Incoming signal from trading platform:
    ● NIFTY20OCTFUT
    While both of your symbols mapping will be qualified to process the signal as both of them start
    with ‘N’, the position will be taken in ‘NIFTY” as it is more of an accurate match than the N.
  2. Exact Matching always takes the First Priory .
    Example:
    Symbols mapped in IAB:
    1) ACC*
    2) ACC
    Incoming Signal Symbol from trading platform:
    1) ACC
    Symbol as ACC then IAB will match it to ACC due to exact match despite there is ACC* is
    available. If ACC wasn’t available in the mapping then it would have matched ACC*
    2) ACC20NOVFUT
    If Symbol coming as ACC20NOVFUT then it will be matched to ACC*
    3) ACCELYA
    Even it is a different stock, but it will be matched with the ACC* as its starting characters
    are matching and due to * rest other characters are accepted. That is why, It is required to
    set mappings carefully.
  3. Any created Symbol Mapping Entry will be applied for selected strategy .
    You can have the same type of Source Symbol with different strategies. Of course, by creating
    different mapping for different strategies you can keep other settings like targets, SL, trailing etc as
    per the need of that particular strategy.
    Example:
    1) NIFTY* for STG1 with Target 1% and SL 0.50%
    2) NIFTY* for STG2 with Target 2% and SL 1.50%
    Wildcard characters work amazingly well with a combination of data provider fields. By creating
    just a single mapping entry, you are even able to handle all the symbols for that data provider.
    In the Below Table, Rule 1 can handle all the mappings for Accelpix and can place the desired
    orders.
    For better understanding and explanation, Let’s explain all this using detailed examples:
    Example
    Let’s assume below are the Symbol settings made by the user. For easy understanding we tried to explain
    in detail:

Rule
No
Source Symbol Data Provider Mapping Type Exchange Exchange
Symbol
Strategy Tag
1 * Accelpix Simple Any * STG1
2 NIFTY* Accelpix Simple Any * STG1
3 BANKNIFTY* Accelpix Current Mon Fut NFO BANKNIFTY STG1
4 NIFTY* Accelpix At The Money Opt NFO NIFTY STG2

Entries Explanations
Rule No 1:
➢ Source Symbol provided as * in the above table. It will match all the symbols which do not
have any further exact mapping. It will pass on all the other symbols such as ACC, SBIN,
ACC20NOVFUT etc, excluding symbols containing NIFTY and BANKNIFTY in the
instrument name as those are having further best matching in rules 2-4.
➢ Data Provider selected as Accelpix, which means Signal Symbols are from Accelpix of that
format so bridge can parse the symbol as per selected provider.
➢ Mapping Type is mentioned as Simple because we wish to handle all the symbols using
this rule. In simple mapping, the bridge will place the exact symbol order which is coming in
Signal.
➢ Exchange Symbol set as * which means it will place the order as per Signal Symbol. If we
had mentioned any particular symbol here then bridge will place all the orders into that
script.
Eg Let’s assume all other values remain same and we mentioned PNB in Exchange
Symbol then for any Signal bridge will place the order for PNB

➢ Strategy Tag selected as STG1.
➢ Other symbol mapping settings such as Target, Stop Loss, Trailing etc you can do as per
your requirements.
Rule No 2:
➢ Source Symbol provided as NIFTY* which means it will match all the symbols which are
starting with NIFTY and do not have any further exact mapping. It will match NIFTY_I,
NIFTY, NIFTYNOV20, NIFTY20NOVFUT, NIFTY20NOV11500CE etc.
➢ Data Provider selected as Accelpix, which means Signal Symbols are from Accelpix of that
format so bridge can parse the symbol as per selected provider.
➢ Mapping Type is mentioned as Simple because we wish to place the exact same order as
per the Signal Symbol. In simple mapping, the bridge will place the exact symbol order
which is coming in Signal.
➢ Exchange Symbol set as * which means it will place the order as per Signal Symbol. If we
had mentioned any particular symbol here then bridge will place all the orders into that
script.
Eg Let’s assume all other values remain same and we mentioned PNB in Exchange
Symbol then for any Signal bridge will place the order for PNB
➢ Strategy Tag selected as STG1.
➢ Other symbol mapping settings such as Target, Stop Loss, Trailing etc you can do as per
your requirements.
Rule No 3:
➢ Source Symbol provided as BANKNIFTY* which means it will match all the symbols which
are starting with BANKNIFTY and do not have any further exact mapping. It will match
BANKNIFTY_I, BANKNIFTY, BANKNIFTYNOV20, BANKNIFTY20NOVFUT,
BANKNIFTY20NOV22500CE etc.
➢ Data Provider selected as Accelpix, which means Signal Symbols are from Accelpix of that
format so bridge can parse the symbol as per selected provider.
➢ Mapping Type is mentioned as Current Month Fut because for whatsoever signal symbol,
we wish to trade only bank nifty futures. For Mapping Types other than Simple, Bridge
will place the Order as per Exchange Symbol and selected Mapping Type .
➢ Exchange Symbol set as BANKNIFTY which means it will place the order for BANKNIFTY
despite any Signal Symbol.
Here you can’t mention the , you need to give the proper exchange symbol you wish to trade. ➢ Strategy Tag selected as STG1. ➢ Other symbol mapping settings such as Target, Stop Loss, Trailing etc you can do as per your requirements. Rule No 4: ➢ Source Symbol provided as NIFTY which means it will match all the symbols which are
starting with NIFTY and do not have any further exact mapping. It will match NIFTY_I,
NIFTY, NIFTYNOV20, NIFTY20NOVFUT, NIFTY20NOV11500CE etc.
➢ Data Provider selected as Accelpix, which means Signal Symbols are from Accelpix of that
format so bridge can parse the symbol as per selected provider.
➢ Mapping Type is mentioned as At The Money Opt because we wish to place an order for
at the money option despite any Signal Symbol. For Mapping Types other than Simple,
Bridge will place the Order as per Exchange Symbol and selected Mapping Type .
➢ Exchange Symbol set as NIFTY which means it will place the order for NIFTY despite any
Signal Symbol.
Here you can’t mention the *, you need to give the proper exchange symbol you wish
to trade.
➢ Strategy Tag selected as STG2. It will be applicable only for STG2 signals.
➢ Other symbol mapping settings such as Target, Stop Loss, Trailing etc you can do as per
your requirements.
Now below are the possible steps for different cases of signal processing and how IAB will handle those
internally is explained.

SNO Signal Symbol Signal
Strategy
Processing at IB
1 NIFTY20NOVFUT STG1 IAB will first check for best match symbol mapping, In this
case Rule No 2 in above table matches the condition as best
match.
Now bridge will look at the mapping type and Exchange
Symbol.
As mapping Type is Simple and Exchange Symbol is * which
means the bridge needs to place order as per the Signal
Symbol.
Now the bridge will check for Data Provider and parse the
signal symbol.
After parsing the symbol bridge is aware it is NIFTY NOV
Future.
Now it will place the NIFTY NOV FUT order into the selected
broker.
Other parameters such as Order Type, Quantity etc will be
taken from Signal (if provided with signal), otherwise from
Symbol Mapping setting.
Exit of this order can be done using SL, Target etc or by
sending Exit Signal with the same Symbol in signal.
2 NIFTY20OCT11200CE STG1 Same like above, just in place of Future, now bridge will
place the 11200 CE Monthly options order.
IAB will first check for best match symbol mapping, In this
case Rule No 2 in above table matches the condition as best
match.
Now bridge will look at the mapping type and Exchange
Symbol.
As mapping Type is Simple and Exchange Symbol is * which
means the bridge needs to place order as per the Signal
Symbol.
Now the bridge will check for Data Provider and parse the
signal symbol.
After parsing the symbol bridge is aware it is NIFTY
MONTHLY 11200 CE Options.
Now it will place the Options order into the selected broker.
Other parameters such as Order Type, Quantity etc will be
taken from Signal (if provided with signal), otherwise from
Symbol Mapping setting.
Exit of this order can be done using SL, Target etc or by
sending Exit Signal with the same Symbol in signal.
3 NIFTY_I
or
NIFTY
STG1 Same like S. No. 1, just in place of NOV Future, now
bridge will place the Current Month Future order. Rest
steps will remain same as S. No. 1
4 BANKNIFTY20OCT252
00CE
STG1 IAB will first check for best match symbol mapping, In this
case Rule No 3 (BANKNIFTY*) in above table match the
condition as best match.
Now bridge will look at the mapping type and Exchange
Symbol.
As mapping Type is Current Month Fut and Exchange
Symbol is BANKNIFTY which means bridge needs to place a
Current Month Future order for Symbol BANKNIFTY.
Despite whatever Signal Symbol, Bridge will place the Current
Month Future order for BANKNIFTY as per selected broker.
Other parameters such as Order Type, Quantity etc will be
taken from Signal (if provided with signal), otherwise from
Symbol Mapping setting.
Exit of this order can be done using SL, Target etc or by
sending Exit Signal with the same Symbol in signal.
5 ACC20NOVFUT
Or
ACC_I
STG1 IAB will first check for best match symbol mapping, In this
case Rule No 1 in above table match the condition as best
match because there is no further exact match available, so it
will select the *
Now bridge will look at the mapping type and Exchange
Symbol.
As mapping Type is Simple and Exchange Symbol is * which
means the bridge needs to place order as per the Signal
Symbol.
Now the bridge will check for the Data Provider and parse the
signal symbol.
After parsing the symbol bridge is aware it is ACC NOV
Future.
Now it will place the ACC NOV FUT order into the selected
broker.
Other parameters such as Order Type, Quantity etc will be
taken from Signal (if provided with signal), otherwise from
Symbol Mapping setting.
Exit of this order can be done using SL, Target etc or by
sending Exit Signal with the same Symbol in signal.
6 NIFTY_I
Or
NIFTY20NOV11500CE
Or
NIFTY20NOVFUT
STG2 IAB will first check for best match symbol mapping, In this
case Rule No 4 (NIFTY* for STG2). in the above table match
the condition as best match. It didn’t select for rule 2 as that
belongs to STG1.
Now bridge will look at the mapping type and Exchange
Symbol.
As mapping Type is At The Money Opt and Exchange
Symbol is NIFTY which means bridge needs to place an
options order for Symbol NIFTY.
Bridge now first check for NIFTY Spot Price and then
calculate the At The Money Option Strike.
Despite whatever Signal Symbol, Bridge will place the At the
Money Opt order for NIFTY with other selected settings like
Option Type (CE, PE), Option Expiry (Weekly, Monthly) etc in
the selected broker.
Other parameters such as Order Type, Quantity etc will be
taken from Signal (if provided with signal), otherwise from
Symbol Mapping setting.
Exit of this order can be done using SL, Target etc or by
sending Exit Signal with the same Symbol in signal.

SYMBOL MAPPING CHECKER


Are you still confused about the dynamic mappings or wish to check that which mapping will be actually
used by the bridge so there shouldn’t be any doubt in your mind?
Well, Stoxxo – Intelligent Trading bridge is having a solution for this problem. You may like to use Symbol Mapping
checker in this case where you can enter the expected symbol from the Signal and select the related
strategy and finally enter the LTP (Last Trading Price).
Now bridge will inform you the exact Trading symbol it will use for placing the order and it will also mention
the mapping which was used by the bridge.
Using this you can check for any dynamic mapping and wildcard characters that would be the end result.

Leave a Reply

Your email address will not be published. Required fields are marked *