If on friday at 21:00 p.m. there is an open position, buy a second position contrary to the first position, and sell It on Monday at 02:00 a.m. keeping the first position.
Sorry but I don’t understand the question? Could you elaborate a bit more? Is it a question or a statement about opening gap on Monday with position opened on Friday?
I need code.
If on friday at 21:00 hour, there is one position +1€ pip (example), buy one position -1€ pip.
And on Monday at 02:00 hour, sell the position -1€, keeping the position +1€.
Sorry I don’t get it, how to buy a position -1€ pip? Do you want to hedge your position (open a contrarian order?)
Yes Nicolás.
If i have a long position on friday 21:00 p.m., i have buy to hedge the long position, a short position.
And quit the hedge position on Monday at 02:00.