Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Default Quantity

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

    Default Quantity

    Hi,

    When writing the my own strategy, how can I set the Default Quantity to be what I have on the existing ATM?
    Is there a way to do that?


    Thanks..








    #2
    Hello Abdullah_KSA,

    Thanks for the post.

    I wanted to clarify, by ATM do you mean you are using ATM strategies in your NinjaScript strategy or do you mean the ATM selector in the chart?

    If you can provide a few more details about what you are building/what ATM you are wanting to access that would be helpful.


    I look forward to being of further assistance.

    Comment


      #3
      Hello Abdullah_KSA,

      Thanks for the reply.

      The Default quantity cannot be variable but you could instead just use your own variable for the quantity here. I am still not clear on how exactly you want to reference the ATM from within your strategy for this question but you could create logic to delegate order quantity for Strategy based orders.

      In your strategy how were you planning on using the ATM specifically? Are you submitting ATM orders or were you just trying to access the templates in some way to retrieve values from a specific template? If you can provide a more clear picture of the end goal that would help me to form an answer here.

      I look forward to being of further assistance.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      93 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      138 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      123 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      73 views
      0 likes
      Last Post PaulMohn  
      Working...
      X