Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
automatically generate MOC orders for day trades
#1
HI Alex,

would it be posible to include a feature whereby any executed trades can be automatically exited with a MOC order ?
I'm looking at a day trading strategy which generates a bunch of limit orders prior to market open , for those that get filled during a session a MOC order is used to close them out. So currently the MOC generation is manual. ( but I'm asleep !)

part 2 of this request would be to incorporate a time setting where any unfilled orders are cancelled . For example I don't want a limit order to get filled 20 mins before close as it will be exited at close with a MOC
Not sure if your On-Trigger-expire feature takes car of this one ?

Do you think these 2 features are possible ?

thanks
Ivan
Reply
#2
Hi Ivan,

The RSN order type is what you're looking for -- they would only trigger if a position is filled and you can specify to close using MOC.
You can use On-Trigger Expiration to automatically cancel the RSN orders, but that is generally not necessary if your strategy only does what you described:
  - Place limit order
  - Close all positions MOC
Since the RSN orders won't do anything until you have a position.
https://aleratrading.com/forum/showthread.php?tid=132

You can use the Time in Force GTD to cancel those buy limit orders automatically
https://aleratrading.com/forum/showthread.php?tid=2
Reply
#3
thanks Alex ,

I will take a look at what you suggest 

regards
Ivan
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)