Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"OnExecutionUpdate()" "OnPositionUpdate()" functionality for indicator domain ?

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

    "OnExecutionUpdate()" "OnPositionUpdate()" functionality for indicator domain ?

    Hello NT8:

    I would like to create an indicator that writes to a text file the details of any order entry I invoke manually on a chart(using ATM strategies). Is there equivalent functionality of "OnExecutionUpdate()" "OnPositionUpdate()" that I can use from within an indicator ?

    (Its a little murky if I try to do the same thing with a strategy. For example, I notice when I manually close all positions, the strategy is disabled. Also the above functions do not seem to be called within the strategy if I manually invoke a position within the chart using chart trader. Hope this is not too confusing what I am trying to clarify)essay writer
    Last edited by WestonMicah; 10-08-2020, 04:34 AM.

    #2
    Hello WestonMicah,

    Thank you for your post.

    You would need to use the Add-On Account methods:



    You can then subscribe to Account level OnPositionUpdate() and OnExecutionUpdate() methods which will be able to see those ATM strategy orders you're manually placing and write those to your file as necessary.

    You're correct that the Strategy level OnExecutionUpdate() and OnPositionUpdate() are not triggered within a strategy if you're using ATMs in the strategy - this is because ATM orders are not managed by the strategy but instead by the invoked ATM template.

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    79 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    66 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X