@sujith, yes i understood, can the function be modified to return 2 vaLues? Orderid and status?
Basically i want orderid and valid status i.e open or complete
I dont want to worry about rejected order id
@sujith wow, that is scary
What do you advice, for 5minute candle, what time exactly request to be made to get complete 5 mins?
And the entire 5min candle data, lets say has time stamps of 11:25 . then the data of candle is of 11:21-11:25 or 11:2…
@sujith , thanks for starter, but bit confused with your last line.
What I was saying is. e.g
day starts 5min candle at 09:15, 09:20, 09:25 ....etc
When I request 5min candle at 09:26 min, i was expecting to get 09:25 candle, but until 09:27 I cont…
@vvijay Hi, can see same code of process position object?
When I try to access dictionary , I am getting this
print pos("net").get("day_buy_price")
TypeError: 'dict' object is not callable
@sujith any sample code how to form candles reading live data in python?
I also noticed that 5min historical candles are available after 2-3 minutes they are formed