• 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 rickyblah12, Yesterday, 08:17 PM
      0 responses
      6 views
      0 likes
      Last Post rickyblah12  
      Started by mrlucky1x, Yesterday, 08:07 PM
      0 responses
      2 views
      0 likes
      Last Post mrlucky1x  
      Started by uday12, Yesterday, 07:21 PM
      0 responses
      4 views
      0 likes
      Last Post uday12
      by uday12
       
      Started by voltlon, Yesterday, 05:18 PM
      0 responses
      8 views
      0 likes
      Last Post voltlon
      by voltlon
       
      Started by Bobisam, Yesterday, 04:57 PM
      0 responses
      9 views
      0 likes
      Last Post Bobisam
      by Bobisam
       
      Working...
      X