Fyers V3 API Tradingview कैसे Connection बनाये | Algo Trade

NextLevelBot
75 followers
4 Video Views·Jun 9, 2024
Firs has launched its version 3 API
and if you want to place orders
from Trading View through automation in your Firs account,
then in this video
I will tell you in detail
how to connect Firs' API with Trading View.
So first of all let me show you,
I have added an indicator named Demo
and how this indicator is working as a
demo purpose through which I
will show you that the way it works is
that if any candle is high If the previous
low breaks the high then it will
give a green dot and green dot means
buy. Similarly if
any candle breaks the low of the previous candle then it will give red
which means sell as a demo purpose. So
that I can show it to you,
I have placed this indicator and I have
also created two alerts here. I
will turn it on for you now. Before that, I will show you my fire
account. Here 10 orders have been
rejected. These rejections have happened because
Because today is Sunday and
orders are not placed on Sunday and the chart I
am using is also Bank Nifty
because no market is active
otherwise I had to take some chart which would
trigger the alert and fire. After placing the order and
showing it to you, for now I will turn
on both these alerts.
Restart. As soon as I restart,
alerts will start getting locked here, whatever
my condition matches, like see this, the condition of the short is matched, the
short came and If you
see, earlier there were 10, they became 11. If
I had the funds now, if the market was active,
then it would have closed the previous position.
If it was a buy, then it would have put a new short position
and similarly, when the buy signal came, it would have closed the
previous position. I would close the position and
enter a new position. This is how it works
because I have created two positions and they will
work on my conditions, so
whatever is the condition of your indicator, you
can do things according to it. For now, I would turn them
off. And let me show you
what you have to do for this, so first I do
stop
all. Before doing stop all, another short signal
came, due to which these would have become 12. If you see, then there have been
12 for making API connection. For this
you will need a bridge, for this
you have to come to the next level port and click
on the dashboard.
After clicking on the dashboard, you have to click on the API credentials
which will
appear on your left side. After that you have to
click on Add API. I will click on Add API and
show it to you, as you
click on Add API, here you have to find Fires
and here you have to click on Add API,
after that you have to enter any name here as Edge,
you put the test. Or put whatever you
want, then you have to select version three
because version one and version two have been
discontinued, after that you have to
enter the user ID of Fires, whatever the user
ID is and after that you have to save it.
After this, you have to click on the back button,
click on All APIs and your API will be shown.
In my case, I have many
APIs of brokers, so I click on Fires.
You will see your API in this
manner, it will be off by default.
First of all you have to turn it on, like you
turn it on, after turning it on, the connect
button will be shown, you have to connect, I will
connect and show it like I
will connect on this, then the process of connecting is
going on and it will be connected.
Now you have to keep one thing in mind
that you have to do this daily only after that your
orders will be placed, otherwise your orders will
not be placed. Okay, so what do I do,
you can also do this for this that
you can use your API. You can enter auto login details inside
so that automatic connection is made.
This automatic connection is made between 5 pm to 8 pm,
then you will
not need to do daily connection. After doing this,
what you have to do is to come to Trading View and
create your alerts. And after adding the sentex,
I will show you the sentex
as soon as you see my long alert.
Inside this, I had selected my indicators,
which is the name of my indicator. There
were two alerts in it, long and short, I had
selected long in one of the alerts.
Once I had taken a bar, here
I had put long for the tag, here I had
put sentex, where will it come from, now I will
tell you one more thing, you have to
go to the notification and put your way book,
I will tell you where you will get the webk. For this,
you have to go to the dashboard,
after going to the dashboard, you will
get the sequence webk here, you have to copy it
and you have to put it here
in one of the alerts. If you put it, then
after that it will automatically show you in all the alerts. This will
start happening, there will be no need to enter it again and again.
Now let
me tell you what you have to do for Centex on Centex.
You will come here and here you will
see Tools and Help. Here, Centex
Generator, you have to click on it. Apart from this,
you also have to click on the broker symbol,
I have both the pages open, so if
you open the Centex page, it will
open in this manner, I will show you in
this manner, first of all you have to select fire here,
I have fire
After selecting, there are many order types here
in which you can place orders like auto strike price,
TPSL etc.
but the common order is
fully algo, so we took fully algo,
after that we took regular, then
in trading symbol we As it is, we will copy this,
where will you get it now, if
you want any other, then I will tell you right now,
we will put one in quantity and
inside this we will change the symbol because
we have placed many orders earlier also and
then If it becomes same inside then I do IOC, I have to
type in capital only
and buy, do market,
if you want to take TPSL then you have to
select it, but I am showing you now,
select interday, generate it
now. This is the code of fully algo, it
means that close the old position,
if I have a new position,
put it inside this symbol, like this, you will make two sentences,
one for buy, one for sell, I have
made one for buy, after generating again you will sell. When
this sale is made then
both your sentences are made, you have to copy them
and put them inside both your alerts
which I have already put. Now
what will happen after putting that your orders will be
as I showed you earlier. That the orders will be
activated, your orders will start going to your broker
and still you face any problem
then egramswaraj.gov.in
