@pashriva
I am not sure pashriva, I use only python sdk.
But things should be similar in java also. Check the smartapi code.
mitzi35436228
@mitzi35436228
Best posts made by mitzi35436228
Latest posts made by mitzi35436228
-
RE: unable to login - SSLErrorposted in Python SDK
-
RE: unable to login - SSLErrorposted in Python SDK
@sidsam12
This is not a solution, this is workaround.
Even i thought it would break some of the requests but I am running by disabling certificate validation and so far things are working fine. -
RE: unable to login - SSLErrorposted in Python SDK
@Manoj123
Just do thisself.angel_obj = SmartConnect(api_key=self.config["API_KEY"],disable_ssl=True)Just add this parameter disable_ssl=True while calling SmartConnect class.
This will skip the ssl_certificate validation.
-
RE: Not able to place orderposted in General Discussion
@admin market time also getting over. Pls update the status.
-
RE: Not able to place orderposted in General Discussion
@admin Pls fix asap. Because not able to do anything. How long it may take?
-
RE: Not able to place orderposted in General Discussion
@admin P342922
It was working fine on friday also. Not able to use app or webpage also. Nothing is working.
Fix this ASAP admin. -
Not able to place orderposted in General Discussion
@admin getting NULL response back and no orders are triggering.
-
Can we modify partially filled order?posted in General Discussion
@admin My query is if I had placed an LIMIT sell order for 20 Lots of BNF and after 5secs if only 10 Lots is filled then can I modify order to MARKET now in order to fill the remaining 10 lots?
or do I have to cancel that existing limit order and place new market order? -
RE: Error while connecting to smartAPIposted in Python SDK
@leena-1234 @admin Everyone is facing same issue... session is getting expired in few seconds... And all requests are failing..
-
RE: AB1010: Invalid Session or Session is Expired Please Re-loginposted in General Discussion
2021-09-01 10:01:15 : INFO : [Angel:285] : Fetching order details for 210901000182820 from broker 2021-09-01 10:01:15 : WARNING : [Angel:302] : Failed to get orderbook details for orderid 210901000182820! 0th attempt 2021-09-01 10:01:15 : WARNING : [Angel:307] : orders response data: None 2021-09-01 10:01:15 : ERROR : [Angel:308] : Traceback (most recent call last): File "/home/algo/AlgoTrading_new/Straddle/Angel.py", line 289, in get_order_details for order in orders_data: TypeError: 'NoneType' object is not iterable 2021-09-01 10:01:45 : INFO : [Angel:285] : Fetching order details for 210901000182820 from broker 2021-09-01 10:01:45 : WARNING : [Angel:302] : Failed to get orderbook details for orderid 210901000182820! 1th attempt 2021-09-01 10:01:45 : WARNING : [Angel:307] : orders response data: None 2021-09-01 10:01:45 : ERROR : [Angel:308] : Traceback (most recent call last): File "/home/algo/AlgoTrading_new/Straddle/Angel.py", line 289, in get_order_details for order in orders_data: TypeError: 'NoneType' object is not iterableEvery minute this error is coming!