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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          89 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          135 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          68 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          119 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          69 views
          0 likes
          Last Post PaulMohn  
          Working...
          X