fyers-apiv3 3.1.9__py3-none-any.whl → 3.1.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fyers_apiv3/fyersModel.py +9 -6
- {fyers_apiv3-3.1.9.dist-info → fyers_apiv3-3.1.10.dist-info}/METADATA +4 -4
- {fyers_apiv3-3.1.9.dist-info → fyers_apiv3-3.1.10.dist-info}/RECORD +6 -6
- {fyers_apiv3-3.1.9.dist-info → fyers_apiv3-3.1.10.dist-info}/WHEEL +0 -0
- {fyers_apiv3-3.1.9.dist-info → fyers_apiv3-3.1.10.dist-info}/licenses/LICENSE.txt +0 -0
- {fyers_apiv3-3.1.9.dist-info → fyers_apiv3-3.1.10.dist-info}/top_level.txt +0 -0
fyers_apiv3/fyersModel.py
CHANGED
|
@@ -1621,13 +1621,14 @@ class FyersModel:
|
|
|
1621
1621
|
response = self.service.patch_call(Config.modify_smartorder, self.header, data)
|
|
1622
1622
|
return response
|
|
1623
1623
|
|
|
1624
|
-
def
|
|
1624
|
+
def cancel_smart_order(self, data) -> dict:
|
|
1625
1625
|
"""
|
|
1626
1626
|
Cancels a smart order based on the provided data.
|
|
1627
1627
|
|
|
1628
1628
|
Args:
|
|
1629
1629
|
data (dict): A dictionary containing the smart order cancellation details.
|
|
1630
|
-
|
|
1630
|
+
Required:
|
|
1631
|
+
- flowId (str): Unique identifier of the smart order flow to cancel
|
|
1631
1632
|
|
|
1632
1633
|
Returns:
|
|
1633
1634
|
The response JSON as a dictionary.
|
|
@@ -1638,13 +1639,14 @@ class FyersModel:
|
|
|
1638
1639
|
response = self.service.delete_call(Config.cancel_smartorder, self.header, data)
|
|
1639
1640
|
return response
|
|
1640
1641
|
|
|
1641
|
-
def
|
|
1642
|
+
def pause_smart_order(self, data) -> dict:
|
|
1642
1643
|
"""
|
|
1643
1644
|
Pauses a smart order based on the provided data.
|
|
1644
1645
|
|
|
1645
1646
|
Args:
|
|
1646
1647
|
data (dict): A dictionary containing the smart order pause details.
|
|
1647
|
-
|
|
1648
|
+
Required:
|
|
1649
|
+
- flowId (str): Unique identifier of the smart order flow to pause
|
|
1648
1650
|
|
|
1649
1651
|
Returns:
|
|
1650
1652
|
The response JSON as a dictionary.
|
|
@@ -1655,13 +1657,14 @@ class FyersModel:
|
|
|
1655
1657
|
response = self.service.patch_call(Config.pause_smartorder, self.header, data)
|
|
1656
1658
|
return response
|
|
1657
1659
|
|
|
1658
|
-
def
|
|
1660
|
+
def resume_smart_order(self, data) -> dict:
|
|
1659
1661
|
"""
|
|
1660
1662
|
Resumes a paused smart order based on the provided data.
|
|
1661
1663
|
|
|
1662
1664
|
Args:
|
|
1663
1665
|
data (dict): A dictionary containing the smart order resume details.
|
|
1664
|
-
|
|
1666
|
+
Required:
|
|
1667
|
+
- flowId (str): Unique identifier of the smart order flow to resume
|
|
1665
1668
|
|
|
1666
1669
|
Returns:
|
|
1667
1670
|
The response JSON as a dictionary.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fyers_apiv3
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.10
|
|
4
4
|
Summary: Fyers trading APIs.
|
|
5
5
|
Home-page: https://github.com/FyersDev/fyers-api-sample-code/tree/sample_v3/v3/python
|
|
6
6
|
Author: Fyers-Tech
|
|
@@ -484,15 +484,15 @@ print(fyers.modify_smart_order(data))
|
|
|
484
484
|
|
|
485
485
|
## Cancel Smart Order
|
|
486
486
|
data = {"flowId": "123456789"}
|
|
487
|
-
print(fyers.
|
|
487
|
+
print(fyers.cancel_smart_order(data))
|
|
488
488
|
|
|
489
489
|
## Pause Smart Order
|
|
490
490
|
data = {"flowId": "123456789"}
|
|
491
|
-
print(fyers.
|
|
491
|
+
print(fyers.pause_smart_order(data))
|
|
492
492
|
|
|
493
493
|
## Resume Smart Order
|
|
494
494
|
data = {"flowId": "123456789"}
|
|
495
|
-
print(fyers.
|
|
495
|
+
print(fyers.resume_smart_order(data))
|
|
496
496
|
|
|
497
497
|
## Get Smart Order Book with Filter
|
|
498
498
|
# Get all smart orders
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
fyers_apiv3/__init__.py,sha256=1vA_F8dAtLKcyOqrmdUOkw1Syl8gIFUtxDoLde8y94E,18
|
|
2
|
-
fyers_apiv3/fyersModel.py,sha256=
|
|
2
|
+
fyers_apiv3/fyersModel.py,sha256=J3vUemgI0iW1euM_RrvViPyXHhWUjtseG_Yelnu6vkA,78644
|
|
3
3
|
fyers_apiv3/fyers_logger.py,sha256=S_WiIwBLytQ_tyHd9bUC8gZo7GHpANCJO0CS6rCJE90,3795
|
|
4
4
|
fyers_apiv3/FyersWebsocket/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
fyers_apiv3/FyersWebsocket/data_ws.py,sha256=fSNfsUB_I5-MkWX4hQZvklRQhuQ9n3w5hMDRFrMaBE8,68105
|
|
@@ -8,8 +8,8 @@ fyers_apiv3/FyersWebsocket/map.json,sha256=GfAgk-zqzUki5Cu0ZlG08PiMhfKTyGIsPo62m
|
|
|
8
8
|
fyers_apiv3/FyersWebsocket/msg_pb2.py,sha256=Po6emBFB6aCmt3rkuN6zjDA7JEzsixejfNSOQYtYgnE,6272
|
|
9
9
|
fyers_apiv3/FyersWebsocket/order_ws.py,sha256=B0ioHcFinlu40zIYWiU6nLpiEmID3317R_9gdmiPh5M,17451
|
|
10
10
|
fyers_apiv3/FyersWebsocket/tbt_ws.py,sha256=rlg0taA9KCS8YbyKZ8UxqRw5rUcqRETz0sbM9KBUcF0,21191
|
|
11
|
-
fyers_apiv3-3.1.
|
|
12
|
-
fyers_apiv3-3.1.
|
|
13
|
-
fyers_apiv3-3.1.
|
|
14
|
-
fyers_apiv3-3.1.
|
|
15
|
-
fyers_apiv3-3.1.
|
|
11
|
+
fyers_apiv3-3.1.10.dist-info/licenses/LICENSE.txt,sha256=_a5I4lWvSmoZQxwGSPGVVvUbuYby780N9YevsBqNY3k,1063
|
|
12
|
+
fyers_apiv3-3.1.10.dist-info/METADATA,sha256=w6ztkQODYjWu-Lc7i375LTJRtS2HtsqPMYho9R1e3S4,25209
|
|
13
|
+
fyers_apiv3-3.1.10.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
14
|
+
fyers_apiv3-3.1.10.dist-info/top_level.txt,sha256=IaT774gXqIM6uJpgCQPvXruJBOINsupO9oTe2ao6pkc,12
|
|
15
|
+
fyers_apiv3-3.1.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|