Comment on algoZ- a simple example

Novice commented on 03 Oct 2013, 06:51 PM

Dear Sir,

Please give me a simple strategy for the below.

Stock “A” trades at Rs.50
I need to purchase “N” numbers of that stock at 51.1 when it crosses Rs.51( like SL-Limit order, NOT Market price)
Then I have to sell “N” nos of stock “A” at Rs 52.( Like Limit Sell order) IF AND ONLY IF the first order is executed.

It is important that the Sell order should not execute IF the first BUY order is not executed.( For eg:like the price shoots upto 51.5 by not touching Rs.51.1).

Pls provide a code for the above.

View the full comment thread »