From 0ad987bd370690845ca20191031de3d05f935418 Mon Sep 17 00:00:00 2001 From: prateekjjw001 Date: Thu, 19 Nov 2020 22:38:33 +0000 Subject: [PATCH] disclosed quantity has to be 0 when placing SL order --- py5paisa/order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py5paisa/order.py b/py5paisa/order.py index 375d11d2..b0ef5fa2 100644 --- a/py5paisa/order.py +++ b/py5paisa/order.py @@ -71,7 +71,7 @@ def __init__(self, order_type: OrderType, scrip_code: int, quantity: int, order_ self.atmarket = atmarket self.remote_order_id = remote_order_id self.exch_order_id = exch_order_id - self.disqty = quantity + self.disqty = 0 self.stoploss_price = stoploss_price self.is_stoploss_order = is_stoploss_order self.ioc_order = ioc_order