Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

New Feature Request : AtmOrder of StartAtmStrategy

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

  • NinjaTrader_JessicaP
    replied
    Thanks for your interest JerryWar. The use case I was covering is a little different from yours. The add on I suggested would only help with ATM strategies started and controlled by NinjaScript. If you would instead like to access foreign (to the script) strategies from a script you will need to use the Account object to loop through all orders attached to the account, then filter out any that match your ATM strategy template. I will prepare a reference code sample for this use case. This reference sample will not be adequate for the first use case, as this information would be unavailable to hooks like OnOrderUpdate. However in your case the orders in question are past this.

    Leave a comment:


  • JerryWar
    replied
    Jessica
    Would this include the ability to Grab the order ID's and Created ATMstrategy ID from a manually
    started ATM order on the Dom so it could be managed by a Script communicating thru the addon?
    Currently I can detect a manually created ATM position in an account thru an addon but Communicating with with the addon and changing Orders from another script thru static methods and vars is proving to be difficult.

    Thanks
    Jerry

    Leave a comment:


  • NinjaTrader_JessicaP
    replied
    Hello pmaglio,

    This feature is being reviewed by the product management team and has been assigned the following unique tracking ID


    SFT-2513


    Please let us know if there is any other way we can help.

    Leave a comment:


  • NinjaTrader_JessicaP
    replied
    Since I was unable to find this feature request in our tracking system, I have revised this request and have resubmitted it. The revised request is as follows :
    This user would like a blocking overload for StartAtmStrategy which returns a list of order IDs controlled by the started ATM strategy
    I will follow up when we have more information to report.
    Last edited by NinjaTrader_JessicaP; 07-10-2017, 10:23 AM.

    Leave a comment:


  • pmaglio
    replied
    Any news ?

    Leave a comment:


  • NinjaTrader_JessicaP
    replied
    I am following up on our conversation. It turns out I am mistaken. There is a missing technology that would make this possible without first creating a strategy instance in a chart or strategy tab. Therefore, I have requested the following feature from the product management team :
    This user would like the ability to manage ATM strategies directly from an add-on
    Please let us know if there are any other ways we can help.

    Leave a comment:


  • NinjaTrader_JessicaP
    replied
    I understand your concerns. What you are discussing would best be accomplished through writing a wrapper you can call from an add-on, which will in turn let you call static methods from your add-on object to synchronize a NinjaScript ATM strategy to orders you place through the add-on.
    Last edited by NinjaTrader_JessicaP; 01-31-2017, 09:55 AM.

    Leave a comment:


  • pmaglio
    replied
    yes, this is the way it is working now ; the user must add a strategy that executes that part of the logic, adding complexity degree to the user.
    The main question would be, why not doing everything from a strategy instead from an addon or indicator
    There are several reasons ;
    1) If the user presses close on Chart Trader to close a position all strategies are disabled, so everything calculated inside that strategy is lost. I think there is already a request of new feature to allow re enable a strategy from an addon, so this could be fixed in the future.
    2) It is easy to save all indicators and chart settings with a template, so a setup can be easily shared between users or copied to other charts.
    3) Strategies instead, have their own templates and still not clear if they are stored on the workspace or somewhere else, so not easy to share a setup or copy to another workspace

    By the Way, on Ninja 7 it was possible to load and enable a strategy from an indicator and then execute atm orders through it. It was also possible to detect if that strategy was disabled to enable it again.
    This is the way my main product "Markers Plus" works (https://goo.gl/3oL4QT).
    ...Still looking the way to make it work on Ninja 8
    Last edited by pmaglio; 01-30-2017, 09:54 AM.

    Leave a comment:


  • NinjaTrader_JessicaP
    replied
    Hello pmaglio, and thank you for your question. This is something that is currently possible through NinjaScript, and it would therefore be best if the community developed a strategy that worked this way. The best way to implement a strategy like this, would be to have your add-on pass a message to an active NinjaScript strategy, and let the strategy manage its own ATM logic. Please let us know if there are any other ways we can help.

    Leave a comment:


  • pmaglio
    started a topic New Feature Request : AtmOrder of StartAtmStrategy

    New Feature Request : AtmOrder of StartAtmStrategy

    When we execute an order from an Addon and then assign an ATM to it, we only get the order id (entryOrder );
    entryOrder = accountSelector.SelectedAccount.CreateOrder(....
    but not the atm order id ;
    AtmOrder = NinjaTrader.NinjaScript.AtmStrategy.StartAtmStrate gy(...
    ( or at least it is not documented that StartAtmStrategy has a result )

    Would it be possible to add that option so we can use all the ATM Strategy Methods to monitor that trade ?
    http://ninjatrader.com/support/helpG...gy_methods.htm

    Thank You !

Latest Posts

Collapse

Topics Statistics Last Post
Started by shdjjskhg, Today, 08:55 AM
0 responses
1 view
0 likes
Last Post shdjjskhg  
Started by Roman Hrabovskyi, Today, 07:51 AM
0 responses
7 views
0 likes
Last Post Roman Hrabovskyi  
Started by Scotty33, Today, 05:45 AM
1 response
15 views
0 likes
Last Post s.kinra
by s.kinra
 
Started by aaajv, Today, 06:45 AM
0 responses
4 views
0 likes
Last Post aaajv
by aaajv
 
Started by MarkTee, Today, 02:53 AM
0 responses
6 views
0 likes
Last Post MarkTee
by MarkTee
 
Working...
X