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 NullPointStrategies, Today, 05:17 AM
          0 responses
          44 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          124 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          65 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X