• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programmatically creating a new ATM strategy template.

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

    Programmatically creating a new ATM strategy template.

    Hi,
    How can I programmatically create a new ATM strategy template in order to subsequently submit an order with AtmStrategyCreate() using the recently created template.
    Thank You!

    #2
    Hello jmneto,

    Thanks for your post.

    NinjaScript does not offer any methods to programmatically create ATM strategy templates. To accomplish your goal, you can view the contents of existing ATM strategy templates and you can write code that can create these files. We have an example on using a StreamWriter which I will link below. ATM strategy templates are located in the Documents/NinjaTrader 8/templates/AtmStrategy/ folder.

    SampleStreamWriter - https://ninjatrader.com/support/help...o_write_to.htm

    Please let us know if you have any questions.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Ilpropio, Yesterday, 09:45 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by sgordet, Yesterday, 10:31 PM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by Revan, Yesterday, 05:44 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by superg3, Yesterday, 07:57 PM
    0 responses
    4 views
    0 likes
    Last Post superg3
    by superg3
     
    Started by Longhornmark, Yesterday, 07:06 AM
    5 responses
    36 views
    0 likes
    Last Post nkhoi
    by nkhoi
     
    Working...
    X