Hi,
this one is throwing me completely, what is the syntax to set a order expiration time, most code I have looked at sets expiration=0 which means keep open until you close it.
Normally you might say I want this to be open for x hours so expiration would be expiration=x
But I want to say "time to close = 15.30" , and so my pending order is closed at 15.50 gmt.
How do i initialise this and plug it in, I have tried everything and am starting to wonder if it is actually possible.
Any examples really appreciated.
Thanks in advance,
KevM
this one is throwing me completely, what is the syntax to set a order expiration time, most code I have looked at sets expiration=0 which means keep open until you close it.
Normally you might say I want this to be open for x hours so expiration would be expiration=x
But I want to say "time to close = 15.30" , and so my pending order is closed at 15.50 gmt.
How do i initialise this and plug it in, I have tried everything and am starting to wonder if it is actually possible.
Any examples really appreciated.
Thanks in advance,
KevM