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 FishTrade, Today, 12:00 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by chingus, Yesterday, 10:36 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by i2w8am9ii2, Yesterday, 06:29 PM
    2 responses
    8 views
    0 likes
    Last Post i2w8am9ii2  
    Started by Kirk Thorns, Yesterday, 05:34 PM
    0 responses
    10 views
    0 likes
    Last Post Kirk Thorns  
    Started by JobDjassem, Yesterday, 05:24 PM
    0 responses
    15 views
    0 likes
    Last Post JobDjassem  
    Working...
    X