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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          47 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          23 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          33 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          50 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          42 views
          0 likes
          Last Post CarlTrading  
          Working...
          X