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

what is the functionality of MyAtmStrategyClose for an ATM with quantity more than 1

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

    what is the functionality of MyAtmStrategyClose for an ATM with quantity more than 1

    Hi ,

    If I use AtmStrategyCreate and make 2 orders and then use MyAtmStrategyClose , would it(MyAtmStrategyClose) close all two orders?

    #2
    Hello bosajin,

    Thank you for your post.

    AtmStrategyCreate could be used to create an order for two separate ATM Strategies. Each ATM Strategy order contains a unique atmStrategyId and a unique orderId that can be referenced to get information from or modify an ATM Strategy that is created by using AtmStrategyCreate.

    Please review this help guide link about AtmStrategyCreate for more information - https://ninjatrader.com/support/help...tegycreate.htm

    If you are looking to cancel an entry order, AtmStrategyCancelEntryOrder could be used to cancel an entry order based on the order's unique orderId.

    Also, please see this help guide about how AtmStrategyCancelEntryOrder is used - https://ninjatrader.com/support/help...entryorder.htm

    AtmStrategyClose could be used if you are looking to cancel any working orders AND close any open position of a strategy based on the Strategy's unique atmStrategyId.

    Please see this help guide link for more information about AtmStrategyClose - https://ninjatrader.com/support/help...ategyclose.htm

    Let us know if we may further assist.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mikey_, 03-23-2024, 05:59 PM
    3 responses
    49 views
    0 likes
    Last Post Sam2515
    by Sam2515
     
    Started by f.saeidi, Today, 12:14 PM
    7 responses
    16 views
    0 likes
    Last Post f.saeidi  
    Started by Russ Moreland, Today, 12:54 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by philmg, Today, 12:55 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by TradeForge, 04-19-2024, 02:09 AM
    2 responses
    32 views
    0 likes
    Last Post TradeForge  
    Working...
    X