• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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, 09: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 simjs, Today, 08:11 PM
      0 responses
      3 views
      0 likes
      Last Post simjs
      by simjs
       
      Started by mrlucky1x, Today, 06:01 PM
      0 responses
      3 views
      0 likes
      Last Post mrlucky1x  
      Started by dedouglas, Today, 03:17 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Jugado, Today, 02:22 PM
      2 responses
      30 views
      0 likes
      Last Post Jugado
      by Jugado
       
      Started by login_dejavu, Yesterday, 04:58 AM
      2 responses
      24 views
      0 likes
      Last Post login_dejavu  
      Working...
      X