☰
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
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.