☰
Login
Signup
Home
›
General
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.1K
All Categories
0
Incidents
158
Node JS client
43
Go client
801
.Net API client
386
Kite Publisher
538
.Net / VBA / Excel (3rd party)
466
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
May 2017
sujith
Square off
revanth1425
May 2017
in
General
Where can I find the square off logic in documentation
sujith
May 2017
Hi
@revanth1425
,
You need to get the net quantity of your position, if it is negative then it is a short position or else it is a long position.
If you have a long position, then place a sell order with same product type or else place a buy order.
Sign In
or
Register
to comment.
You need to get the net quantity of your position, if it is negative then it is a short position or else it is a long position.
If you have a long position, then place a sell order with same product type or else place a buy order.