Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 cmtjoancolmenero, Yesterday, 03:58 PM
          9 responses
          36 views
          0 likes
          Last Post cmtjoancolmenero  
          Started by DayTradingDEMON, Today, 09:28 AM
          4 responses
          24 views
          0 likes
          Last Post DayTradingDEMON  
          Started by geddyisodin, Yesterday, 05:20 AM
          9 responses
          50 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by George21, Today, 10:07 AM
          1 response
          15 views
          0 likes
          Last Post NinjaTrader_ChristopherJ  
          Started by Stanfillirenfro, Today, 07:23 AM
          9 responses
          24 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X