🚀 Delta Exchange Live & Testnet Automated Trading with TP & SL
इस वीडियो में हम देखेंगे कि Delta Exchange Live और Testnet को automated trading के लिए कैसे use किया जा सकता है और trade के साथ Take Profit (TP) और Stop Loss (SL) कैसे set किए जा सकते हैं।
इस वीडियो में आप सीखेंगे:
✅ Delta Exchange Live Trading Setup ✅ Delta Exchange Testnet Setup ✅ API Connection & Configuration ✅ Automated Trade Execution ✅ Take Profit (TP) Setup ✅ Stop Loss (SL) Setup ✅ Live और Testnet में Trading का Difference ✅ Automated Trading Workflow ✅ Trade के साथ TP & SL का इस्तेमाल
⚠️ Disclaimer: यह वीडियो केवल Educational और Informational Purpose के लिए है। यह Investment Advice, Buy/Sell Signal या Profit Guarantee नहीं है। Crypto trading में significant risk शामिल है। Trading करने से पहले अपने risk को समझें और उचित research करें।
This guide explains how to implement algorithmic trading on Delta Exchange using Next Level Algo and TradingView. It covers the end-to-end process of API configuration, IP whitelisting, and the use of webhooks to automate \"Fully Algo\" and \"Limit\" orders, focusing on reducing fees and optimizing position management.
Hello everyone, I'm Manoj with you.
In this video, we will learn how to do algorithmic trading on Delta, how to make a payment connection,
And we will also see how to execute orders on the Delta Testnet.
You can also work on delta real in the same way.
Now, I will take over the testnet account.
If you want to work on the testnet, you can also work on the testnet.
Also, what is the role of each syntax, how to execute commands, and how to cancel.
I will show you everything.
This video will be extremely useful for you if you engage in algorithmic trading.
For algorithmic trading, we will use TradingView.
I'll show you that too.
And I will reset it in front of you once.
Because there are some alerts for tomorrow.
So that I can teach you everything from the beginning.
So, the video is going to be very long.
If you have time, watch this video whenever you want.
This video will be very useful for you.
First of all, what you need to do is go to Delta and create your API.
I am on the Delta testnet.
You will create an API from here.
And when you create an API, it will request a whitelist IP from you.
First of all, you must provide a whitelist IP.
If you do not provide a whitelist IP, your order will not be placed.
So, what do you need to do for that?
You have to visit our website, which is nextlevelalgo.com.
After coming here, you must go home.
After returning home, you must go to the footer.
After going to the footer, you will find a resource.
You have to click on it.
As soon as you click on it, you will receive a whitelist IP in the second tab.
This is your API.
You have to copy it and put it on your delta.
And what will delta give you?
It will provide you with the API key and the secret key.
After that, what you need to do is go to the dashboard.
After arriving at the dashboard, you need to go to API management.
After going to API management, you need to click on Add API.
And here you must select Delta All.
Now you will receive the API name in front of you.
You can put anything in the API name.
You must enter what you receive from the API broker.
After that, you must enter the API secret obtained from the broker.
Then comes the version.
So if you are using Delta India Real, then you have to select it.
If you're using a testnet like I am, then you need to select it.
If you have a global account, which is very rare for people, then you must use Delta Global.
If you have a global testnet account, then you must use it.
They have four endpoints.
That's why we've added four.
But mostly people will only have the first second.
So you have to use the first second.
After that, add it.
After adding, I will tell you what you need to do.
Your API will display something like this.
If you look at my cursor, it will appear like this.
Your API will be disabled.
First of all, turn it on.
As soon as you turn it on, it will appear here.
View account summary.
You have to click on it.
As soon as you click on it, if your fund is displayed.
Like my fund is showing.
This is the delta demo account for the testnet.
And some amount is displayed here.
That's why, if this fund is visible, it means our API is connected.
If for some reason the fund is not displayed, then understand that your API is not connected.
You have included any detail incorrectly.
You have entered the wrong IP.
That's why this error is occurring.
Then you can contact us.
Then we will try to resolve it.
So this is the basics.
Now we come to the dashboard.
That's everything I told you.
Now we will place an order and see.
We'll place an order and see.
And if you have multiple APIs, how will they know?
Whether the order is placed or not.
I am going to tell you a lot of things.
So first of all, look at the delta.
You know there is no chart on TradingView.
So for now, we will open such a chart.
The chart for BTC has been opened.
And I think today is an independent day.
That's why there's no volume in the market.
Can you see the candle?
It is becoming small in a minute.
So there is no movement.
So it's possible that the video will be a bit longer today.
Because I have to trigger.
First of all, we will take two lines.
I take two lines.
I do one green color.
What can you do in your situation?
I'm telling you that.
In your case, you can place an indicator.
You can implement a strategy.
You work at the same level.
You can put a label.
You work on the trendline.
You can add a trendline.
I'm taking the horizontal line.
Because I need torenominate the order.
If I take any indicator or strategy.
Then they will give the signal after a long time.
Because of that, the video will become longer.
So once you apply your strategy, indicator, or label.
Turn off the PC.
Even after that, your orders will still be carried out.
If you have added multiple Delta accounts.
So whenever your order is placed, it will be sent to all the accounts.
So for now, we took a green line.
We took a red line.
Now we will create alerts for this.
Before making alerts, let me show you.
You have to come again on the next level algo.
Click on the syntax.
Go to Delta All.
Here are the syntax.
All kinds of syntax are created.
What is this for?
I am going to show you practically.
Regarding some syntax.
Then you will understand.
So the most used in the future.
It is used in fully algorithmic trading.
In the option, there is an auto strike price.
For this, we will start with the algorithm entirely.
In fully algo, we selected fully algo.
Selected buy.
Put the symbol name.
In the symbol name, we enter BTC, USDT.
And put 10 in the lot.
In TPSL, we put in 200 dollars now.
As soon as we generate it, we will copy it.
Let me tell you one thing.
This is the page of the syntax generator.
If you generate it and put it in a notepad file,
Then you can copy it directly.
You can save it anywhere.
If you have knowledge of JSON,
Then you can make it yourself.
You can understand.
So it merely serves the purpose of generating.
In this format.
In JSON format.
If you are familiar with the JSON format,
Then you don't even need to come to this page.
You just need to remember the parameter.
So what happens in fully algo?
In fully algo, the previous position is closed.
If you have held any previous position in this symbol,
It will close it.
And add a new position.
If you don't have a position,
Then it will be false and add a new position.
So for now, let's copy it.
Let's go back to TradingView again.
Let's create alerts.
To create alerts, right-click on the horizontal line.
In the condition, I am assuming that whenever the candle
When this line is touched, my alerts will trigger.
So this is my default condition.
Go here.
Here is the syntax we created.
Now you must remember one thing.
In my case, I have added a webhook.
You need to add your webhook once.
After that, no matter how many times you issue alerts,
Your webhook will be automatically added.
In my case, I have already added it.
That's why I didn't have to set up a webhook.
If you have to put it, then you will arrive at the dashboard.
Here you can see two webhooks.
Webhook URL and Charting Webhook URL
So you have to copy this one first.
And put it in the webhook.
So if you see, I don't have any order here.
You can see here.
Also, let me show you one more thing.
That you will see a page on our website.
Position
You will see it here.
And you will go to Delta.
There is no order here either.
This page is made so that what happens is
when you are using one account
and you are testing, etc.
So you can log in to your broker and see
Whether the order has been canceled or not.
But you are using more than one account.
You have more than one Delta account.
Your friend's account or
someone else's account
So how will you confirm whether the order has been sent or not?
if you are testing whether the connection is established or not.
That's why this page was created.
If you have multiple APIs,
Then you will see all the multi-API orders.
If it is single, then singleness will also be seen.
So now let's get an order triggered.
As I said, the candle is not forming.
If you see in a minute's chat,
Then there will be a minor issue.
Now let's move on to the log.
Whenever the log alert is made,
The log will be made here.
So we will wait for the log.
If the log is being made late,
Then I'll keep trimming the video a bit more.
so that it doesn't take much time.
So, a log was made.
Let's go here first.
So if we go here,
Then we placed a TPSL of $200.
That's why it is visible in the stop order.
In the remainder of the position,
Our position has been reduced from 1 lot,
Sorry, from 10 lots.
You can also see the value of TPSL here.
From the current price,
They have set.cod
Now, as I told you about this page,
What is on this page is that
whenever you reload,
when you see the position,
then you will have to come,
You will have to go to Delta.
Here you can see the position.
This is the position.
And when I took the position,
at that time
What profit and loss was occurring,
That was seen.
So when this multi-API helps you,
in a single API
It makes no sense for you to see it.
Still, if you want to use it,
Then you can see.
So we have placed an order,
It is done.
If you see this order,
Then it's green here.
Green means that
This is the position of the long side,
which we had added in the syntax,
It was on the long side.
What do we do now?
Let's assume
that your TPSL did not trigger.
Since we have set a TPSL of $200,
It doesn't hit.
And your signal comes.
So what will it do?
It will close this order
and will open a new one.
What will open a new one for you?
TPSL will open,
the stop order you are seeing,
will open the sales side.
So this is how it works.
Fully ALGO's job is
to close the previous
And add a new position.
So we go
and place a sales order.
In your case,
You reload it,
Do it again.
I go through it a bit.
That's why I sell it
and generate it.
My syntax is complete.
You can do it like I do if you want.
but you can do it
As you wish.
I copied it.
I came here.
Now that we have raised an alert,
We made this.
Now let's make another one.
Add alert,
We kept the condition there.
went into the syntax
and we name it
Test sale
and create it.
As I said,
I don't have to put it on.
From the beginning.
So I made this alert.
If you see,
Two alerts were issued in the alert.
One from Testbuy
and one from Testsale.
The name of the alert
that came in the lock
is also visible
That Testbuy came.
Now let's click on Testsale.
The lock will be made here.
As soon as the lock is made,
We will go there.
So wait,
The candle is made below.
As I said,
This candle is for 1 minute.
So we put this line
Here.
You will use
your indicator,
You will use the strategy.
In my case,
I'm using this.
So now
It is going to take
a little while
because the movement
It is very little.
So we forget
a little
and whatever video
is not triggered
in the video
if there is no movement,
Then I trim it.
As you will see,
Two alerts came to me.
because it was triggered twice.
It took a lot of time.
to move
because of which
Two alerts came.
If you see,
my previous position
Closed here.
So what did I show you?
I showed you
how to make
orders in
Fully Algorithm
Now I close the manual.
When you close the manual,
your position will
Also go from here.
I forgot to tell you
that there are many people
Who will close the manual?
So it will be visible here.
No
if you are using
multi-API in your account
and your user
has cut
that position,
if you reload it,
then the position
will not be seen here either.
So I showed you
the order in
Fully Algorithm
Now let's talk about Delta.
On Delta,
Many people say
their fees
are a bit high.
If we place a limit order,
that's why
They charge
lower fees in
So if you don't know,
then you can
Research it.
Now I will tell you
the concept of
TakerMaker
Suppose,
We have seen
Fully algorithm so far.
If you want to
Place a limit order,
Let me show you.
What a limit order is.
Like we took
a regular,
took a limit in
selected buy
and put
BTC/USD
in quantity
We allocated 10 slots.
in quantity
Now this is LTP.
LTP means
that when alerts
come from the
current price,
How much
from that time
price
The buy side will take
Down it.
the sales side will
Take it up.
So we said that
we have to take
500 dollars
down
You can put
according to yours
own
So now I went
to TradingView
and you will see
How much time?
it takes to
So I
modify the
First Alert
which was
our fully algorithm
and save it.
If you see
that there is
No position here,
Now what do we do?
is trying to
Figure it out.
So as you can
see on the
side
there are
three logs
made
So let's wait.
and the same
the concept will
happen
Now we have
to wait again
because the
a candle does
not form
then it is
Very difficult.
If the
Alerts come,
then I will
Show you,
otherwise
We trim that.
part
You can see
and we
Go here.
So you will
See that.
they put
our trade
under 500
If you look at
the current
price
then something
is happening
with you and
they put
500 dollars
below
The price
keeps going
up and
so you will
Get a match
in reality
but once
you will not
Get a match
Here.
then it
means
2–4
dollars
whatever
fluctuation
is happening
so they
Put it
down
so people
who wants to
put the
limit order
can put
in this
way
Now what
They have to
do in their
the value
that I put
500
which I put
500
They can
0
So what
will happen
Yes.
limit order
will be placed,
but if it
the current
price
then there
will be
greater chance
to execute
and
I went
to edit
alerts and
I have updated.
the syntax in
it and
I put it.
0ltp,
which means
that the
current
price is
100
It will
100
let's
Wait,
alerts
will come
as soon
as alerts
Come,
I told
you
as soon
as alerts
Come,
It will
be locked
Here.
so
Let's
Wait,
It was
made and
We went
Here.
so you
See,
They took
the position
why them
Took it.
because
they put
0 in
then the
market was
rotating there,
It was
carried out
so
now
we can
Cut it.
If you want,
you can also
close
let me
Explain a little
Here to you,
This is a
regular order
In this you
market limit
stop limit
Stop market
many people
want to put
stop limit
and stop
market
order
They can
Put it.
but
if you
take it like
this
then
that's
why
you
have to
but
your heart
I can do it.
then
exit
comes
What happens
inside the
exit
You have to
cut any
position
your logic
Is that it?
you are
buying here,
you are
Cutting here,
so when
you can
make the
exit
like this
video
Thank you.
for watching
this video,
See you
in the next
video