Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

When is order on Session Close?

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

    When is order on Session Close?

    Hey guys, I need to figure out how to identify an order that was generated by the "Exit on Close" NT parameter, so that I can separate these orders and analyze them inside OneExecution? How do i seperate them from executions generated by my code in an "ord" iorder?

    protected override void OnExecution(IExecution execution)
    {


    //if(ord != null && ord == execution.Order)
    //{
    if(String.Compare(ord.OrderAction.ToString(), "BuyToCover")==0)

    #2
    Originally posted by elitetradernyc View Post
    Hey guys, I need to figure out how to identify an order that was generated by the "Exit on Close" NT parameter, so that I can separate these orders and analyze them inside OneExecution? How do i seperate them from executions generated by my code in an "ord" iorder?

    protected override void OnExecution(IExecution execution)
    {


    //if(ord != null && ord == execution.Order)
    //{
    if(String.Compare(ord.OrderAction.ToString(), "BuyToCover")==0)
    Check the name of the order. It is, what else(?), "Exit on close"

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    125 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X