For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Close Orders
-
Hi,
What price do "Close" orders execute at?
EG:
o = self.close(data=d) self.o[d].append(o)
Will this close the position at tomorrows "Close" or the "Open"/"High"/"Low"?
Thanks!
-
By default it will be executed on the next available price, which is next bar open. Same as other orders.
-
Thanks!!
-
Close
orders are meant to be used with intraday data and will execute with the closing price of the session.