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 NullPointStrategies, Today, 05:17 AM
      0 responses
      30 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      124 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      64 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X