Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help: How to Capture Entry, StopLoss, and TakeProfit Prices

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

    Help: How to Capture Entry, StopLoss, and TakeProfit Prices

    Hello,

    I need some assistance in understanding how to capture order placement events. Specifically, I would like to retrieve the entry price, StopLoss price, and TakeProfit price.

    Currently, I'm trying to achieve this using an AddOn. I'm utilizing the account.OrderUpdate function to capture order update events. However, I'm encountering an issue where I can only retrieve the StopLoss and TakeProfit parameters after the main order has been filled. Moreover, I cannot find a parameter that links the main order with the StopLoss and TakeProfit orders.

    Is there any method that would allow me to capture the price parameters for the main order, StopLoss, and TakeProfit when the order is placed? Additionally, is there a parameter or a way to programmatically link these three orders together?

    Thank you for your help!

    #2
    Hello xvz88,

    Thank you for your post.

    Use ExecutionUpdate to capture the fill price of your orders.



    You can provide an OCO ID to link orders together when using CreateOrder.



    Please let us know if you have any further questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    556 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X