Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stock Signals
#11
I have a question: are Limit on Close (LOC) orders automatically converted to Limit (LMT) orders with a GTD expiry? That's what is appearing to happen in the code, screenshot below for reference.


[Image: LOC-order.png]

I would like the order for SEM to only execute on the close at a price of 27.15 or better. Is there a way to ensure that only a LOC order is sent to IB and not an intraday limit order? 

This is only so that I can match my trading performance with backtested data. I am assuming I am doing something wrong with my settings, thanks.

Deb
Reply
#12
(08-05-2022, 02:48 PM)ds_13 Wrote: I have a question: are Limit on Close (LOC) orders automatically converted to Limit (LMT) orders with a GTD expiry? That's what is appearing to happen in the code, screenshot below for reference.


[Image: LOC-order.png]

I would like the order for SEM to only execute on the close at a price of 27.15 or better. Is there a way to ensure that only a LOC order is sent to IB and not an intraday limit order? 

This is only so that I can match my trading performance with backtested data. I am assuming I am doing something wrong with my settings, thanks.

Deb

Is it possible your strategy settings have an override for the limit order type? 
By default, if you place LOC orders, then it should place an LOC order, unless you have an override.

If you're still unable to resolve this, send a screenshot of your strategy settings to contact@aleratrading.com
Reply
#13
(08-07-2022, 09:29 AM)admin Wrote:
(08-05-2022, 02:48 PM)ds_13 Wrote: I have a question: are Limit on Close (LOC) orders automatically converted to Limit (LMT) orders with a GTD expiry? That's what is appearing to happen in the code, screenshot below for reference.


[Image: LOC-order.png]

I would like the order for SEM to only execute on the close at a price of 27.15 or better. Is there a way to ensure that only a LOC order is sent to IB and not an intraday limit order? 

This is only so that I can match my trading performance with backtested data. I am assuming I am doing something wrong with my settings, thanks.

Deb

Is it possible your strategy settings have an override for the limit order type? 
By default, if you place LOC orders, then it should place an LOC order, unless you have an override.

If you're still unable to resolve this, send a screenshot of your strategy settings to contact@aleratrading.com

Ah, I didn't realize the override would also have an impact on LOC orders - seems obvious now but wasn't before. I'm sure that was the issue, thanks for helping me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)