Question about the behavior of pending orders

Posted By: zzy

Question about the behavior of pending orders - 10/11/20 09:01

Suppose I enter a pending order in the current bar.
Then my questions is, in the next bar, the condition checking for the pending order will be done before the body of the script, or after?
Posted By: danatrader

Re: Question about the behavior of pending orders - 10/11/20 15:27

The behaviour of pending orders could be covered better in the manual.
Zorro is not putting a pending order as we would expect it from manual trading.

I also do have a lot of questions regarding pending orders.
Important would be to know how the tool handles orders in general, specificly in a portfolio loop (sequential and waiting for confirmation, or just fire all orders within the loop, collect the confirmation after, and maybe if no trade open, fire again?)

Basically blocking vs. non-blocking design?
Posted By: jcl

Re: Question about the behavior of pending orders - 10/12/20 11:26

>>in the next bar, the condition checking for the pending order will be done before the body of the script, or after?

Before. Limit checking follows the same behavior as TMFs.
Posted By: zzy

Re: Question about the behavior of pending orders - 10/12/20 13:10

Thanks a lot jcl for the information.
Posted By: zzy

Re: Question about the behavior of pending orders - 10/12/20 13:11

Yes, full of "unknowns", and that is why it is exciting to explore :-)
© 2024 lite-C Forums