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 CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      58 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      34 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      197 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      362 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      282 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X