Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Good-til-date (GTD) order facility

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Good-til-date (GTD) order facility

    I would like to use IBs Good-til-date (GTD) order facility so I can set my limit orders to expire say a minute before the end of the bar.
    Any chance we could have a new signature for SubmitOrderUnmanaged to allow the programmer to set the GTD?
    something like

    SubmitOrderUnmanaged(int selectedBarsInProgress, OrderAction orderAction, OrderType orderType, int quantity, double limitPrice, double stopPrice, string oco, string signalName, DateTime gtd)

    I suppose that some brokers might not provide a gtd facility, but if user tried to use this signature with such a broker it could just be mapped to the default GTC.
    I assume the gtd would need to be in the exchange time zone, rather than local time, but since SubmitOrderUnmanaged is
    Reserved for experienced programmers
    that should not be a problem.

    #2
    Hello DaveE,

    We appreciate your suggestions and feedback.

    I've forwarded your request to our development department. Once I have a tracking ID for this request I will post this in this thread for future reference.

    In the meantime, if necessary you can use the Account.CreateOrder() and Account.Submit() to submit an order with a GTD date. That said, these orders would not affect the strategy position.
    http://ninjatrader.com/support/helpG...reateorder.htm
    http://ninjatrader.com/support/helpG...-us/submit.htm
    Last edited by NinjaTrader_ChelseaB; 09-27-2016, 08:30 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello DaveE,

      I've received a tracking ID for your request to allow SubmitOrderUnmanaged() with GTD as the TIF.
      The request is being tracked with ID #SFT-1648.

      Thanks again for your suggestion. Let me know if you have any other requests or suggestions for the NinjaTrader platform.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by WaveAtElliot, Today, 05:11 PM
      1 response
      7 views
      1 like
      Last Post hdge4u
      by hdge4u
       
      Started by bosajin, Yesterday, 09:15 AM
      5 responses
      36 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by Dolfan, Today, 12:24 PM
      4 responses
      23 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by WeyldFalcon, Today, 11:09 AM
      7 responses
      26 views
      0 likes
      Last Post WeyldFalcon  
      Started by DTSSTS, 08-10-2020, 09:48 AM
      12 responses
      67 views
      0 likes
      Last Post DTSSTS
      by DTSSTS
       
      Working...
      X