Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 877 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Question about the behavior of pending orders #481632
10/11/20 09:01
10/11/20 09:01
Joined: Sep 2020
Posts: 22
Z
zzy Offline OP
Newbie
zzy  Offline OP
Newbie
Z

Joined: Sep 2020
Posts: 22
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?

Re: Question about the behavior of pending orders [Re: zzy] #481640
10/11/20 15:27
10/11/20 15:27
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

Joined: Mar 2019
Posts: 357
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?

Last edited by danatrader; 10/11/20 15:31.
Re: Question about the behavior of pending orders [Re: zzy] #481646
10/12/20 11:26
10/12/20 11:26
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
>>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.

Re: Question about the behavior of pending orders [Re: jcl] #481647
10/12/20 13:10
10/12/20 13:10
Joined: Sep 2020
Posts: 22
Z
zzy Offline OP
Newbie
zzy  Offline OP
Newbie
Z

Joined: Sep 2020
Posts: 22
Thanks a lot jcl for the information.

Re: Question about the behavior of pending orders [Re: danatrader] #481648
10/12/20 13:11
10/12/20 13:11
Joined: Sep 2020
Posts: 22
Z
zzy Offline OP
Newbie
zzy  Offline OP
Newbie
Z

Joined: Sep 2020
Posts: 22
Yes, full of "unknowns", and that is why it is exciting to explore :-)


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1