Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unmanaged GetCurrentAsk() use

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

    Unmanaged GetCurrentAsk() use

    For an unmanaged strategy, if using GetCurrentAsk() as the entry limit price are there issues with that price changing / partial fills / etc? In general is using GetCurrentAsk() or Bid() problematic for limit order entry levels as they update very quickly? Regards to all

    #2
    Hello elliot5,

    This would depend on the brokerage. Most brokerages are fine with limit orders on the wrong side of the market. Some forex brokerages are not ok with that and will reject the order.

    In a fast moving market, placing an order at ask or bid could quickly become the wrong side of the market.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Ok - but by using GetCurrentAsk() as the limit price - will NT look to change the limit order to the evolving GetCurrentAsk() or Bid() level after initial submission? In other words is the initial GetCurrentAsk() value a static value in terms of the order placement/management under submitunmanaged? Regards

      Comment


        #4
        Hello elliot5,

        GetCurrentAsk() returns a double with the current snapshot of the ask.

        This will be the updated snapshot each time the method is called.

        Order methods would use this price as the limit price at the time the order method is called. The limit price is only updated when the order method is called.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          thank you Chelsea - much appreciated.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          476 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          317 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          254 views
          1 like
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          340 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          306 views
          0 likes
          Last Post CarlTrading  
          Working...
          X