I am using this approach
1)collecting ltp token DateTime,
2)Dump to CSV
3)read from CSV resample all using resample () method
4)Pass the data frame to strategies
All taking place within loop
Can you suggest to me a better technique as this is…
For Eg I place Buy Market Order for 10 Qty at 120 and an SLM order at 118 If I want to square off all position at LTP=122 then,I have to place a Market Sell Order for those 10 Qty Am I right, I cant use cancel method or exit order method to square …
The current way is retrieving order list and performing filtering operations and check for any order status that is 'rejected', is there any other better option from your side @sujith @rakeshr