@TradeMonk Why SL is at 250 when you buy at 200? As mush as I know, there is no trigger that will let you know if your SL has been hit. You have to keep checking if your SL has been hit or not at every tick. Market can move wildly even in 1 minute so don't wait for 1 minute.
Latest posts made by jiwan1986
-
RE: Immediately buy another order when SL is hitposted in Python SDK
-
RE: getting the next expiry datesposted in General Discussion
@PandaTrade You can use web scraping to fetch those data.
-
RE: Multiple HB failure and order book fetch issueposted in Python SDK
@rajanprabu I didn't see any issues for the last couple of days. Working fine for me.
-
RE: How to map the token number with their symbol name?posted in General Discussion
@nayan_nandi You need to handle exceptions. Key 'tk' won't be in every ticks. You have to add additional if condition after for loop.
if single_company.get('tk'): #do something -
RE: Web socket scripts stop at random timesposted in Python SDK
@admin Try to run whole day. You might get the same issue.
-
RE: How to map the token number with their symbol name?posted in General Discussion
@nayan_nandi I see some patterns in both the responses. For the first response, you can see 'ltt' has the time value but in the second response, 'ltt' is NA. So I believe you can use that key to differentiate between the two. You have to check if this is true for all the responses.
-
RE: Web socket scripts stop at random timesposted in Python SDK
@rajanprabu I was getting the data even when heartbeat failed. So I think there is issue with the heartbeat logic.
-
RE: Web socket scripts stop at random timesposted in Python SDK
@rajanprabu I got it one time today.
-
RE: Unpredictable Invalid Token response from historical APIposted in Python SDK
@pranav Currently the response is in a string format. They are working on to return JSON data. So it would be easy to parse.